dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
cdc_ncm_bind_18781
cdc_ncm_bind
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 19, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 %0, i64 2, i64 0) %6 = call i64 @FUNC(i64 %4, i64 0, i64 0) %7 = and i64 %5, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
read_file_13787
read_file
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call %_IO_FILE* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq %_IO_FILE* %1, null store i64 0, i64* %sv_0.0.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = call i32 @fseek(%_IO_FILE* nonnull %1, i32 0, i32 2) %4 = call i32 @ftell(%_IO_FILE* nonnull %1) %5 = call i32 @fseek(%_IO_FILE* nonnull %1, i32 0, i32 0) %6 = add i32 %4, 1 %7 = call i64* @malloc(i32 %6) %8 = ptrtoint i64* %7 to i64 %9 = icmp eq i64* %7, null br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = call i32 @fread(i64* nonnull %7, i32 %4, i32 1, %_IO_FILE* nonnull %1) %11 = icmp eq i32 %10, 1 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %arg1) br label LBL_4 LBL_4: %13 = sext i32 %4 to i64 %14 = add i64 %8, %13 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 br label LBL_6 LBL_5: %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %arg1) br label LBL_6 LBL_6: %17 = call i32 @fclose(%_IO_FILE* nonnull %1) store i64 %8, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder %_IO_FILE* %1, { 1, 0, 4, 3, 2, 5 } uselistorder i64 (i64, i8*, i64)* @log_message, { 1, 0 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
bdrv_invalidate_cache_2659
bdrv_invalidate_cache
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_11, label LBL_1 LBL_1: %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_11, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %arg1, 16 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %storemerge3.reg2mem store i32 %3, i32* %.reg2mem store i64 %arg1, i64* %rdi.0.lcssa.reg2mem br i1 %9, label LBL_3, label LBL_7 LBL_3: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %10 = inttoptr i64 %storemerge3.reload to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64* nonnull %sv_0) %13 = load i64, i64* %sv_0, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %6, i64 %13) store i64 %15, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %16 = add i64 %storemerge3.reload, 8 %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 %18, i64* %storemerge3.reg2mem br i1 %20, label LBL_3, label LBL_6 LBL_6: %.pre = load i32, i32* %2, align 4 store i32 %.pre, i32* %.reg2mem store i64 %11, i64* %rdi.0.lcssa.reg2mem br label LBL_7 LBL_7: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %.reload = load i32, i32* %.reg2mem %21 = and i32 %.reload, -2 store i32 %21, i32* %2, align 4 %22 = icmp eq i64 %rdi.0.lcssa.reload, 0 %23 = load i64, i64* %sv_0, align 8 %24 = icmp eq i64 %23, 0 %or.cond = or i1 %22, %24 br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %25 = or i32 %.reload, 1 store i32 %25, i32* %2, align 4 %26 = load i64, i64* %sv_0, align 8 %27 = call i64 @FUNC(i64 %6, i64 %26) store i64 %27, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %28 = add i64 %arg1, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %arg1, i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false store i64 %32, i64* %rax.0.reg2mem br i1 %35, label LBL_11, label LBL_10 LBL_10: %36 = load i32, i32* %2, align 4 %37 = or i32 %36, 1 store i32 %37, i32* %2, align 4 %38 = sub i64 0, %32 %39 = and i64 %38, 4294967295 %40 = call i64 @FUNC(i64 %6, i64 %39, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) store i64 %40, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %32, { 1, 0, 2 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i32* %2, { 3, 2, 1, 4, 0, 5 } uselistorder i64* %sv_0, { 2, 0, 3, 1, 4 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 %arg1, { 2, 1, 0, 3, 4, 5 } uselistorder label LBL_11, { 2, 3, 5, 4, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
dvb_free_device_13209
dvb_free_device
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %arg1) ret i64 %4 uselistorder i64 (i64)* @kfree, { 1, 0 } }
1
BinRealVul
name_parse_11154
name_parse
define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.019.reg2mem = alloca i32 %sv_0.020.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %sv_2.0.ph.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %sv_3.0.ph.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %sext5 = mul i64 %arg5, 4294967296 %5 = ashr exact i64 %sext5, 32 %6 = add i64 %5, %2 %7 = trunc i64 %arg2 to i32 store i32 -1, i32* %sv_3.0.ph.reg2mem store i32 %4, i32* %sv_1.0.ph.reg2mem store i32 0, i32* %sv_2.0.ph.reg2mem store i64 %2, i64* %sv_0.0.ph.reg2mem br label LBL_1 LBL_1: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem %8 = icmp slt i32 %sv_1.0.ph.reload, %7 store i64 %sv_0.0.ph.reload, i64* %sv_0.020.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.019.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_14 LBL_2: %sv_1.019.reload = load i32, i32* %sv_1.019.reg2mem %sv_0.020.reload = load i64, i64* %sv_0.020.reg2mem %9 = add i32 %sv_1.019.reload, 1 %10 = sext i32 %sv_1.019.reload to i64 %11 = add i64 %10, %3 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = icmp eq i8 %13, 0 br i1 %14, label LBL_12, label LBL_3 LBL_3: %15 = sext i8 %13 to i32 %16 = and i32 %15, 192 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = sext i32 %9 to i64 %19 = add i64 %18, %3 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i32 %23 = mul i32 %15, 256 %24 = and i32 %23, 16128 %25 = or i32 %24, %22 %26 = icmp slt i32 %25, %7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_5, label LBL_14 LBL_5: %27 = icmp slt i32 %sv_3.0.ph.reload, 0 %28 = icmp eq i1 %27, false %29 = add i32 %sv_1.019.reload, 2 %spec.select = select i1 %28, i32 %sv_3.0.ph.reload, i32 %29 %30 = add i32 %sv_2.0.ph.reload, 1 %31 = icmp sgt i32 %30, %7 store i32 %spec.select, i32* %sv_3.0.ph.reg2mem store i32 %25, i32* %sv_1.0.ph.reg2mem store i32 %30, i32* %sv_2.0.ph.reg2mem store i64 %sv_0.020.reload, i64* %sv_0.0.ph.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_14, label LBL_1 LBL_6: %32 = icmp ult i8 %13, 64 store i64 4294967295, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_14 LBL_7: %33 = icmp eq i64 %sv_0.020.reload, %2 store i64 %2, i64* %sv_0.1.reg2mem br i1 %33, label LBL_10, label LBL_8 LBL_8: %34 = add i64 %sv_0.020.reload, 1 %35 = icmp ugt i64 %6, %34 store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_9, label LBL_14 LBL_9: %36 = inttoptr i64 %sv_0.020.reload to i8* store i8 46, i8* %36, align 1 store i64 %34, i64* %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %37 = urem i32 %15, 256 %38 = zext i32 %37 to i64 %39 = add i64 %sv_0.1.reload, %38 %40 = icmp ugt i64 %6, %39 store i64 4294967295, i64* %rax.0.reg2mem br i1 %40, label LBL_11, label LBL_14 LBL_11: %41 = sext i32 %9 to i64 %42 = add i64 %41, %3 %43 = inttoptr i64 %sv_0.1.reload to i64* %44 = inttoptr i64 %42 to i64* %45 = call i64* @memcpy(i64* %43, i64* %44, i32 %37) %46 = add i32 %37, %9 %47 = icmp slt i32 %46, %7 store i64 %39, i64* %sv_0.020.reg2mem store i32 %46, i32* %sv_1.019.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %47, label LBL_2, label LBL_14 LBL_12: %48 = icmp ult i64 %sv_0.020.reload, %6 store i64 4294967295, i64* %rax.0.reg2mem br i1 %48, label LBL_13, label LBL_14 LBL_13: %49 = inttoptr i64 %sv_0.020.reload to i8* store i8 0, i8* %49, align 1 %50 = icmp slt i32 %sv_3.0.ph.reload, 0 %51 = icmp eq i1 %50, false %sv_3.0. = select i1 %51, i32 %sv_3.0.ph.reload, i32 %9 store i32 %sv_3.0., i32* %arg3, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %37, { 2, 1, 0 } uselistorder i32 %15, { 1, 0, 2 } uselistorder i32 %9, { 0, 2, 3, 1 } uselistorder i64 %sv_0.020.reload, { 3, 4, 2, 1, 0, 5 } uselistorder i32 %sv_1.019.reload, { 2, 0, 1 } uselistorder i32 %sv_3.0.ph.reload, { 2, 3, 0, 1 } uselistorder i32 %7, { 3, 0, 1, 2 } uselistorder i64 %6, { 2, 1, 0 } uselistorder i64 %2, { 0, 3, 1, 2 } uselistorder i32* %sv_3.0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.020.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.019.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 4, 7, 6, 5, 2, 3, 1 } uselistorder i32 256, { 1, 0 } uselistorder i64 4294967295, { 7, 3, 6, 5, 4, 1, 2, 0 } uselistorder label LBL_14, { 8, 7, 3, 6, 5, 4, 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
qemu_rdma_drain_cq_1795
qemu_rdma_drain_cq
define i64 @FUNC(i64* %arg1, i32* %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 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br label LBL_4 LBL_2: %11 = call i64 @FUNC(i64 %3, i64 1, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 @fwrite(i64* bitcast ([41 x i8]* @gv_1 to i64*), i32 1, i32 40, %_IO_FILE* %15) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_6 LBL_4: br i1 %10, label LBL_2, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %3) 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 %3, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 4294967291, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
reposvul_c_test
MqttClient_GetProtocolVersionString_167
MqttClient_GetProtocolVersionString
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 4 %4 = icmp eq i1 %3, false %storemerge = select i1 %4, i64 0, i64 ptrtoint ([7 x i8]* @gv_0 to i64) ret i64 %storemerge }
0
BinRealVul
sd_set_cb_2775
sd_set_cb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 %arg2, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 %arg3, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %5) %8 = and i64 %7, 4294967295 store i64 %8, i64* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %9 = call i64 @FUNC(i64 %arg2, i64 %storemerge1.reload) %10 = load i64, i64* %4, align 8 %11 = icmp eq i64 %10, 0 store i64 0, i64* %storemerge.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %10) %13 = and i64 %12, 4294967295 store i64 %13, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %14 = call i64 @FUNC(i64 %arg3, i64 %storemerge.reload) ret i64 %14 uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
bitmap_test_and_clear_atomic_1469
bitmap_test_and_clear_atomic
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.2.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i64 %rax.1.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3.013.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_2.14.reg2mem = alloca i64 %sv_1.15.reg2mem = alloca i64 %sv_0.26.reg2mem = alloca i64 %sv_2.010.reg2mem = alloca i64 %sv_1.011.reg2mem = alloca i64 %sv_3.012.reg2mem = alloca i64 %sv_0.014.reg2mem = alloca i64 %0 = icmp sgt i64 %arg2, -1 %1 = icmp slt i64 %arg3, 0 %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %3 = ptrtoint i64* %arg1 to i64 %4 = udiv i64 %arg2, 64 %5 = mul i64 %4, 8 %6 = add i64 %5, %3 %7 = trunc i64 %arg2 to i32 %8 = urem i32 %7, 64 %9 = sub nsw i32 64, %8 %10 = sub i64 0, %arg2 %11 = urem i64 %10, 64 %12 = lshr i64 -1, %11 %13 = zext i32 %9 to i64 %14 = sub i64 %arg3, %13 %15 = icmp slt i64 %14, 1 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = sub i64 0, %12 %17 = sub i64 %16, 1 %18 = call i64 @FUNC(i64 %6, i64 %17) %19 = and i64 %18, %12 %20 = add i64 %6, 8 store i64 %19, i64* %sv_0.014.reg2mem store i64 -1, i64* %sv_3.012.reg2mem store i64 %20, i64* %sv_1.011.reg2mem store i64 %14, i64* %sv_2.010.reg2mem br label LBL_5 LBL_4: %21 = icmp eq i32 %8, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %sv_0.014.reg2mem store i64 %12, i64* %sv_3.012.reg2mem store i64 %6, i64* %sv_1.011.reg2mem store i64 %arg3, i64* %sv_2.010.reg2mem store i64 %12, i64* %sv_3.013.reg2mem store i64 %arg3, i64* %sv_2.2.reg2mem store i64 %6, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.3.reg2mem store i64 %14, i64* %rax.1.reg2mem br i1 %22, label LBL_10, label LBL_5 LBL_5: %sv_2.010.reload = load i64, i64* %sv_2.010.reg2mem %sv_1.011.reload = load i64, i64* %sv_1.011.reg2mem %sv_3.012.reload = load i64, i64* %sv_3.012.reg2mem %sv_0.014.reload = load i64, i64* %sv_0.014.reg2mem %23 = icmp ult i64 %sv_2.010.reload, 64 store i64 %sv_0.014.reload, i64* %sv_0.26.reg2mem store i64 %sv_1.011.reload, i64* %sv_1.15.reg2mem store i64 %sv_2.010.reload, i64* %sv_2.14.reg2mem store i64 %sv_3.012.reload, i64* %sv_3.013.reg2mem store i64 %sv_2.010.reload, i64* %sv_2.2.reg2mem store i64 %sv_1.011.reload, i64* %sv_1.2.reg2mem store i64 %sv_0.014.reload, i64* %sv_0.3.reg2mem store i64 %sv_2.010.reload, i64* %rax.1.reg2mem br i1 %23, label LBL_10, label LBL_6 LBL_6: %sv_2.14.reload = load i64, i64* %sv_2.14.reg2mem %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem %sv_0.26.reload = load i64, i64* %sv_0.26.reg2mem %24 = inttoptr i64 %sv_1.15.reload to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 store i64 %sv_0.26.reload, i64* %sv_0.1.reg2mem br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %sv_1.15.reload, i64 0) %28 = or i64 %27, %sv_0.26.reload store i64 %28, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %29 = add i64 %sv_2.14.reload, -64 %30 = add i64 %sv_1.15.reload, 8 %31 = icmp ult i64 %29, 64 store i64 %sv_0.1.reload, i64* %sv_0.26.reg2mem store i64 %30, i64* %sv_1.15.reg2mem store i64 %29, i64* %sv_2.14.reg2mem br i1 %31, label LBL_9, label LBL_6 LBL_9: %32 = urem i64 %sv_2.010.reload, 64 store i64 %sv_3.012.reload, i64* %sv_3.013.reg2mem store i64 %32, i64* %sv_2.2.reg2mem store i64 %30, i64* %sv_1.2.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.3.reg2mem store i64 %32, i64* %rax.1.reg2mem br label LBL_10 LBL_10: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %33 = icmp eq i64 %sv_2.2.reload, 0 br i1 %33, label LBL_12, label LBL_11 LBL_11: %34 = add i64 %arg3, %arg2 %35 = trunc i64 %34 to i32 %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_3.013.reload = load i64, i64* %sv_3.013.reg2mem %36 = urem i32 %35, 64 %37 = icmp eq i32 %36, 0 %38 = zext i32 %36 to i64 %39 = shl i64 -1, %38 %storemerge2 = select i1 %37, i64 -1, i64 %39 %40 = and i64 %sv_3.013.reload, %storemerge2 %41 = sub i64 0, %40 %42 = sub i64 %41, 1 %43 = call i64 @FUNC(i64 %sv_1.2.reload, i64 %42) %44 = and i64 %43, %40 %45 = or i64 %44, %sv_0.3.reload store i64 %45, i64* %sv_0.4.reg2mem store i64 %44, i64* %rax.2.reg2mem br label LBL_14 LBL_12: %rax.1.reload = load i64, i64* %rax.1.reg2mem %46 = icmp eq i64 %sv_0.3.reload, 0 %47 = icmp eq i1 %46, false store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem store i64 %rax.1.reload, i64* %rax.2.reg2mem br i1 %47, label LBL_14, label LBL_13 LBL_13: %48 = call i64 @FUNC() store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem store i64 %48, i64* %rax.2.reg2mem br label LBL_14 LBL_14: %rax.2.reload = load i64, i64* %rax.2.reg2mem %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem %49 = icmp eq i64 %sv_0.4.reload, 0 %50 = icmp eq i1 %49, false %51 = zext i1 %50 to i64 %52 = and i64 %rax.2.reload, -256 %53 = or i64 %52, %51 ret i64 %53 uselistorder i64 %40, { 1, 0 } uselistorder i64 %sv_0.26.reload, { 1, 0 } uselistorder i64 %sv_1.15.reload, { 0, 2, 1 } uselistorder i64 %sv_3.012.reload, { 1, 0 } uselistorder i64 %sv_2.010.reload, { 4, 0, 1, 2, 3 } uselistorder i64 %12, { 0, 1, 3, 2 } uselistorder i32 %8, { 1, 0 } uselistorder i64* %sv_0.26.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.15.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.14.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.013.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.4.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.2.reg2mem, { 0, 2, 3, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i64)* @atomic_fetch_and, { 1, 0 } uselistorder i32 64, { 0, 2, 1 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 64, { 0, 4, 3, 2, 1 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64 -1, { 2, 3, 0, 4, 1 } uselistorder i64 %arg3, { 2, 0, 1, 4, 3 } uselistorder i64 %arg2, { 1, 3, 4, 0, 2 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gen_storeq_reg_16789
gen_storeq_reg
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = and i64 %arg4, 4294967295 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %3) %6 = and i64 %arg2, 4294967295 %7 = call i64 @FUNC(i64 %0, i64 %6, i32 %2) %8 = call i64 @FUNC() %9 = trunc i64 %8 to i32 %10 = call i64 @FUNC(i64 %3, i64 %3, i64 32) %11 = and i64 %8, 4294967295 %12 = call i64 @FUNC(i64 %11, i64 %3) %13 = and i64 %arg3, 4294967295 %14 = call i64 @FUNC(i64 %0, i64 %13, i32 %9) ret i64 %14 uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i32)* @store_reg, { 1, 0 } uselistorder i64 (i64, i64)* @tcg_gen_trunc_i64_i32, { 1, 0 } uselistorder i64 ()* @new_tmp, { 1, 0 } }
1
BinRealVul
assign_intx_135
assign_intx
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.shrunk.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i8 %.reg2mem = alloca i32 %sv_0.0.in.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %rdi = alloca i64, align 8 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = load i32, i32* %1 %sv_1 = alloca i32, align 4 %7 = add i64 %5, 20 %8 = call i64 @FUNC(i64 %7, i64 0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %7, i64 0) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_28 LBL_2: %13 = call i64 @FUNC() %14 = trunc i64 %13 to i8 %15 = icmp eq i8 %14, 1 store i64 4294967201, i64* %rax.0.shrunk.reg2mem br i1 %15, label LBL_3, label LBL_28 LBL_3: %16 = load i64, i64* @gv_0, align 8 %17 = call i64 @FUNC(i64 %7, i64 %16) %18 = add i64 %5, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %7, i64 %21) %23 = trunc i64 %22 to i32 store i32 %23, i32* %sv_1, align 4 %24 = icmp eq i32 %23, 1 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i32 104, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0)) br label LBL_5 LBL_5: %26 = add i64 %5, 24 %27 = bitcast i32* %sv_1 to i64* %28 = call i64 @FUNC(i64 %26, i64* nonnull %27) %29 = trunc i64 %28 to i8 %30 = icmp eq i8 %29, 1 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %30, label LBL_6, label LBL_28 LBL_6: %31 = add i64 %5, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 4 br i1 %34, label LBL_12, label LBL_7 LBL_7: %35 = icmp sgt i32 %33, 4 br i1 %35, label LBL_15, label LBL_8 LBL_8: %36 = icmp sgt i32 %33, 2 br i1 %36, label LBL_11, label LBL_9 LBL_9: %37 = icmp eq i32 %33, 0 %38 = icmp slt i32 %33, 0 %39 = icmp eq i1 %38, false %40 = icmp eq i1 %37, false %41 = icmp eq i1 %39, %40 br i1 %41, label LBL_10, label LBL_15 LBL_10: %42 = icmp eq i32 %33, 2 %43 = zext i1 %42 to i8 %44 = load i64, i64* @gv_4, align 8 %45 = and i64 %4, 4294967295 %46 = call i64 @FUNC(i64 %44, i64 %45, i8 %43) store i64 %46, i64* %sv_0.0.in.reg2mem br label LBL_13 LBL_11: %47 = load i64, i64* @gv_4, align 8 %48 = and i64 %4, 4294967295 %49 = call i64 @FUNC(i64 %47, i64 %48) store i64 %49, i64* %sv_0.0.in.reg2mem br label LBL_13 LBL_12: %50 = load i64, i64* @gv_4, align 8 %51 = and i64 %4, 4294967295 %52 = call i64 @FUNC(i64 %50, i64 %51) store i64 %52, i64* %sv_0.0.in.reg2mem br label LBL_13 LBL_13: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %53 = icmp eq i32 %sv_0.0, 0 br i1 %53, label LBL_15, label LBL_14 LBL_14: call void @perror(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_5, i64 0, i64 0)) br label LBL_15 LBL_15: store i32 0, i32* %32, align 4 %54 = load i32, i32* %sv_1, align 4 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_16, label LBL_17 LBL_16: %57 = add i64 %5, 12 %58 = inttoptr i64 %57 to i32* %59 = add i64 %5, 16 %60 = inttoptr i64 %59 to i32* %61 = zext i32 %6 to i64 %62 = bitcast i64* %rdi to i32* %.pre = load i32, i32* %58, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_18 LBL_17: %63 = sext i32 %54 to i64 %64 = inttoptr i64 %26 to i64* store i64 %63, i64* %64, align 8 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_28 LBL_18: %.reload = load i32, i32* %.reg2mem %65 = urem i32 %.reload, 2 %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_20, label LBL_19 LBL_19: %67 = load i32, i32* %60, align 4 %68 = urem i32 %67, 2 %69 = icmp eq i32 %68, 0 store i8 1, i8* %storemerge2.reg2mem store i32 2, i32* %storemerge.reg2mem br i1 %69, label LBL_20, label LBL_21 LBL_20: store i8 0, i8* %storemerge2.reg2mem store i32 1, i32* %storemerge.reg2mem br label LBL_21 LBL_21: %storemerge2.reload = load i8, i8* %storemerge2.reg2mem %70 = load i32, i32* %62, align 8 %71 = load i64, i64* @gv_4, align 8 %72 = call i64 @FUNC(i64 %71, i32 %70, i8 %storemerge2.reload, i32 %6) %73 = trunc i64 %72 to i32 %74 = icmp slt i32 %73, 0 %75 = icmp eq i1 %74, false br i1 %75, label LBL_27, label LBL_22 LBL_22: %76 = icmp eq i32 %73, -5 %77 = icmp eq i1 %76, false br i1 %77, label LBL_26, label LBL_23 LBL_23: %78 = load i32, i32* %58, align 4 %79 = urem i32 %78, 2 %80 = icmp eq i32 %79, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_26, label LBL_24 LBL_24: %82 = load i32, i32* %60, align 4 %83 = urem i32 %82, 2 %84 = icmp eq i32 %83, 0 br i1 %84, label LBL_26, label LBL_25 LBL_25: %85 = zext i8 %storemerge2.reload to i64 %86 = zext i32 %70 to i64 %87 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_6, i64 0, i64 0), i64 %86, i64 %85, i64 %61, i64 %3, i64 %2) %88 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_7, i64 0, i64 0), i64 %86, i64 %85, i64 %61, i64 %3, i64 %2) %89 = load i32, i32* %58, align 4 %90 = or i32 %89, 1 store i32 %90, i32* %58, align 4 store i32 %90, i32* %.reg2mem br label LBL_18 LBL_26: %91 = sub i32 0, %73 %92 = call i8* @strerror(i32 %91) %93 = ptrtoint i8* %92 to i64 %94 = inttoptr i64 %7 to i32* %95 = load i32, i32* %94, align 4 %96 = zext i32 %95 to i64 %97 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i64 %96, i64 %93, i64 %61, i64 %3, i64 %2) %98 = call i64 @FUNC(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_9, i64 0, i64 0), i64 %96, i64 %93, i64 %61, i64 %3, i64 %2) store i64 %72, i64* %rax.0.shrunk.reg2mem br label LBL_28 LBL_27: %storemerge.reload = load i32, i32* %storemerge.reg2mem %99 = load i32, i32* %sv_1, align 4 %100 = sext i32 %99 to i64 %101 = inttoptr i64 %26 to i64* store i64 %100, i64* %101, align 8 store i32 %storemerge.reload, i32* %32, align 4 store i64 %72, i64* %rax.0.shrunk.reg2mem br label LBL_28 LBL_28: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %96, { 1, 0 } uselistorder i64 %93, { 1, 0 } uselistorder i64 %86, { 1, 0 } uselistorder i64 %85, { 1, 0 } uselistorder i64 %72, { 1, 0, 2 } uselistorder i32 %70, { 1, 0 } uselistorder i8 %storemerge2.reload, { 1, 0 } uselistorder i64 %61, { 1, 0, 3, 2 } uselistorder i32* %58, { 2, 1, 3, 0 } uselistorder i32 %33, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %26, { 1, 0, 2 } uselistorder i64 %7, { 1, 3, 2, 0, 4 } uselistorder i32* %sv_1, { 2, 1, 3, 0 } uselistorder i64 %5, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %3, { 2, 3, 0, 1 } uselistorder i64 %2, { 2, 3, 0, 1 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i8* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 5, 4, 1, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 } uselistorder i32 2, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i32 4, { 1, 0 } uselistorder i64 (i64, i64)* @pci_device_set_intx_routing_notifier, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7 } uselistorder i64 0, { 8, 9, 10, 11, 12, 13, 14, 15, 2, 16, 17, 0, 18, 19, 20, 21, 22, 23, 1, 24, 25, 3, 4, 5, 6, 7, 26, 27, 28, 29 } uselistorder label LBL_28, { 2, 3, 4, 0, 1, 5 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_15, { 2, 3, 1, 0 } }
1
BinRealVul
aes_ccm_ctrl_7885
aes_ccm_ctrl
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i16 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %sext3 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext3, 32 %3 = and i64 %1, 4294967295 store i64 %3, i64* @0, align 8 %trunc = trunc i64 %1 to i32 store i64 %2, i64* %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_24 [ i32 0, label LBL_1 i32 1, label LBL_2 i32 3, label LBL_6 i32 4, label LBL_8 i32 5, label LBL_9 i32 6, label LBL_11 i32 7, label LBL_17 i32 8, label LBL_21 ] LBL_1: %4 = bitcast i64* %arg1 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* store i32 8, i32* %8, align 4 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* store i32 12, i32* %10, align 4 %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %0, 20 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i32* store i32 -1, i32* %16, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_2: %17 = trunc i64 %2 to i32 %18 = icmp eq i32 %17, 2 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_24 LBL_3: %19 = call i64 @FUNC(i64 %0) %20 = inttoptr i64 %19 to i64* %21 = inttoptr i64 %arg4 to i64* %22 = call i64* @memcpy(i64* %20, i64* %21, i32 2) %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i32* store i32 2, i32* %24, align 4 %25 = call i64 @FUNC(i64 %0) %26 = add nsw i64 %2, -2 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = zext i8 %29 to i16 %31 = mul i16 %30, 256 %32 = call i64 @FUNC(i64 %0) %33 = add nsw i64 %2, -1 %34 = add i64 %32, %33 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = zext i8 %36 to i16 %38 = or i16 %31, %37 %39 = add i16 %38, -12 %40 = call i64 @FUNC(i64 %0) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false %.pre = add i64 %0, 12 %.pre14 = inttoptr i64 %.pre to i32* store i16 %39, i16* %sv_1.0.reg2mem br i1 %43, label LBL_5, label LBL_4 LBL_4: %44 = load i32, i32* %.pre14, align 4 %45 = trunc i32 %44 to i16 %46 = sub i16 %39, %45 store i16 %46, i16* %sv_1.0.reg2mem br label LBL_5 LBL_5: %sv_1.0.reload = load i16, i16* %sv_1.0.reg2mem %47 = udiv i16 %sv_1.0.reload, 256 %48 = call i64 @FUNC(i64 %0) %49 = add i64 %48, %26 %50 = trunc i16 %47 to i8 %51 = inttoptr i64 %49 to i8* store i8 %50, i8* %51, align 1 %52 = call i64 @FUNC(i64 %0) %53 = add i64 %52, %33 %54 = trunc i16 %sv_1.0.reload to i8 %55 = inttoptr i64 %53 to i8* store i8 %54, i8* %55, align 1 %56 = load i32, i32* %.pre14, align 4 %57 = zext i32 %56 to i64 store i64 %57, i64* %rax.0.reg2mem br label LBL_24 LBL_6: %58 = trunc i64 %2 to i32 %59 = icmp eq i32 %58, 13 store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_7, label LBL_24 LBL_7: %60 = call i64 @FUNC(i64 %0) %61 = inttoptr i64 %60 to i64* %62 = inttoptr i64 %arg4 to i64* %63 = call i64* @memcpy(i64* %61, i64* %62, i32 13) store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_8: %sext5 = sub i64 64424509440, %sext3 %64 = ashr exact i64 %sext5, 32 store i64 %64, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %65 = trunc i64 %sv_0.0.reload to i32 %.off13 = add i32 %65, -2 %66 = icmp ult i32 %.off13, 7 store i64 0, i64* %rax.0.reg2mem br i1 %66, label LBL_10, label LBL_24 LBL_10: %67 = add i64 %0, 8 %68 = inttoptr i64 %67 to i32* store i32 %65, i32* %68, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_11: %69 = urem i64 %arg3, 2 %70 = icmp eq i64 %69, 0 %71 = icmp eq i1 %70, false store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_24, label LBL_12 LBL_12: %72 = trunc i64 %2 to i32 %.off = add i32 %72, -4 %73 = icmp ult i32 %.off, 13 store i64 0, i64* %rax.0.reg2mem br i1 %73, label LBL_13, label LBL_24 LBL_13: %74 = call i64 @FUNC(i64 %0) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 %77 = icmp eq i64 %arg4, 0 %or.cond = or i1 %77, %76 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_14, label LBL_24 LBL_14: br i1 %77, label LBL_16, label LBL_15 LBL_15: %78 = add i64 %0, 16 %79 = inttoptr i64 %78 to i32* store i32 1, i32* %79, align 4 %80 = call i64 @FUNC(i64 %0) %81 = inttoptr i64 %80 to i64* %82 = inttoptr i64 %arg4 to i64* %83 = call i64* @memcpy(i64* %81, i64* %82, i32 %72) br label LBL_16 LBL_16: %84 = add i64 %0, 12 %85 = inttoptr i64 %84 to i32* store i32 %72, i32* %85, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_17: %86 = call i64 @FUNC(i64 %0) %87 = trunc i64 %86 to i32 %88 = icmp eq i32 %87, 0 store i64 0, i64* %rax.0.reg2mem br i1 %88, label LBL_24, label LBL_18 LBL_18: %89 = add i64 %0, 16 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = icmp eq i32 %91, 0 %93 = icmp eq i1 %92, false store i64 0, i64* %rax.0.reg2mem br i1 %93, label LBL_19, label LBL_24 LBL_19: %94 = add i64 %0, 32 %95 = call i64 @FUNC(i64 %94, i64 %arg4, i64 %2) %96 = trunc i64 %95 to i32 %97 = icmp eq i32 %96, 0 %98 = icmp eq i1 %97, false store i64 0, i64* %rax.0.reg2mem br i1 %98, label LBL_20, label LBL_24 LBL_20: store i32 0, i32* %90, align 4 %99 = add i64 %0, 4 %100 = inttoptr i64 %99 to i32* store i32 0, i32* %100, align 4 %101 = add i64 %0, 20 %102 = inttoptr i64 %101 to i32* store i32 0, i32* %102, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_21: %103 = add i64 %0, 32 %104 = inttoptr i64 %103 to i64* %105 = load i64, i64* %104, align 8 %106 = icmp eq i64 %105, 0 store i64 1, i64* %rax.0.reg2mem br i1 %106, label LBL_24, label LBL_22 LBL_22: %107 = add i64 %0, 40 %108 = icmp eq i64 %105, %107 store i64 0, i64* %rax.0.reg2mem br i1 %108, label LBL_23, label LBL_24 LBL_23: %109 = add i64 %arg4, 40 %110 = add i64 %arg4, 32 %111 = inttoptr i64 %110 to i64* store i64 %109, i64* %111, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %77, { 1, 0 } uselistorder i32 %72, { 2, 1, 0 } uselistorder i32 %65, { 1, 0 } uselistorder i16 %39, { 1, 0 } uselistorder i64 %2, { 1, 6, 5, 2, 3, 4, 0 } uselistorder i64 %sext3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 26, 25, 20, 21, 23, 22, 24, 18, 16, 17, 19, 15, 14, 7, 8, 0, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6 } uselistorder i16* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 19, 5, 7, 6, 18, 8, 10, 9, 17, 11, 16, 12, 15, 13, 14, 1 } uselistorder i32 13, { 1, 0, 2 } uselistorder i64 (i64)* @EVP_CIPHER_CTX_encrypting, { 2, 1, 0 } uselistorder i16 256, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 (i64)* @EVP_CIPHER_CTX_buf_noconst, { 5, 4, 3, 2, 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i64 1, { 1, 0, 6, 5, 4, 3, 2, 7, 8 } uselistorder i64 12, { 1, 0, 2 } uselistorder i32 8, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 } uselistorder i64 32, { 3, 4, 5, 0, 1, 2 } uselistorder i64 %arg4, { 5, 6, 4, 2, 3, 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_24, { 2, 3, 1, 13, 4, 6, 5, 14, 7, 9, 8, 15, 10, 16, 11, 17, 12, 18, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
_warc_rdrtm_8448
_warc_rdrtm
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 12) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = add i64 %0, 12 %.neg = add i64 %arg1, -12 %4 = add i64 %.neg, %arg2 %5 = sub i64 %4, %0 %6 = call i64 @FUNC(i64 %3, i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0) %10 = load i64, i64* %sv_0, align 8 %11 = icmp eq i64 %6, %10 %. = select i1 %11, i64 %9, i64 4294967295 store i64 %., 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* %sv_0, { 1, 0, 2 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder i64 12, { 1, 0 } }
0
BinRealVul
mov_read_mfra_15734
mov_read_mfra
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %3) %6 = add i64 %4, -4 %7 = call i64 @FUNC(i64 %3, i64 %6, i64 0) %8 = icmp slt i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %sv_0.0.reg2mem br i1 %9, label LBL_1, label LBL_11 LBL_1: %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %sext = mul i64 %10, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = icmp slt i64 %4, %13 br i1 %14, label LBL_3, label LBL_4 LBL_3: %15 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %2, i64 %1) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_11 LBL_4: %sext2 = sub i64 0, %sext %16 = ashr exact i64 %sext2, 32 %17 = call i64 @FUNC(i64 %3, i64 %16, i64 1) %18 = icmp slt i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %17, i64* %sv_0.0.reg2mem br i1 %19, label LBL_5, label LBL_11 LBL_5: %20 = call i64 @FUNC(i64 %3) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %11, %21 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %2, i64 %1) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_11 LBL_7: %24 = call i64 @FUNC(i64 %3) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 1835430497 br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %16, i64 %2, i64 %1) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_11 LBL_9: %28 = ptrtoint i64* %arg1 to i64 %29 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 %16, i64 %2, i64 %1) br label LBL_10 LBL_10: %30 = call i64 @FUNC(i64 %28, i64 %3) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %32, label LBL_10, label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %33 = call i64 @FUNC(i64 %3, i64 %5, i64 0) %34 = icmp slt i64 %33, 0 %35 = icmp eq i1 %34, false store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %35, label LBL_13, label LBL_12 LBL_12: %36 = call i64 @FUNC(i64 %3, i64 2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i64 %5, i64 %2, i64 %1) store i64 %33, i64* %sv_0.1.reg2mem br label LBL_13 LBL_13: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %37 = and i64 %sv_0.1.reload, 4294967295 ret i64 %37 uselistorder i64 %16, { 1, 2, 3, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %3, { 7, 8, 2, 3, 1, 4, 0, 5, 6, 9, 10, 11, 12, 13 } uselistorder i64 %2, { 4, 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 5, 4, 2, 6, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 2, 1, 0 } uselistorder label LBL_11, { 0, 3, 4, 1, 5, 2 } }
1
BinRealVul
dns_packet_is_reply_for_11547
dns_packet_is_reply_for
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 1 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_9 LBL_5: %8 = call i64 @FUNC(i64 %4) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_7, label LBL_6 LBL_6: %12 = and i64 %8, 4294967295 store i64 %12, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %13 = trunc i64 %4 to i32 %14 = icmp eq i32 %13, 1 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_8, label LBL_9 LBL_8: %15 = ptrtoint i64* %arg2 to i64 %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %15) store i64 %21, 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* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 0, 3, 1 } }
1
BinRealVul
qmp_migrate_set_downtime_2697
qmp_migrate_set_downtime
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i1 %2 = load i128, i128* %0 %3 = load i1, i1* %1 %4 = load i1, i1* %1 %5 = call i64 @FUNC(i128 %2) %6 = call i128 @__asm_movsd.1(i64 %5) %7 = call i128 @__asm_movsd.1(i64 4741671816366391296) %8 = call i128 @FUNC(i128 %7, i128 %6) %9 = call i64 @FUNC(i128 %8) %10 = call i128 @__asm_movsd.1(i64 %9) %11 = load i128, i128* @gv_0, align 8 call void @FUNC(i128 %10, i128 %11) %12 = or i1 %3, %4 br i1 %12, label LBL_1, label LBL_2 LBL_1: %13 = call i128 @FUNC(i128 %10, i128 %10) %14 = sext i64 %9 to i128 call void @FUNC(i128 %13, i128 %14) br label LBL_2 LBL_2: %15 = call i128 @__asm_movsd.1(i64 %9) call void @FUNC(i128 %15, i128 %11) %16 = call i128 @__asm_movsd.1(i64 %9) %17 = call i64 @FUNC(i128 %16) %18 = call i128 @__asm_movsd.1(i64 %17) %19 = load i128, i128* @gv_1, align 8 call void @FUNC(i128 %18, i128 %19) %20 = call i128 @__asm_movsd.1(i64 %17) %21 = trunc i128 %19 to i64 %22 = call i128 @__asm_movsd.1(i64 %21) %23 = call i128 @FUNC(i128 %20, i128 %22) %24 = call i64 @FUNC(i128 %23) %25 = xor i64 %24, -9223372036854775808 store i64 %25, i64* @gv_2, align 8 ret i64 %25 uselistorder i128 %10, { 1, 0, 2 } uselistorder i64 %9, { 1, 2, 0, 3 } uselistorder i1* %1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
cJSON_DetachItemFromArray_3636
cJSON_DetachItemFromArray
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.04.reg2mem = alloca i64 %sv_1.0.in7.reg2mem = alloca i64 %sv_0.08.reg2mem = alloca i64 %0 = add i64 %arg1, 16 %sv_0.0.in5 = inttoptr i64 %0 to i64* %sv_0.06 = load i64, i64* %sv_0.0.in5, align 8 %1 = icmp eq i64 %sv_0.06, 0 store i64 0, i64* %sv_0.04.reg2mem br i1 %1, label LBL_11, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 store i64 %sv_0.06, i64* %sv_0.08.reg2mem store i64 %sext, i64* %sv_1.0.in7.reg2mem br label LBL_3 LBL_2: %sext2 = add i64 %sv_1.0.in7.reload, -4294967296 %sv_0.0.in = inttoptr i64 %sv_0.08.reload to i64* %sv_0.0 = load i64, i64* %sv_0.0.in, align 8 %2 = icmp eq i64 %sv_0.0, 0 store i64 %sv_0.0, i64* %sv_0.08.reg2mem store i64 %sext2, i64* %sv_1.0.in7.reg2mem store i64 0, i64* %sv_0.04.reg2mem br i1 %2, label LBL_11, label LBL_3 LBL_3: %sv_1.0.in7.reload = load i64, i64* %sv_1.0.in7.reg2mem %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %3 = udiv i64 %sv_1.0.in7.reload, 4294967296 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp slt i32 %4, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 br i1 %9, label LBL_2, label LBL_4 LBL_4: %10 = add i64 %sv_0.08.reload, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %.pre = inttoptr i64 %sv_0.08.reload to i64* br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = load i64, i64* %.pre, align 8 %15 = inttoptr i64 %12 to i64* store i64 %14, i64* %15, align 8 br label LBL_6 LBL_6: %16 = load i64, i64* %.pre, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = load i64, i64* %11, align 8 %19 = add i64 %16, 8 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 br label LBL_8 LBL_8: %21 = load i64, i64* %sv_0.0.in5, align 8 %22 = icmp eq i64 %sv_0.08.reload, %21 %23 = icmp eq i1 %22, false br i1 %23, label LBL_10, label LBL_9 LBL_9: %24 = load i64, i64* %.pre, align 8 store i64 %24, i64* %sv_0.0.in5, align 8 br label LBL_10 LBL_10: store i64 0, i64* %.pre, align 8 store i64 0, i64* %11, align 8 store i64 %sv_0.08.reload, i64* %sv_0.04.reg2mem br label LBL_11 LBL_11: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem ret i64 %sv_0.04.reload uselistorder i64* %.pre, { 1, 0, 2, 3 } uselistorder i64* %11, { 1, 0, 2 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %sv_0.08.reload, { 0, 2, 4, 3, 1 } uselistorder i64 %sv_1.0.in7.reload, { 1, 0 } uselistorder i64* %sv_0.0.in5, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
pcm_encode_init_14572
pcm_encode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 switch i32 %6, label LBL_3 [ i32 1, label LBL_1 i32 2, label LBL_2 ] LBL_1: %7 = call i64 @FUNC() br label LBL_3 LBL_2: %8 = call i64 @FUNC() br label LBL_3 LBL_3: %9 = load i64, i64* %3, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = add i64 %0, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i64 %0, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = mul i32 %19, %14 %21 = sdiv i32 %20, 128 %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = call i64 @FUNC() %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 ret i64 0 uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
pc_system_firmware_init_14657
pc_system_firmware_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %2 = inttoptr i64 %1 to i32* %3 = call i64 @FUNC(i64 %1) %4 = load i32, i32* %2, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) store i64 %6, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %7 = call i64 @FUNC(i64 0, i64 0, i64 0) %8 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_7, label LBL_3 LBL_3: %10 = call i64 @FUNC() %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_7, label LBL_4 LBL_4: %13 = icmp eq i64 %7, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %15 = call i32 @fwrite(i64* bitcast ([46 x i8]* @gv_2 to i64*), i32 1, i32 45, %_IO_FILE* %14) call void @exit(i32 1) unreachable LBL_6: store i32 1, i32* %2, align 4 %16 = call i64 @FUNC(i64 %0) store i64 %16, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %17 = icmp eq i64 %7, 0 %18 = icmp eq i1 %17, false store i64 %7, i64* %sv_0.0.reg2mem br i1 %18, label LBL_9, label LBL_8 LBL_8: %19 = call i64 @FUNC() %20 = call i64 @FUNC(i64 0, i64 0, i64 0) store i64 %20, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = icmp eq i64 %sv_0.0.reload, 0 br i1 %21, label LBL_11, label LBL_10 LBL_10: %22 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload) store i64 %22, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %23 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %24 = call i32 @fwrite(i64* bitcast ([49 x i8]* @gv_3 to i64*), i32 1, i32 48, %_IO_FILE* %23) call void @exit(i32 1) unreachable LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @drive_get, { 1, 0 } uselistorder i64 (i64)* @old_pc_system_rom_init, { 1, 0 } }
1
BinRealVul
qpci_msix_pending_14514
qpci_msix_pending
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i8 %2 = urem i8 %1, 32 %3 = zext i8 %2 to i32 %4 = udiv i64 %arg2, 8 %5 = and i64 %4, 8188 %6 = add i64 %5, %0 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %0, i64 %6) %13 = trunc i64 %12 to i32 %14 = icmp eq i8 %2, 0 %15 = shl i32 1, %3 %16 = sub i32 0, %15 %17 = sub i32 %16, 1 %storemerge = select i1 %14, i32 -2, i32 %17 %18 = and i32 %storemerge, %13 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %0, i64 %6, i64 %19) %21 = and i32 %15, %13 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false %24 = zext i1 %23 to i64 %25 = and i32 %21, -256 %26 = zext i32 %25 to i64 %27 = or i64 %24, %26 ret i64 %27 uselistorder i32 %15, { 1, 0 } uselistorder i8 %2, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
add_probe_10963
add_probe
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i8* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = load i32, i32* @gv_0, align 4 %3 = urem i32 %2, 4 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = inttoptr i64 %1 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = add i64 %1, 4 %12 = inttoptr i64 %11 to i8* %13 = call i32 @strncmp(i8* %12, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 7) %14 = sext i32 %13 to i64 %15 = icmp eq i32 %13, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: store i32 1, i32* @gv_2, align 4 store i64 %14, 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, { 1, 0 } uselistorder i32 1, { 1, 0, 2 } }
1
BinRealVul
action_show_4458
action_show
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 %0, i64* %sv_1, align 8 %1 = call i64 @FUNC(i64 0, i64* nonnull %sv_1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = call i64 @FUNC(i64 1, i64* nonnull %sv_1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %12, label LBL_10, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 2, i64* nonnull %sv_1) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %15, label LBL_10, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 3, i64* nonnull %sv_1) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %18, label LBL_5, label LBL_10 LBL_5: %19 = call i64 @FUNC(i64 4, i64* nonnull %sv_1) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_8, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 5, i64* nonnull %sv_1) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %25, label LBL_7, label LBL_10 LBL_7: %26 = call i64 @FUNC(i64 6, i64* nonnull %sv_1) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %. = select i1 %28, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0) store i8* %., i8** %sv_0.0.reg2mem br label LBL_10 LBL_8: %29 = call i64 @FUNC(i64 7, i64* nonnull %sv_1) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %31, label LBL_9, label LBL_10 LBL_9: %32 = add i64 %0, 16 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 1000 %spec.select = select i1 %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0) store i8* %spec.select, i8** %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %36 = bitcast i64* %arg2 to i8* %37 = call i32 (i8*, i8*, ...) @sprintf(i8* %36, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i8* %sv_0.0.reload) %38 = sext i32 %37 to i64 ret i64 %38 uselistorder i64 %0, { 1, 0, 2 } uselistorder i8** %sv_0.0.reg2mem, { 0, 1, 2, 3, 4, 5, 7, 8, 6 } uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), { 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64*)* @test_bit, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_10, { 0, 1, 2, 3, 4, 6, 7, 5 } }
0
BinRealVul
tmp105_tx_3558
tmp105_tx
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 72057594037927936 %1 = ashr exact i64 %sext, 56 %2 = add i64 %0, 3 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = trunc i64 %1 to i8 %8 = add i64 %0, 4 %9 = inttoptr i64 %8 to i8* store i8 %7, i8* %9, align 1 %10 = load i8, i8* %3, align 1 %11 = add i8 %10, 1 store i8 %11, i8* %3, align 1 br label LBL_5 LBL_2: %12 = icmp ult i8 %4, 3 store i8 %4, i8* %.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = zext i8 %4 to i64 %14 = trunc i64 %1 to i8 %15 = add i64 %0, -1 %16 = add i64 %15, %13 %17 = inttoptr i64 %16 to i8* store i8 %14, i8* %17, align 1 %.pre = load i8, i8* %3, align 1 store i8 %.pre, i8* %.reg2mem br label LBL_4 LBL_4: %.reload = load i8, i8* %.reg2mem %18 = add i8 %.reload, 1 store i8 %18, i8* %3, align 1 %19 = call i64 @FUNC(i64 %0) br label LBL_5 LBL_5: ret i64 0 uselistorder i8 %4, { 1, 0, 2, 3 } uselistorder i8* %3, { 3, 0, 2, 1, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
compactxref_12409
compactxref
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.11.reg2mem = alloca i32 %rdx.12.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp sgt i32 %3, 1 store i64 1, i64* %storemerge.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_8 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = add i64 %5, 16 %9 = inttoptr i64 %8 to i64* %wide.trip.count = and i64 %2, 4294967295 store i64 1, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdx.12.reg2mem store i32 1, i32* %sv_0.11.reg2mem br label LBL_2 LBL_2: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %rdx.12.reload = load i64, i64* %rdx.12.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = load i64, i64* %7, align 8 %11 = mul i64 %indvars.iv.reload, 4 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 4 %17 = add i64 %16, %rdx.12.reload %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: store i32 0, i32* %13, align 4 store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem store i64 %10, i64* %rdx.0.reg2mem br label LBL_7 LBL_4: %22 = zext i32 %14 to i64 %23 = icmp eq i64 %indvars.iv.reload, %22 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = load i64, i64* %9, align 8 %26 = add i64 %25, %11 %27 = sext i32 %sv_0.11.reload to i64 %28 = mul i64 %27, 4 %29 = add i64 %25, %28 %30 = inttoptr i64 %26 to i32* %31 = load i32, i32* %30, align 4 %32 = inttoptr i64 %29 to i32* store i32 %31, i32* %32, align 4 %33 = add i32 %sv_0.11.reload, 1 %34 = load i64, i64* %7, align 8 %35 = add i64 %34, %11 %36 = inttoptr i64 %35 to i32* store i32 %sv_0.11.reload, i32* %36, align 4 store i32 %33, i32* %sv_0.0.reg2mem store i64 %35, i64* %rdx.0.reg2mem br label LBL_7 LBL_6: %37 = add i64 %16, %10 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 store i32 %39, i32* %13, align 4 store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem store i64 %12, i64* %rdx.0.reg2mem br label LBL_7 LBL_7: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rdx.0.reload, i64* %rdx.12.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem store i64 %wide.trip.count, i64* %storemerge.lcssa.reg2mem br i1 %exitcond, label LBL_8, label LBL_2 LBL_8: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %16, { 1, 0 } uselistorder i32* %13, { 1, 0, 2 } uselistorder i64 %11, { 2, 1, 0 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i32 %sv_0.11.reload, { 1, 3, 2, 4, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.12.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 2, 1, 0 } }
1
BinRealVul
gru_check_context_placement_6857
gru_check_context_placement
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null store i64 0, i64* %storemerge.in.reg2mem br i1 %0, label LBL_4, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = load i32*, i32** @gv_0, align 8 %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %4, %6 store i64 0, i64* %storemerge.in.reg2mem br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = call i64 @FUNC(i64 %1, i64 %1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967274, i64* %storemerge.in.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge.in.reg2mem br label LBL_4 LBL_4: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem ret i64 %storemerge.in.reload uselistorder i64 %1, { 0, 2, 3, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 0, 1, 3, 2 } }
0
BinRealVul
net_socket_fd_init_stream_18659
net_socket_fd_init_stream
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg3 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg4 to i32 %4 = call i64 @FUNC(i64 16) %5 = inttoptr i64 %4 to i32* store i32 %3, i32* %5, align 4 %6 = call i64 @FUNC(i64 %2, i64 %1, i64 %0, i64 4198885, i64 0, i64 %4) %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = and i64 %arg4, 4294967295 %10 = inttoptr i64 %6 to i8* %11 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %10, i32 256, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %9) %12 = trunc i64 %arg5 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %4) br label LBL_3 LBL_2: %15 = load i32, i32* %5, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16, i64 0, i64 4198789, i64 %4) br label LBL_3 LBL_3: ret i64 %4 uselistorder i64 %4, { 1, 0, 2, 4, 5, 3 } }
1
BinRealVul
ogg_new_buf_15244
ogg_new_buf
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = ashr exact i64 %sext, 31 %3 = add nsw i64 %2, %1 %4 = mul i64 %3, 8 %5 = add i64 %4, %0 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = sext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %5, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %5, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = sub i32 %13, %16 %18 = inttoptr i64 %5 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_2, label LBL_1 LBL_1: %21 = sext i32 %16 to i64 %22 = add i64 %19, %21 %23 = inttoptr i64 %10 to i64* %24 = inttoptr i64 %22 to i64* %25 = call i64* @memcpy(i64* %23, i64* %24, i32 %17) %26 = load i64, i64* %18, align 8 %27 = call i64 @FUNC(i64 %26) br label LBL_2 LBL_2: store i64 %10, i64* %18, align 8 store i32 %17, i32* %12, align 4 store i32 0, i32* %15, align 4 ret i64 0 uselistorder i64* %18, { 1, 0, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
crypto_report_cipher_8600
crypto_report_cipher
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 1752197475, i32* %sv_0, align 4 %1 = call i64 @FUNC(i64 %0, i64 1, i64 32, i32* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %. = select i1 %4, i64 4294967206, i64 0 ret i64 %. }
0
BinRealVul
new_guest_cr3_7832
new_guest_cr3
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %rax.0212.reg2mem = alloca i32 %rax.03.reg2mem = alloca i64 %rcx.04.reg2mem = alloca i64 %r8.06.reg2mem = alloca i64 %1 = load i64, i64* %0 %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = load i64, i64* @gv_0, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = add i64 %3, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %14) %17 = and i64 %2, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 15) %19 = and i64 %18, 4294967295 %20 = and i64 %16, 4294967295 %21 = call i64 @FUNC(i64 %15, i64 %19, i64 %20, i64 0, i64 %3) %22 = trunc i64 %21 to i32 %23 = call i64 @FUNC(i64 %15) %24 = icmp sgt i32 %22, -4 br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = icmp sgt i32 %22, -6 store i64 4294967291, i64* %rax.1.reg2mem br i1 %25, label LBL_26, label LBL_4 LBL_3: %26 = icmp eq i32 %22, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_4, label LBL_5 LBL_4: %28 = call i64 @FUNC(i64 %17) %29 = and i64 %28, 4294967295 %30 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 0, i64 %3, i64 %1) %31 = and i64 %21, 4294967295 store i64 %31, i64* %rax.1.reg2mem br label LBL_26 LBL_5: %32 = call i64 @FUNC(i64 %3, i64 0) %33 = call i64 @FUNC(i64 %3) store i64 0, i64* %rax.1.reg2mem br label LBL_26 LBL_6: %34 = call i64 @FUNC(i64 %3) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false %38 = icmp eq i1 %37, false br i1 %38, label LBL_8, label LBL_7 LBL_7: %39 = and i64 %34, 4294967295 store i64 %39, i64* %rax.1.reg2mem br label LBL_26 LBL_8: %40 = add i64 %3, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %43) %45 = and i64 %2, 4294967295 %46 = and i64 %44, 4294967295 %47 = call i64 @FUNC(i64 %46, i64 %45) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_10, label LBL_9 LBL_9: %50 = call i64 @FUNC(i64 %3) store i64 0, i64* %rax.1.reg2mem br label LBL_26 LBL_10: %51 = call i64 @FUNC(i64 %5) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_12, label LBL_11 LBL_11: %54 = call i64 @FUNC(i64 %45, i64 %5) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 store i64 4294967274, i64* %rax.03.reg2mem store i32 0, i32* %rax.0212.reg2mem br i1 %56, label LBL_15, label LBL_16 LBL_12: %57 = call i64 @FUNC(i64 %45, i64 0, i64 %5, i64 0, i64 1) %phitmp = trunc i64 %57 to i32 %58 = icmp sgt i32 %phitmp, -4 br i1 %58, label LBL_14, label LBL_13 LBL_13: %59 = icmp sgt i32 %phitmp, -6 store i64 1, i64* %r8.06.reg2mem store i64 0, i64* %rcx.04.reg2mem store i64 %57, i64* %rax.03.reg2mem store i64 4294967291, i64* %rax.1.reg2mem br i1 %59, label LBL_26, label LBL_15 LBL_14: %60 = icmp eq i32 %phitmp, 0 %61 = icmp eq i1 %60, false store i64 1, i64* %r8.06.reg2mem store i64 0, i64* %rcx.04.reg2mem store i64 %57, i64* %rax.03.reg2mem store i32 %phitmp, i32* %rax.0212.reg2mem br i1 %61, label LBL_15, label LBL_16 LBL_15: %rax.03.reload = load i64, i64* %rax.03.reg2mem %rcx.04.reload = load i64, i64* %rcx.04.reg2mem %r8.06.reload = load i64, i64* %r8.06.reg2mem %62 = call i64 @FUNC(i64 %45) %63 = and i64 %62, 4294967295 %64 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %63, i64 %rcx.04.reload, i64 %r8.06.reload, i64 %1) %65 = and i64 %rax.03.reload, 4294967295 store i64 %65, i64* %rax.1.reg2mem br label LBL_26 LBL_16: %rax.0212.reload = load i32, i32* %rax.0212.reg2mem %66 = call i64 @FUNC(i64 %3, i64 0) %67 = load i32, i32* @gv_3, align 4 %68 = zext i32 %67 to i64 %69 = call i64 @FUNC(i64 %5, i64 %68) %70 = trunc i64 %69 to i32 %71 = icmp eq i32 %70, 0 %72 = icmp eq i1 %71, false br i1 %72, label LBL_19, label LBL_17 LBL_17: %73 = call i64 @FUNC(i64 %5) %74 = trunc i64 %73 to i32 %75 = icmp eq i32 %74, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_19, label LBL_18 LBL_18: %77 = call i64 @FUNC(i64 %45) br label LBL_19 LBL_19: %78 = call i64 @FUNC(i64 %45) %79 = trunc i64 %78 to i32 store i32 %79, i32* %41, align 4 %80 = call i64 @FUNC(i64 %3) %81 = call i64 @FUNC(i64 %3) %82 = call i64 @FUNC(i64 %46) %83 = trunc i64 %82 to i32 %84 = icmp eq i32 %83, 0 %85 = icmp eq i1 %84, false %86 = icmp eq i1 %85, false store i32 %rax.0212.reload, i32* %sv_0.1.reg2mem br i1 %86, label LBL_25, label LBL_20 LBL_20: %87 = call i64 @FUNC(i64 %46) %88 = call i64 @FUNC(i64 %5) %89 = trunc i64 %88 to i32 %90 = icmp eq i32 %89, 0 br i1 %90, label LBL_22, label LBL_21 LBL_21: %91 = call i64 @FUNC(i64 %87) store i32 %rax.0212.reload, i32* %sv_0.1.reg2mem br label LBL_25 LBL_22: %92 = call i64 @FUNC(i64 %87) %93 = trunc i64 %92 to i32 %94 = icmp ne i32 %93, -5 %95 = icmp eq i32 %93, -4 %96 = icmp eq i1 %95, false %or.cond = icmp eq i1 %94, %96 br i1 %or.cond, label LBL_24, label LBL_23 LBL_23: %97 = add i64 %3, 16 %98 = inttoptr i64 %97 to i64* store i64 %87, i64* %98, align 8 store i32 -5, i32* %sv_0.1.reg2mem br label LBL_25 LBL_24: %99 = and i64 %92, 4294967295 %100 = call i64 @FUNC(i64 %99) store i32 %93, i32* %sv_0.1.reg2mem br label LBL_25 LBL_25: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %101 = zext i32 %sv_0.1.reload to i64 store i64 %101, i64* %rax.1.reg2mem br label LBL_26 LBL_26: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %phitmp, { 0, 2, 1, 3 } uselistorder i64 %45, { 2, 1, 0, 3, 4, 5 } uselistorder i64 %5, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 %3, { 5, 7, 6, 8, 4, 9, 10, 1, 0, 2, 3, 11, 12 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.03.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %rax.0212.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64* %rax.1.reg2mem, { 0, 7, 8, 1, 6, 5, 3, 4, 2 } uselistorder i64 (i64)* @paging_mode_refcounts, { 2, 1, 0 } uselistorder i64 (i64)* @write_ptbase, { 2, 1, 0 } uselistorder i64 (i64, i64)* @invalidate_shadow_ldt, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @gdprintk, { 1, 0 } uselistorder i64 1, { 2, 0, 1, 3, 4 } uselistorder i1 false, { 0, 1, 3, 4, 5, 6, 2, 7, 8 } uselistorder i64 (i64)* @mfn_x, { 3, 2, 1, 0 } uselistorder i64 (i64)* @pagetable_get_mfn, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 7, 8, 9, 10, 11, 12, 13, 1 } uselistorder i32 1, { 14, 13, 12, 11, 10, 9, 8, 15, 16, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_26, { 2, 3, 0, 4, 5, 6, 7, 1 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
host_memory_backend_init_14018
host_memory_backend_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 1) %4 = trunc i64 %3 to i8 %5 = inttoptr i64 %1 to i8* store i8 %4, i8* %5, align 1 %6 = call i64 @FUNC() %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 1) %8 = trunc i64 %7 to i8 %9 = add i64 %1, 1 %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 %11 = load i8, i8* inttoptr (i64 4210717 to i8*), align 1 %12 = add i64 %1, 2 %13 = inttoptr i64 %12 to i8* store i8 %11, i8* %13, align 1 %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 4198799, i64 4198828, i64 0) %15 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 4198866, i64 4198896, i64 0) %16 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64 4198935, i64 4198965, i64 0) %17 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i64 4199004, i64 4199019, i64 0) %18 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i64 4199033, i64 4199048, i64 0) %19 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_9, i64 0, i64 0), i64 4199062, i64 4199073, i64 4199088) ret i64 %19 uselistorder i64 %0, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @object_property_add, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64)* @object_property_add_bool, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_get_bool, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 ()* @qemu_get_machine_opts, { 1, 0 } }
1
BinRealVul
ceph_set_acl_13384
ceph_set_acl
define i64 @FUNC(i16* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_3.06.reg2mem = alloca i8* %sv_3.0.ph.reg2mem = alloca i8* %.pr.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_4 = alloca i16, align 2 %sv_5 = alloca i16, align 2 %sv_6 = alloca i32*, align 8 store i32* %arg2, i32** %sv_6, align 8 %3 = trunc i64 %arg3 to i32 %sext = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %1 to i16 store i16 %5, i16* %sv_5, align 2 %6 = icmp eq i32 %3, 1 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = trunc i64 %4 to i32 %8 = icmp eq i32 %7, 2 store i64 4294967274, i64* %sv_0.1.reg2mem br i1 %8, label LBL_5, label LBL_18 LBL_2: %9 = icmp eq i32* %arg2, null store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3.06.reg2mem store i32 0, i32* %sv_2.0.reg2mem store i64 0, i64* %sv_1.0.reg2mem br i1 %9, label LBL_10, label LBL_3 LBL_3: %10 = ptrtoint i16* %arg1 to i64 %11 = bitcast i32** %sv_6 to i64* %12 = call i64 @FUNC(i64 %10, i16* nonnull %sv_5, i64* nonnull %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 %12, i64* %sv_0.1.reg2mem br i1 %14, label LBL_3.LBL_7_crit_edge, label LBL_18 LBL_4: %.pr.pre = load i32*, i32** %sv_6, align 8 store i32* %.pr.pre, i32** %.pr.reg2mem store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3.0.ph.reg2mem br label LBL_7 LBL_5: %15 = and i16 %5, 16384 %16 = icmp eq i16 %15, 0 %17 = icmp eq i1 %16, false store i32* %arg2, i32** %.pr.reg2mem store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8** %sv_3.0.ph.reg2mem br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = icmp eq i32* %arg2, null %. = select i1 %18, i64 0, i64 4294967274 store i64 %., i64* %sv_0.1.reg2mem br label LBL_18 LBL_7: %sv_3.0.ph.reload = load i8*, i8** %sv_3.0.ph.reg2mem %.pr.reload = load i32*, i32** %.pr.reg2mem %19 = icmp eq i32* %.pr.reload, null store i8* %sv_3.0.ph.reload, i8** %sv_3.06.reg2mem store i32 0, i32* %sv_2.0.reg2mem store i64 0, i64* %sv_1.0.reg2mem br i1 %19, label LBL_10, label LBL_8 LBL_8: %20 = and i64 %2, 4294967295 %21 = call i64 @FUNC(i64 %20) %sext5 = mul i64 %21, 4294967296 %22 = ashr exact i64 %sext5, 32 %23 = call i64 @FUNC(i64 %22, i64 0) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967284, i64* %sv_0.1.reg2mem br i1 %25, label LBL_9, label LBL_18 LBL_9: %26 = trunc i64 %21 to i32 %27 = load i32*, i32** %sv_6, align 8 %28 = ptrtoint i32* %27 to i64 %29 = call i64 @FUNC(i64* nonnull @gv_2, i64 %28, i64 %23, i32 %26) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 store i8* %sv_3.0.ph.reload, i8** %sv_3.06.reg2mem store i32 %26, i32* %sv_2.0.reg2mem store i64 %23, i64* %sv_1.0.reg2mem store i64 %29, i64* %sv_0.0.reg2mem store i64 %23, i64* %sv_1.1.reg2mem br i1 %31, label LBL_17, label LBL_10 LBL_10: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.06.reload = load i8*, i8** %sv_3.06.reg2mem %32 = load i16, i16* %sv_5, align 2 %33 = icmp eq i16 %32, %5 br i1 %33, label LBL_10.LBL_13_crit_edge, label LBL_12 LBL_11: %.pre = ptrtoint i16* %arg1 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_13 LBL_12: store i16 %32, i16* %sv_4, align 2 %34 = ptrtoint i16* %arg1 to i64 %35 = call i64 @FUNC(i64 %34, i16* nonnull %sv_4) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 %34, i64* %.pre-phi.reg2mem store i64 %35, i64* %sv_0.0.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem br i1 %38, label LBL_17, label LBL_13 LBL_13: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %39 = ptrtoint i8* %sv_3.06.reload to i64 %40 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %39, i64 %sv_1.0.reload, i32 %sv_2.0.reload, i64 0) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_16, label LBL_14 LBL_14: %43 = load i16, i16* %sv_5, align 2 %44 = icmp eq i16 %43, %5 store i64 %40, i64* %sv_0.0.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem br i1 %44, label LBL_17, label LBL_15 LBL_15: store i16 %5, i16* %sv_4, align 2 %45 = call i64 @FUNC(i64 %.pre-phi.reload, i16* nonnull %sv_4) store i64 %40, i64* %sv_0.0.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem br label LBL_17 LBL_16: %46 = load i32*, i32** %sv_6, align 8 %47 = ptrtoint i32* %46 to i64 %48 = and i64 %4, 4294967295 %49 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %48, i64 %47) store i64 %40, i64* %sv_0.0.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem br label LBL_17 LBL_17: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %50 = call i64 @FUNC(i64 %sv_1.1.reload) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_18 LBL_18: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %51 = and i64 %sv_0.1.reload, 4294967295 ret i64 %51 uselistorder i64 %40, { 2, 0, 1, 3 } uselistorder i64 %.pre-phi.reload, { 1, 0, 2 } uselistorder i16 %32, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 3, 1, 2, 4, 0 } uselistorder i64 %21, { 1, 0 } uselistorder i16 %5, { 4, 0, 1, 2, 3 } uselistorder i64 %4, { 1, 0 } uselistorder i32** %sv_6, { 3, 2, 0, 4, 1 } uselistorder i16* %sv_5, { 1, 2, 0, 3 } uselistorder i16* %sv_4, { 0, 2, 1, 3 } uselistorder i32** %.pr.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_3.0.ph.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_3.06.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 3, 4, 2, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 5, 3, 4, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 5, 1, 3, 4, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i16*)* @__ceph_setattr, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 1, 5, 0 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i32* null, { 1, 2, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i32* %arg2, { 2, 0, 1, 3 } uselistorder i16* %arg1, { 2, 0, 1 } uselistorder label LBL_18, { 3, 0, 4, 2, 1 } uselistorder label LBL_17, { 4, 1, 0, 2, 3 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
create_oops_dump_dirs_7888
create_oops_dump_dirs
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.15.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %sv_2.07.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %4 = trunc i64 %arg2 to i32 %5 = icmp ugt i32 %4, 9 %arg2.op = and i64 %arg2, 4294967295 %6 = select i1 %5, i64 10, i64 %arg2.op %7 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %6, i32 10, i64 %3, i64 %2, i64 %1) %8 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0)) %9 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0)) %10 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 0) %11 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i64 0) %12 = call i32 @time(i32* null) %13 = sext i32 %12 to i64 store i64 %13, i64* %sv_5, align 8 %14 = call i64 @FUNC(i64* nonnull %sv_5) %15 = load i32, i32* @gv_5, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 4294967295, i64* %sv_3.0.reg2mem br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = call i32 @geteuid() %phitmp = zext i32 %18 to i64 store i64 %phitmp, i64* %sv_3.0.reg2mem br label LBL_2 LBL_2: %19 = call i32 @getpid() %20 = icmp eq i32 %4, 0 store i32 0, i32* %sv_0.2.reg2mem br i1 %20, label LBL_20, label LBL_3 LBL_3: %21 = inttoptr i64 %9 to i8* %22 = inttoptr i64 %14 to i8* %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %23 = bitcast i64* %sv_4 to i8* %24 = icmp eq i64 %8, 0 %25 = icmp eq i64 %10, 0 %26 = icmp eq i64 %9, 0 %27 = icmp eq i64 %11, 0 store i32 10, i32* %sv_2.07.reg2mem store i32 0, i32* %sv_0.16.reg2mem store i32 0, i32* %sv_1.15.reg2mem br label LBL_4 LBL_4: %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem %28 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %23, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0), i8* %22, i32 %19, i32 %sv_1.15.reload) %29 = load i64, i64* bitcast ([2 x i8*]* @gv_7 to i64*), align 8 %30 = call i64 @FUNC(i64 %29, i64* nonnull %sv_4) %31 = call i64 @FUNC(i64 %30, i64 %sv_3.0.reload, i32 493) %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_15, label LBL_5 LBL_5: %33 = call i64 @FUNC(i64 %31, i64 %sv_3.0.reload, i64 0) %34 = zext i32 %sv_1.15.reload to i64 %35 = call i64 @FUNC(i64 %arg1, i64 %34) %36 = call i64 @FUNC(i64 %31, i64 %35, i64 %10) %37 = load [4 x i8]*, [4 x i8]** @gv_8, align 8 %38 = ptrtoint [4 x i8]* %37 to i64 %39 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_9, i64 0, i64 0), i64 %38) %40 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_10, i64 0, i64 0), i64 ptrtoint ([11 x i8]* @gv_11 to i64)) %41 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i64 ptrtoint ([11 x i8]* @gv_11 to i64)) br i1 %24, label LBL_7, label LBL_6 LBL_6: %42 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_13, i64 0, i64 0), i64 %8) br label LBL_7 LBL_7: br i1 %25, label LBL_9, label LBL_8 LBL_8: %43 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_14, i64 0, i64 0), i64 %10) br label LBL_9 LBL_9: br i1 %26, label LBL_12, label LBL_10 LBL_10: %44 = call i32 @strcmp(i8* %21, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_15, i64 0, i64 0)) %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_12, label LBL_11 LBL_11: %46 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_16, i64 0, i64 0), i64 %9) br label LBL_12 LBL_12: br i1 %27, label LBL_14, label LBL_13 LBL_13: %47 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_17, i64 0, i64 0), i64 %11) br label LBL_14 LBL_14: %48 = add i32 %sv_1.15.reload, 1 %49 = call i64 @FUNC(i64 %31) %50 = call i64 @FUNC(i64 %30) store i32 %48, i32* %sv_1.0.reg2mem store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br label LBL_16 LBL_15: %51 = add i32 %sv_0.16.reload, 1 store i32 %sv_1.15.reload, i32* %sv_1.0.reg2mem store i32 %51, i32* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %52 = inttoptr i64 %30 to i64* call void @free(i64* %52) %53 = add nsw i32 %sv_2.07.reload, -1 %54 = icmp eq i32 %53, 0 store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %54, label LBL_20, label LBL_17 LBL_17: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %55 = load i32, i32* @gv_18, align 4 %56 = icmp eq i32 %55, 0 %or.cond = or i1 %32, %56 br i1 %or.cond, label LBL_18, label LBL_19 LBL_18: %57 = icmp ult i32 %sv_1.0.reload, %4 store i32 %53, i32* %sv_2.07.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.15.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %57, label LBL_4, label LBL_20 LBL_19: %58 = call i32 @sleep(i32 1) br label LBL_18 LBL_20: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %59 = inttoptr i64 %8 to i64* call void @free(i64* %59) %60 = inttoptr i64 %10 to i64* call void @free(i64* %60) %61 = inttoptr i64 %9 to i64* call void @free(i64* %61) %62 = inttoptr i64 %11 to i64* call void @free(i64* %62) %63 = zext i32 %sv_0.2.reload to i64 ret i64 %63 uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i64 %31, { 4, 3, 2, 1, 0, 8, 7, 6, 5, 9, 10 } uselistorder i64 %30, { 1, 0, 2 } uselistorder i32 %sv_0.16.reload, { 1, 0 } uselistorder i64 %11, { 2, 1, 0 } uselistorder i64 %10, { 3, 1, 2, 0 } uselistorder i64 %9, { 2, 0, 1, 3 } uselistorder i64 %8, { 2, 1, 0 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i32* %sv_2.07.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder void (i64*)* @free, { 1, 2, 3, 4, 0 } uselistorder i64 (i64, i8*, i64)* @dd_save_text, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 4, 11, 12, 1, 2, 0, 3, 13, 5, 6, 7, 8, 9, 10 } uselistorder i64 (i8*, i64)* @xmalloc_open_read_close, { 1, 0 } uselistorder i64 (i8*)* @xmalloc_fopen_fgetline_fclose, { 1, 0 } uselistorder i32 1, { 16, 19, 15, 18, 17, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
copy_packet_data_15172
copy_packet_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %2 = add i64 %1, 24 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_8 LBL_2: store i64 %11, i64* %5, align 8 %14 = inttoptr i64 %11 to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* %arg1, align 8 br label LBL_4 LBL_3: %16 = add i64 %1, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = call i64 @FUNC(i64 %1, i64 %0, i32 %18, i64 1, i64 1) br label LBL_4 LBL_4: %20 = add i64 %1, 32 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = trunc i64 %arg3 to i32 %25 = icmp eq i32 %24, 0 %or.cond = or i1 %25, %23 store i32 %22, i32* %.reg2mem br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %26 = add i64 %0, 24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 store i64 %28, i64* %3, align 8 %.pr = load i32, i32* %21, align 4 store i32 %.pr, i32* %.reg2mem br label LBL_6 LBL_6: %.reload = load i32, i32* %.reg2mem %29 = icmp eq i32 %.reload, 0 %30 = icmp eq i1 %25, false %or.cond3 = or i1 %30, %29 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond3, label LBL_8, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %1, i64 %0) store i64 %31, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %25, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 2, 1, 3, 0, 4 } uselistorder i64 0, { 0, 5, 6, 7, 8, 2, 1, 3, 4 } uselistorder label LBL_8, { 2, 0, 1 } }
1
BinRealVul
signal_init_14265
signal_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t* %1 = call i32 @sigfillset(%_TYPEDEF_sigset_t* nonnull %0) store i64 4198726, i64* %sv_1, align 8 %2 = bitcast i64* %sv_1 to %sigaction* store i32 1, i32* %storemerge13.reg2mem br label LBL_1 LBL_1: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %3 = call i32 @sigaction(i32 %storemerge13.reload, %sigaction* nonnull %2, %sigaction* null) %4 = add nuw nsw i32 %storemerge13.reload, 1 %exitcond4 = icmp eq i32 %4, 32 store i32 %4, i32* %storemerge13.reg2mem br i1 %exitcond4, label LBL_2, label LBL_1 LBL_2: %5 = call i64* @memset(i64* nonnull @gv_0, i32 0, i32 4864) store i64 ptrtoint (i64* @gv_1 to i64), i64* @gv_2, align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %6 = mul i64 %indvars.iv.next, 16 %7 = add i64 %6, ptrtoint (i64* @gv_1 to i64) %8 = mul i64 %indvars.iv.reload, 16 %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64) %10 = inttoptr i64 %9 to i64* store i64 %7, i64* %10, align 8 %exitcond = icmp eq i64 %indvars.iv.next, 1023 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: store i64 0, i64* @gv_3, align 8 ret i64 %9 uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %storemerge13.reload, { 1, 0 } uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 1, { 5, 1, 4, 3, 2, 0 } }
1
BinRealVul
gup_pte_range_13543
gup_pte_range
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i64* %arg5, i32* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_2.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %r9 = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg5 to i64 %sv_4 = alloca i64, align 8 %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 store i64 %3, i64* %sv_4, align 8 %4 = bitcast i64* %r9 to i32* %5 = trunc i64 %1 to i32 %6 = bitcast i64* %sv_4 to i32* %7 = call i64 @FUNC(i32* nonnull %6, i64 %arg2) %8 = zext i32 %arg4 to i64 store i32 %5, i32* %.reg2mem store i64 %arg2, i64* %sv_3.0.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i64 %7, i64* %sv_2.0.in.reg2mem br label LBL_1 LBL_1: %sv_2.0.in.reload = load i64, i64* %sv_2.0.in.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %9 = call i64 @FUNC(i64 %sv_2.0.in.reload) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_11, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %10, i64 %8) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_11, label LBL_3 LBL_3: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %.reload = load i32, i32* %.reg2mem %18 = call i64 @FUNC(i64 %10) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %10) %22 = and i64 %21, 4294967295 %23 = call i64 @FUNC(i64 %22, i64 %sv_1.0.reload) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %sv_1.1.reg2mem br i1 %25, label LBL_7, label LBL_5 LBL_5: %26 = ptrtoint i32* %arg6 to i64 %27 = and i64 %1, 4294967295 %28 = call i64 @FUNC(i64 %26, i64 %27, i64 %2) store i64 %23, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_6: %29 = call i64 @FUNC(i64 %10) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %32, label LBL_11, label LBL_7 LBL_7: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %33 = call i64 @FUNC(i64 %10) %34 = and i64 %33, 4294967295 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = zext i1 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = call i64 @FUNC(i64 %10) %41 = call i64 @FUNC(i64 %40, i64 1) %42 = icmp eq i64 %41, 0 store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %42, label LBL_11, label LBL_8 LBL_8: %sv_2.0 = inttoptr i64 %sv_2.0.in.reload to i32* %43 = call i64 @FUNC(i64 %10) %44 = trunc i64 %43 to i32 %45 = load i32, i32* %sv_2.0, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %44, %48 %50 = icmp eq i1 %49, false %51 = icmp eq i1 %50, false br i1 %51, label LBL_10, label LBL_9 LBL_9: %52 = call i64 @FUNC(i64 %41) store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %53 = call i64 @FUNC(i64 %40) %54 = icmp eq i64 %41, %53 %55 = icmp eq i1 %54, false %56 = zext i1 %55 to i64 %57 = call i64 @FUNC(i64 %56, i64 %40) %58 = call i64 @FUNC(i64 %40) %59 = sext i32 %.reload to i64 %60 = mul i64 %59, 8 %61 = add i64 %60, %2 %62 = inttoptr i64 %61 to i64* store i64 %40, i64* %62, align 8 %63 = load i32, i32* %4, align 8 %64 = add i32 %63, 1 store i32 %64, i32* %arg6, align 4 %65 = add i64 %sv_2.0.in.reload, 4 %66 = add i64 %sv_3.0.reload, 4096 %67 = icmp eq i64 %66, %arg3 %68 = icmp eq i1 %67, false store i32 %63, i32* %.reg2mem store i64 %66, i64* %sv_3.0.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem store i64 %65, i64* %sv_2.0.in.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 1, i64* %sv_0.0.reg2mem br i1 %68, label LBL_1, label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %69 = icmp eq i64 %sv_1.2.reload, 0 br i1 %69, label LBL_13, label LBL_12 LBL_12: %70 = call i64 @FUNC(i64 %sv_1.2.reload) br label LBL_13 LBL_13: %71 = call i64 @FUNC(i64 %7) ret i64 %sv_0.0.reload uselistorder i64 %41, { 1, 0, 2 } uselistorder i64 %40, { 0, 2, 3, 1, 4 } uselistorder i64 %sv_1.1.reload, { 0, 3, 2, 1 } uselistorder i64 %10, { 0, 1, 2, 4, 3, 5, 6, 7 } uselistorder i64 %sv_1.0.reload, { 0, 3, 4, 1, 2 } uselistorder i64 %sv_2.0.in.reload, { 2, 0, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.2.reg2mem, { 0, 1, 7, 2, 3, 6, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 7, 2, 3, 6, 4, 5 } uselistorder i64 (i64)* @pte_val, { 1, 0 } uselistorder i64 1, { 0, 3, 1, 2 } uselistorder i64 (i64)* @pte_pfn, { 1, 0 } uselistorder i1 false, { 2, 3, 0, 4, 5, 1, 6 } uselistorder i32* %arg6, { 1, 0 } uselistorder label LBL_11, { 0, 5, 1, 2, 6, 3, 4 } }
0
BinRealVul
tls1_set_sigalgs_list_10099
tls1_set_sigalgs_list
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %2 = call i64 @FUNC(i64 %arg2, i64 58, i64 1, i64 4198725, i32* nonnull %sv_0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = load i32, i32* %sv_0, align 4 %10 = call i64 @FUNC(i64 %8, i64 %1, i32 %9, i32 %arg3) store i64 %10, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
ff_vaapi_mpeg_end_frame_16428
ff_vaapi_mpeg_end_frame
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.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 %0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 store i64 %4, i64* %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = and i64 %10, 4294967295 %12 = call i64 @FUNC(i64 %0, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 store i64 %12, i64* %sv_0.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = inttoptr i64 %3 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i64 @FUNC(i64 %3, i64 0, i32 %19) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64 %0) %22 = and i64 %sv_0.0.reload, 4294967295 ret i64 %22 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 3, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
bt_sock_recvmsg_13467
bt_sock_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %4 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %3, i64 %arg4, i64 %arg5, i64 %1) %5 = and i64 %arg5, 2 %6 = icmp eq i64 %5, 0 store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_9 LBL_1: %7 = trunc i64 %arg5 to i32 %8 = urem i32 %7, 2 store i64 0, i64* %arg3, align 8 %9 = bitcast i32* %sv_1 to i64* %10 = call i64 @FUNC(i64 %3, i32 %7, i32 %8, i64* nonnull %9) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = and i64 %2, 4 %14 = icmp eq i64 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_9 LBL_3: %15 = load i32, i32* %sv_1, align 4 %16 = zext i32 %15 to i64 store i64 %16, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %17 = ptrtoint i64* %arg3 to i64 %18 = inttoptr i64 %10 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp ugt i64 %19, %arg4 %21 = icmp eq i1 %20, false store i64 %19, i64* %sv_0.0.reg2mem br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = add i64 %17, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, 4 store i32 %25, i32* %23, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC(i64 %10) %27 = add i64 %17, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %10, i64 0, i64 %29, i64 %sv_0.0.reload) %31 = trunc i64 %30 to i32 store i32 %31, i32* %sv_1, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %17, i64 %3, i64 %10) br label LBL_8 LBL_8: %35 = call i64 @FUNC(i64 %3, i64 %10) %36 = load i32, i32* %sv_1, align 4 %37 = zext i32 %36 to i64 %38 = icmp eq i32 %36, 0 %39 = icmp eq i1 %38, false %spec.select = select i1 %39, i64 %37, i64 %sv_0.0.reload ret i64 %spec.select LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %17, { 1, 2, 0 } uselistorder i64 %10, { 1, 0, 2, 3, 4, 5 } uselistorder i32 %7, { 1, 0 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64 %3, { 1, 0, 2, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 %arg5, { 1, 0, 2 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } }
0
BinRealVul
dscm1xxxx_attach_16248
dscm1xxxx_attach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = add i64 %0, 132 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = add i64 %0, 134 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = zext i8 %7 to i32 %9 = mul i32 %8, 256 %10 = zext i8 %4 to i32 %11 = or i32 %9, %10 %12 = inttoptr i64 %1 to i32* store i32 %11, i32* %12, align 4 %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = call i64 @FUNC(i64 %1) %16 = call i64 @FUNC(i64 %1) %17 = inttoptr i64 %1 to i64* store i64 ptrtoint ([30 x i8]* @gv_0 to i64), i64* %17, align 8 ret i64 0 uselistorder i64 %0, { 3, 1, 0, 2 } }
1
BinRealVul
lock_mount_8814
lock_mount
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.lcssa.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* %rdi.0.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* br label LBL_3 LBL_2: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %7 = call i64 @FUNC(i64 %rdi.0.lcssa.reload) store i64 4294967294, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %8 = call i64 @FUNC(i64* nonnull @gv_0) %9 = call i64 @FUNC(i64 %0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 0, i64* %storemerge.reg2mem br i1 %11, label LBL_4, label LBL_5 LBL_4: %12 = call i64 @FUNC(i64* nonnull @gv_0) %13 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64)) %14 = call i64 @FUNC(i64 %0) store i64 %9, i64* %6, align 8 %15 = inttoptr i64 %9 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) store i64 %17, i64* %arg1, align 8 %18 = call i64 @FUNC(i64 %16) %19 = call i64 @FUNC(i64 %16) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 %16, i64* %rdi.0.lcssa.reg2mem br i1 %21, label LBL_3, label LBL_2 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 3, 5, 4, 0, 1, 2 } uselistorder i64* %rdi.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* @gv_0, { 2, 0, 1 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i64 (i64)* @cant_mount, { 1, 0 } uselistorder i64 (i64)* @mutex_lock, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
dns_stream_complete_19056
dns_stream_complete
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = and i64 %arg2, 4294967295 %8 = call i64 @FUNC(i64 %4, i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, -11 br i1 %10, label LBL_6, label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %4) br label LBL_6 LBL_5: %12 = call i64 @FUNC(i64 %4) br label LBL_6 LBL_6: %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_7, label LBL_8 LBL_7: %17 = call i64 @FUNC(i64 %4) br label LBL_8 LBL_8: ret i64 0 uselistorder i64 %4, { 3, 2, 4, 0, 1 } uselistorder i64 (i64)* @dns_stream_stop, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
GENERAL_NAME_get0_value_7201
GENERAL_NAME_get0_value
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 = icmp eq i64* %arg2, null %3 = trunc i64 %1 to i32 br i1 %2, label LBL_2, label LBL_1 LBL_1: %4 = bitcast i64* %arg2 to i32* store i32 %3, i32* %4, align 4 br label LBL_2 LBL_2: %5 = and i64 %1, 4294967295 store i64 %5, i64* @0, align 8 store i64 0, i64* %rax.0.reg2mem switch i32 %3, label LBL_10 [ i32 1, label LBL_3 i32 2, label LBL_4 i32 3, label LBL_5 i32 4, label LBL_6 i32 5, label LBL_6 i32 6, label LBL_6 i32 7, label LBL_7 i32 8, label LBL_8 i32 9, label LBL_9 ] LBL_3: %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 store i64 %9, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %10 = ptrtoint i32* %arg1 to i64 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 store i64 %13, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 store i64 %17, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %18 = ptrtoint i32* %arg1 to i64 %19 = add i64 %18, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 store i64 %21, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %22 = ptrtoint i32* %arg1 to i64 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %26 = ptrtoint i32* %arg1 to i64 %27 = add i64 %26, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 store i64 %29, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %30 = ptrtoint i32* %arg1 to i64 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 store i64 %33, 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 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i32* %arg1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_10, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
proto_register_10001
proto_register
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = zext i32 %5 to i64 %10 = call i64 @FUNC(i64 %0, i64 %8, i64 0, i64 %9, i64 0) %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = icmp eq i64 %10, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %0) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_10 LBL_3: %16 = call i64 @FUNC(i64 %0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_9, label LBL_4 LBL_4: %20 = add i64 %0, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_7, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %0) %25 = inttoptr i64 %22 to i64* store i64 %24, i64* %25, align 8 %26 = load i64, i64* %21, align 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_9, label LBL_6 LBL_6: %30 = load i32, i32* %4, align 4 %31 = add i64 %26, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = zext i32 %30 to i64 %35 = call i64 @FUNC(i64 %28, i64 %33, i64 0, i64 %34, i64 0) %36 = add i64 %26, 16 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = load i64, i64* %21, align 8 %39 = add i64 %38, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 br i1 %42, label LBL_8, label LBL_7 LBL_7: %43 = call i64 @FUNC(i64* nonnull @gv_2) %44 = add i64 %0, 40 %45 = call i64 @FUNC(i64 %44, i64* nonnull @gv_3) %46 = call i64 @FUNC(i64 %0) %47 = call i64 @FUNC(i64* nonnull @gv_2) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_8: %48 = inttoptr i64 %38 to i64* %49 = load i64, i64* %48, align 8 %50 = call i64 @FUNC(i64 %49) br label LBL_9 LBL_9: %51 = add i64 %0, 48 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %53) %55 = load i64, i64* %12, align 8 %56 = call i64 @FUNC(i64 %55) store i64 0, i64* %12, align 8 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 3, 8, 7, 1, 2, 4, 0, 5, 6, 10, 9 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64, i64, i64, i64, i64)* @kmem_cache_create, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_9, { 2, 0, 1 } }
0
BinRealVul
do_sched_cfs_period_timer_6688
do_sched_cfs_period_timer
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, inttoptr (i64 -1 to i64*) store i64 1, i64* %rax.0.reg2mem br i1 %0, label LBL_9, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %2 = add i64 %1, 44 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = ashr exact i64 %sext, 32 %10 = add i64 %8, %9 store i64 %10, i64* %7, align 8 %11 = add i64 %1, 32 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp ne i32 %13, 0 %15 = icmp eq i1 %5, false %or.cond = icmp eq i1 %15, %14 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_9, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %1) %17 = icmp eq i1 %15, false br i1 %17, label LBL_4, label LBL_3 LBL_3: store i32 1, i32* %12, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %18 = add i64 %1, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %20, %9 store i64 %21, i64* %19, align 8 %22 = add i64 %1, 24 %23 = inttoptr i64 %22 to i64* %24 = add i64 %1, 36 %25 = inttoptr i64 %24 to i32* %26 = add i64 %1, 40 br label LBL_6 LBL_5: store i32 1, i32* %25, align 4 %27 = call i64 @FUNC(i64 %26, i64 %arg3) %28 = call i64 @FUNC(i64 %1, i64 %35) %29 = call i64 @FUNC(i64 %26, i64 %arg3) store i32 0, i32* %25, align 4 %30 = call i64 @FUNC(i64 %2) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = call i64 @FUNC(i64 %22, i64 %28) %34 = icmp eq i1 %32, false br i1 %34, label LBL_8, label LBL_6 LBL_6: %35 = load i64, i64* %23, align 8 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_8, label LBL_7 LBL_7: %37 = load i32, i32* %25, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_5, label LBL_8 LBL_8: store i32 0, i32* %12, align 4 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 %35, { 1, 0 } uselistorder i32* %25, { 2, 0, 1 } uselistorder i1 %15, { 1, 0 } uselistorder i32* %12, { 1, 0, 2 } uselistorder i64 %1, { 1, 0, 3, 2, 4, 6, 5, 7, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i1 false, { 0, 2, 1, 3 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1, 4, 5, 6 } uselistorder i64 (i64)* @list_empty, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 3, 1, 0 } uselistorder label LBL_8, { 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
jas_seq2d_create_11799
jas_seq2d_create
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %sext5 = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext5, 32 %2 = trunc i64 %arg3 to i32 %sext7 = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext7, 32 %4 = icmp sgt i32 %0, %2 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %6 = trunc i64 %3 to i32 %7 = icmp sgt i32 %5, %6 br i1 %7, label LBL_2, label LBL_3 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %sext = mul i64 %arg1, 4294967296 %8 = ashr exact i64 %sext, 32 %sext6 = mul i64 %arg3, 4294967296 %9 = ashr exact i64 %sext6, 32 %10 = sub nsw i64 %9, %8 %11 = sub nsw i64 %3, %1 %12 = and i64 %10, 4294967295 %13 = and i64 %11, 4294967295 %14 = call i64 @FUNC(i64 %13, i64 %12) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = inttoptr i64 %14 to i32* %18 = trunc i64 %8 to i32 store i32 %18, i32* %17, align 4 %19 = trunc i64 %1 to i32 %20 = add i64 %14, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = trunc i64 %9 to i32 %23 = add i64 %14, 8 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = trunc i64 %3 to i32 %26 = add i64 %14, 12 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 store i64 %14, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 2, 0, 1 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 32, { 1, 3, 0, 2 } uselistorder i64 4294967296, { 1, 3, 0, 2 } uselistorder i32 1, { 0, 8, 5, 4, 3, 2, 1, 7, 6 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
restart_coroutine_1135
restart_coroutine
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) ret i64 %2 }
0
BinRealVul
mvneta_stop_17493
mvneta_stop
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = add i64 %1, 4 %4 = inttoptr i64 %3 to i8* store i8 1, i8* %4, align 1 %5 = call i64 @FUNC(i64 %1) %6 = call i64 @FUNC(i64 %1) %7 = add i64 %1, 8 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %1) %10 = call i64 @FUNC(i64 4198684, i64 %1, i64 1) %11 = add i64 %1, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = bitcast i64* %rdi to i32* %15 = load i32, i32* %14, align 8 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16, i64 %13) %18 = call i64 @FUNC(i64 %1) %19 = call i64 @FUNC(i64 %1) ret i64 0 }
1
BinRealVul
iscsi_boot_destroy_kset_18099
iscsi_boot_destroy_kset
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge356.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_4, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) store i64 %arg1, i64* %storemerge356.reg2mem br label LBL_2 LBL_2: %storemerge356.reload = load i64, i64* %storemerge356.reg2mem %2 = inttoptr i64 %storemerge356.reload to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %storemerge356.reload) %5 = icmp eq i64 %3, 0 store i64 %3, i64* %storemerge356.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_3: %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) store i64 %9, 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 %storemerge356.reload, { 1, 0 } uselistorder i64* %storemerge356.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @iscsi_boot_remove_kobj, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 0, 1, 3 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
vnc_listen_read_15122
vnc_listen_read
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 store i32 16, i32* %sv_1, align 4 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i32 %4 = bitcast i64* %sv_0 to %sockaddr* %5 = call i32 @accept(i32 %3, %sockaddr* nonnull %4, i32* nonnull %sv_1) %6 = icmp eq i32 %5, -1 store i64 -1, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i32* %arg1 to i64 %8 = zext i32 %5 to i64 %9 = call i64 @FUNC(i64 %7, i64 %8) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
udhcp_get_option_4220
udhcp_get_option
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_2.05.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %0, 300 %3 = add i64 %0, 428 %4 = trunc i64 %1 to i32 store i32 300, i32* %sv_0.07.reg2mem store i64 %0, i64* %sv_1.06.reg2mem store i32 0, i32* %sv_2.05.reg2mem br label LBL_2 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_2: %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %6 = inttoptr i64 %sv_1.06.reload to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = add i32 %sv_0.07.reload, -1 %11 = add i64 %sv_1.06.reload, 1 store i32 %sv_2.05.reload, i32* %sv_2.2.reg2mem store i64 %11, i64* %sv_1.1.reg2mem store i32 %10, i32* %sv_0.1.reg2mem br label LBL_17 LBL_4: %12 = icmp eq i8 %7, -1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_9, label LBL_5 LBL_5: %14 = and i32 %sv_2.05.reload, 257 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = or i32 %sv_2.05.reload, 257 store i32 %17, i32* %sv_2.2.reg2mem store i64 %2, i64* %sv_1.1.reg2mem store i32 128, i32* %sv_0.1.reg2mem br label LBL_17 LBL_7: %18 = and i32 %sv_2.05.reload, 514 %19 = icmp eq i32 %18, 2 %20 = icmp eq i1 %19, false br i1 %20, label LBL_18, label LBL_8 LBL_8: %21 = or i32 %sv_2.05.reload, 514 store i32 %21, i32* %sv_2.2.reg2mem store i64 %3, i64* %sv_1.1.reg2mem store i32 64, i32* %sv_0.1.reg2mem br label LBL_17 LBL_9: %22 = icmp slt i32 %sv_0.07.reload, 2 br i1 %22, label LBL_1, label LBL_10 LBL_10: %23 = add i64 %sv_1.06.reload, 1 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = zext i8 %25 to i32 %27 = add nuw nsw i32 %26, 2 %28 = sub i32 %sv_0.07.reload, %27 %29 = icmp slt i32 %28, 0 br i1 %29, label LBL_1, label LBL_11 LBL_11: %30 = zext i8 %7 to i32 %31 = icmp eq i32 %4, %30 %32 = icmp eq i1 %31, false br i1 %32, label LBL_14, label LBL_12 LBL_12: %33 = icmp eq i8 %25, 0 br i1 %33, label LBL_1, label LBL_13 LBL_13: %34 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %sv_1.06.reload) %35 = add i64 %sv_1.06.reload, 2 store i64 %35, i64* %rax.0.reg2mem br label LBL_19 LBL_14: %36 = icmp eq i8 %7, 82 %37 = icmp eq i1 %36, false %38 = icmp ult i32 %27, 3 %or.cond = or i1 %37, %38 store i32 %sv_2.05.reload, i32* %sv_2.1.reg2mem br i1 %or.cond, label LBL_16, label LBL_15 LBL_15: %39 = add i64 %sv_1.06.reload, 2 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = zext i8 %41 to i32 %43 = or i32 %sv_2.05.reload, %42 store i32 %43, i32* %sv_2.1.reg2mem br label LBL_16 LBL_16: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %44 = zext i32 %27 to i64 %45 = add i64 %sv_1.06.reload, %44 store i32 %sv_2.1.reload, i32* %sv_2.2.reg2mem store i64 %45, i64* %sv_1.1.reg2mem store i32 %28, i32* %sv_0.1.reg2mem br label LBL_17 LBL_17: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %46 = icmp eq i32 %sv_0.1.reload, 0 %47 = icmp slt i32 %sv_0.1.reload, 0 %48 = icmp eq i1 %47, false %49 = icmp eq i1 %46, false %50 = icmp eq i1 %48, %49 store i32 %sv_0.1.reload, i32* %sv_0.07.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.06.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.05.reg2mem br i1 %50, label LBL_2, label LBL_1 LBL_18: %51 = and i64 %1, 4294967295 %52 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %51) store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.1.reload, { 2, 1, 0 } uselistorder i8 %7, { 1, 0, 2, 3 } uselistorder i64 %sv_1.06.reload, { 4, 1, 6, 5, 3, 0, 2 } uselistorder i32 %sv_2.05.reload, { 6, 1, 5, 4, 3, 2, 0 } uselistorder i64 %0, { 0, 2, 1 } uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.05.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.2.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 2, { 2, 0, 1 } uselistorder i1 false, { 7, 0, 1, 2, 3, 4, 5, 6 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 2, 3, 0, 1 } }
0
BinRealVul
iucv_accept_poll_8015
iucv_accept_poll
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 8 %3 = icmp eq i64 %2, 0 store i64 %2, i64* %.in.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_3, label LBL_2 LBL_1: %4 = inttoptr i64 %.in.reload to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 1 %7 = icmp eq i1 %6, false store i64 %10, i64* %.in.reg2mem store i64 65, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %.in.reload = load i64, i64* %.in.reg2mem %8 = add i64 %.in.reload, 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 0, i64* %storemerge.reg2mem br i1 %12, label LBL_1, label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 1, 0 } uselistorder i64 %.in.reload, { 1, 0 } uselistorder i64* %.in.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
fsl_qspi_unprep_18329
fsl_qspi_unprep
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 16 %7 = call i64 @FUNC(i64 %6) ret i64 %7 uselistorder i64 (i64)* @clk_disable, { 1, 0 } }
1
BinRealVul
alloc_sequence_buffers_16872
alloc_sequence_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem24 = alloca i32 %storemerge710111416.reg2mem = alloca i32 %storemerge6121318.reg2mem = alloca i32 %.reg2mem22 = alloca i32 %.reg2mem20 = alloca i32 %storemerge710111415.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge219.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %rdi to i32* %4 = trunc i64 %1 to i32 %5 = sdiv i32 %4, 64 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = sdiv i32 %8, 64 %10 = add i64 %2, 120 %11 = inttoptr i64 %10 to i32* %12 = add i64 %2, 124 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %storemerge219.reg2mem br label LBL_1 LBL_1: %storemerge219.reload = load i32, i32* %storemerge219.reg2mem %14 = icmp eq i32 %storemerge219.reload, 0 br i1 %14, label LBL_2, label LBL_3 LBL_2: %15 = load i32, i32* %3, align 8 %16 = load i32, i32* %7, align 4 store i32 %16, i32* %.reg2mem store i32 64, i32* %storemerge710111415.reg2mem store i32 %15, i32* %.reg2mem20 br label LBL_4 LBL_3: %17 = load i32, i32* %11, align 4 %18 = urem i32 %17, 32 %19 = lshr i32 64, %18 %20 = load i32, i32* %13, align 4 %21 = urem i32 %20, 32 %22 = lshr i32 64, %21 %23 = load i32, i32* %3, align 8 %24 = ashr i32 %23, %18 %25 = load i32, i32* %7, align 4 %26 = ashr i32 %25, %21 %27 = icmp slt i32 %22, 64 store i32 %26, i32* %.reg2mem store i32 %19, i32* %storemerge710111415.reg2mem store i32 %24, i32* %.reg2mem20 store i32 %26, i32* %.reg2mem22 store i32 %22, i32* %storemerge6121318.reg2mem store i32 %19, i32* %storemerge710111416.reg2mem store i32 %24, i32* %.reg2mem24 br i1 %27, label LBL_5, label LBL_4 LBL_4: %.reload21 = load i32, i32* %.reg2mem20 %storemerge710111415.reload = load i32, i32* %storemerge710111415.reg2mem %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %.reg2mem22 store i32 64, i32* %storemerge6121318.reg2mem store i32 %storemerge710111415.reload, i32* %storemerge710111416.reg2mem store i32 %.reload21, i32* %.reg2mem24 br label LBL_5 LBL_5: %.reload25 = load i32, i32* %.reg2mem24 %storemerge710111416.reload = load i32, i32* %storemerge710111416.reg2mem %storemerge6121318.reload = load i32, i32* %storemerge6121318.reg2mem %.reload23 = load i32, i32* %.reg2mem22 %28 = zext i32 %.reload25 to i64 %29 = call i64 @FUNC(i64 %28, i64 5) %30 = trunc i64 %29 to i32 %31 = add i32 %30, 7 %32 = and i32 %31, -8 %33 = zext i32 %.reload23 to i64 %34 = call i64 @FUNC(i64 %33, i64 5) %35 = trunc i64 %34 to i32 %36 = ashr i32 %storemerge6121318.reload, 1 %37 = add nsw i32 %36, 32 %38 = add i32 %37, %35 %39 = add i32 %32, %storemerge710111416.reload %40 = mul i32 %39, %38 %41 = sext i32 %40 to i64 %42 = mul i64 %41, 4 %43 = call i64 @FUNC(i64 %42) %44 = sext i32 %storemerge219.reload to i64 %45 = mul nsw i64 %44, 24 %46 = add i64 %45, %2 %47 = add i64 %46, 8 %48 = inttoptr i64 %47 to i64* store i64 %43, i64* %48, align 8 %49 = add i32 %32, 16 %50 = sext i32 %49 to i64 %51 = mul i64 %50, 4 %52 = call i64 @FUNC(i64 %51) %53 = add i64 %46, 16 %54 = inttoptr i64 %53 to i64* store i64 %52, i64* %54, align 8 %55 = load i64, i64* %48, align 8 %56 = mul i32 %32, 32 %57 = sext i32 %56 to i64 %58 = add i64 %55, %57 %59 = add i64 %46, 24 %60 = inttoptr i64 %59 to i64* store i64 %58, i64* %60, align 8 %61 = load i64, i64* %48, align 8 %62 = icmp eq i64 %61, 0 br i1 %62, label LBL_10, label LBL_6 LBL_6: %63 = load i64, i64* %54, align 8 %64 = icmp eq i64 %63, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_7, label LBL_10 LBL_7: %66 = add nuw i32 %storemerge219.reload, 1 %67 = icmp ult i32 %66, 3 store i32 %66, i32* %storemerge219.reg2mem br i1 %67, label LBL_1, label LBL_8 LBL_8: %68 = load i32, i32* %3, align 8 %69 = load i32, i32* %7, align 4 %70 = mul i32 %9, %5 %71 = sext i32 %70 to i64 %72 = call i64 @FUNC(i64 %71) %73 = add i64 %2, 80 %74 = inttoptr i64 %73 to i64* store i64 %72, i64* %74, align 8 %75 = mul i32 %70, 16 %76 = sext i32 %75 to i64 %77 = call i64 @FUNC(i64 %76) %78 = add i64 %2, 88 %79 = inttoptr i64 %78 to i64* store i64 %77, i64* %79, align 8 %80 = mul i32 %68, 64 %81 = add i32 %80, 4096 %82 = sext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82) %84 = add i64 %2, 96 %85 = inttoptr i64 %84 to i64* store i64 %83, i64* %85, align 8 %86 = add i32 %68, 128 %87 = mul i32 %69, 64 %88 = mul i32 %87, %86 %89 = sext i32 %88 to i64 %90 = call i64 @FUNC(i64 %89) %91 = add i64 %2, 104 %92 = inttoptr i64 %91 to i64* store i64 %90, i64* %92, align 8 %93 = call i64 @FUNC(i64 %82) %94 = add i64 %2, 112 %95 = inttoptr i64 %94 to i64* store i64 %93, i64* %95, align 8 %96 = load i64, i64* %74, align 8 %97 = icmp eq i64 %96, 0 br i1 %97, label LBL_10, label LBL_9 LBL_9: %98 = load i64, i64* %79, align 8 %99 = icmp eq i64 %98, 0 %100 = icmp eq i1 %99, false %spec.select9 = select i1 %100, i64 0, i64 4294967284 ret i64 %spec.select9 LBL_10: ret i64 4294967284 uselistorder i32 %68, { 1, 0 } uselistorder i32 %32, { 0, 2, 1 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %18, { 1, 0 } uselistorder i32* %7, { 1, 2, 0, 3 } uselistorder i32* %3, { 1, 2, 0 } uselistorder i64 %2, { 1, 2, 3, 4, 5, 0, 7, 6, 8 } uselistorder i32* %storemerge219.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem22, { 0, 2, 1 } uselistorder i32* %storemerge6121318.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge710111416.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem24, { 0, 2, 1 } uselistorder i64 (i64)* @av_malloc, { 4, 3, 2, 1, 0, 5 } uselistorder i64 24, { 1, 0 } uselistorder i64 (i64, i64)* @CALC_PADDING, { 1, 0 } uselistorder i32 32, { 0, 4, 1, 2, 3 } uselistorder i32 64, { 2, 3, 0, 6, 7, 8, 1, 4, 5 } uselistorder label LBL_10, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
skb_orphan_try_10921
skb_orphan_try
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = icmp eq i64* %arg1, null store i64 %2, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = trunc i64 %1 to i32 store i32 %15, i32* %11, align 4 br label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %2) store i64 %16, 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 %2, { 1, 2, 3, 0 } }
0
BinRealVul
qmp_guest_get_time_8274
qmp_guest_get_time
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.reg2mem = alloca i64 %1 = load i32, i32* %0 %sv_0 = alloca i128, align 8 %2 = bitcast i128* %sv_0 to i64* %3 = call i64 @FUNC(i64* nonnull %2) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %7, i64 %10, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0)) store i64 -1, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = mul i32 %1, 1000 %13 = sext i32 %12 to i64 store i64 %13, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
clone_mnt_11396
clone_mnt
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = add i64 %arg1, 24 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 -12, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_24 LBL_1: %6 = urem i32 %arg3, 8 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i64 %3, 32 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 br label LBL_4 LBL_3: %10 = add i64 %arg1, 32 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %3, 32 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 br label LBL_4 LBL_4: %15 = and i32 %arg3, 8 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_7, label LBL_5 LBL_5: %17 = add i64 %3, 32 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %3) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_23, label LBL_7 LBL_7: %26 = add i64 %arg1, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = and i32 %28, -33 %30 = add i64 %3, 8 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = call i64 @FUNC(i64 %arg1) %33 = inttoptr i64 %3 to i64* store i64 %arg1, i64* %33, align 8 %34 = call i64 @FUNC(i64 %arg2) %35 = add i64 %3, 16 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = add i64 %3, 128 %38 = inttoptr i64 %37 to i64* store i64 %34, i64* %38, align 8 %39 = add i64 %3, 136 %40 = inttoptr i64 %39 to i64* store i64 %3, i64* %40, align 8 %41 = call i64 @FUNC(i64* nonnull @gv_0) %42 = add i64 %3, 64 %43 = call i64 @FUNC(i64 %42, i64 %26) %44 = call i64 @FUNC(i64* nonnull @gv_0) %45 = urem i32 %arg3, 2 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_10, label LBL_8 LBL_8: %48 = and i32 %arg3, 4 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_11, label LBL_9 LBL_9: %50 = call i64 @FUNC(i64 %arg1) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_11, label LBL_10 LBL_10: %53 = add i64 %arg1, 48 %54 = add i64 %3, 80 %55 = call i64 @FUNC(i64 %54, i64 %53) %56 = add i64 %3, 40 %57 = inttoptr i64 %56 to i64* store i64 %arg1, i64* %57, align 8 %58 = call i64 @FUNC(i64 %3) br label LBL_18 LBL_11: %59 = and i32 %arg3, 2 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false br i1 %61, label LBL_18, label LBL_12 LBL_12: %62 = icmp eq i1 %16, false br i1 %62, label LBL_14, label LBL_13 LBL_13: %63 = call i64 @FUNC(i64 %arg1) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 br i1 %65, label LBL_15, label LBL_14 LBL_14: %66 = add i64 %arg1, 96 %67 = add i64 %3, 96 %68 = call i64 @FUNC(i64 %67, i64 %66) br label LBL_15 LBL_15: %69 = call i64 @FUNC(i64 %arg1) %70 = trunc i64 %69 to i32 %71 = icmp eq i32 %70, 0 br i1 %71, label LBL_17, label LBL_16 LBL_16: %72 = add i64 %arg1, 80 %73 = add i64 %3, 80 %74 = call i64 @FUNC(i64 %73, i64 %72) br label LBL_17 LBL_17: %75 = add i64 %arg1, 40 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = add i64 %3, 40 %79 = inttoptr i64 %78 to i64* store i64 %77, i64* %79, align 8 br label LBL_18 LBL_18: br i1 %16, label LBL_20, label LBL_19 LBL_19: %80 = call i64 @FUNC(i64 %3) br label LBL_20 LBL_20: %81 = and i32 %arg3, 16 %82 = icmp eq i32 %81, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %82, label LBL_24, label LBL_21 LBL_21: %83 = add i64 %arg1, 112 %84 = call i64 @FUNC(i64 %83) %85 = trunc i64 %84 to i32 %86 = icmp eq i32 %85, 0 %87 = icmp eq i1 %86, false store i64 %3, i64* %rax.0.reg2mem br i1 %87, label LBL_24, label LBL_22 LBL_22: %88 = add i64 %3, 112 %89 = call i64 @FUNC(i64 %88, i64 %83) store i64 %3, i64* %rax.0.reg2mem br label LBL_24 LBL_23: %90 = call i64 @FUNC(i64 %3) %sext = mul i64 %22, 4294967296 %91 = ashr exact i64 %sext, 32 store i64 %91, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %16, { 1, 0, 2 } uselistorder i64 %3, { 3, 2, 10, 1, 0, 9, 7, 6, 8, 11, 12, 13, 14, 16, 15, 17, 18, 19, 20, 5, 4, 22, 21, 23 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 2, 1, 4 } uselistorder i64 (i64, i64)* @list_add, { 3, 2, 1, 0 } uselistorder i64 (i64)* @IS_MNT_SHARED, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 6, 0 } uselistorder i32 %arg3, { 3, 2, 4, 0, 5, 1 } uselistorder i64 %arg1, { 6, 3, 2, 4, 5, 1, 8, 7, 0, 10, 9, 11, 12, 13 } uselistorder label LBL_24, { 4, 2, 1, 0, 3 } }
1
BinRealVul
convert_mode_10550
convert_mode
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = urem i64 %arg2, 2 %1 = icmp eq i64 %0, 0 store i64 3, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 4, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_5 LBL_2: %4 = icmp slt i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = ptrtoint i64* %arg1 to i64 %7 = sub i64 0, %6 store i64 %7, i64* %arg1, align 8 store i64 5, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %8 = and i64 %arg2, 2 %9 = icmp eq i64 %8, 0 %. = select i1 %9, i64 7, i64 6 store i64 %., i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 0, 3, 1, 2 } uselistorder label LBL_5, { 0, 3, 1, 2 } }
0
BinRealVul
rtsp_listen_7428
rtsp_listen
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i32, align 4 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %sv_10 = alloca i64, align 8 %sv_11 = alloca i32, align 4 %sv_12 = alloca i64, align 8 store i32 0, i32* %sv_11, align 4 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 0, i64 0) %sext = mul i64 %6, 4294967296 %7 = ashr exact i64 %sext, 32 store i64 %7, i64* %2, align 8 %8 = icmp eq i64 %sext, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %rax.0.shrunk.reg2mem br i1 %9, label LBL_2, label LBL_20 LBL_2: %10 = bitcast i32* %sv_6 to i64* %11 = call i64 @FUNC(i64* nonnull %sv_8, i64 128, i64* nonnull %sv_9, i64 128, i64* nonnull %sv_10, i64 128, i64* nonnull %10, i64* nonnull %sv_7, i64 512) %12 = load i32, i32* %sv_6, align 4 %13 = add i64 %0, 32 %14 = zext i32 %12 to i64 %15 = call i64 @FUNC(i64 %13, i64 500, i64* nonnull %sv_8, i64 0, i64* nonnull %sv_10, i64 %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %16 = bitcast i64* %sv_8 to i8* %17 = call i32 @strcmp(i8* nonnull %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %20 = load i32, i32* %sv_6, align 4 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i32 %20, i32* %.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %spec.select = select i1 %19, i32 554, i32 322 store i32 %spec.select, i32* %sv_6, align 4 store i32 %spec.select, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %23 = zext i32 %.reload to i64 %24 = ptrtoint i64* %sv_5 to i64 %25 = select i1 %19, i64* bitcast ([4 x i8]* @gv_2 to i64*), i64* bitcast ([4 x i8]* @gv_3 to i64*) %26 = call i64 @FUNC(i64 %24, i64 500, i64* %25, i64 0, i64* nonnull %sv_10, i64 %23, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0)) %27 = load i64, i64* %2, align 8 %28 = add i64 %0, 16 %29 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 0, i64 %28, i64 0, i64 %27) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i64 %28, i64 0, i64 %27) store i64 %29, i64* %rax.0.shrunk.reg2mem br label LBL_20 LBL_6: %33 = ptrtoint i64* %sv_12 to i64 %34 = inttoptr i64 %28 to i32* store i32 0, i32* %34, align 4 %35 = add i64 %0, 8 %36 = inttoptr i64 %35 to i64* store i64 %0, i64* %36, align 8 %37 = add i64 %33, -8 %38 = inttoptr i64 %37 to i64* %39 = ptrtoint i32* %sv_1 to i64 %40 = add i64 %33, -16 %41 = inttoptr i64 %40 to i64* br label LBL_7 LBL_7: %42 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4, i64 4096, i32* nonnull %sv_11) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %43, 0 %45 = icmp eq i1 %44, false store i64 %42, i64* %rax.0.shrunk.reg2mem br i1 %45, label LBL_8, label LBL_20 LBL_8: %46 = load i32, i32* %sv_11, align 4 store i64 %39, i64* %38, align 8 store i64 10, i64* %41, align 8 %sext5 = mul i64 %42, 4294967296 %47 = ashr exact i64 %sext5, 32 %48 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4, i32 %46, i64* nonnull %sv_2, i64 500, i64* nonnull %sv_3, i64 %47, i64 ptrtoint (i32* @0 to i64)) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_10, label LBL_9 LBL_9: %51 = ptrtoint i64* %sv_3 to i64 %52 = ptrtoint i64* %sv_2 to i64 %53 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %52, i64 500, i64 %51) store i64 %48, i64* %rax.0.shrunk.reg2mem br label LBL_20 LBL_10: %54 = load i32, i32* %sv_1, align 4 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_12, label LBL_11 LBL_11: %57 = call i64 @FUNC(i64 %0) %58 = trunc i64 %57 to i32 store i32 1, i32* %34, align 4 store i32 %58, i32* %sv_0.0.reg2mem br label LBL_18 LBL_12: %59 = icmp eq i32 %54, 1 %60 = icmp eq i1 %59, false br i1 %60, label LBL_14, label LBL_13 LBL_13: %61 = call i64 @FUNC(i64 %0) %62 = trunc i64 %61 to i32 store i32 %62, i32* %sv_0.0.reg2mem br label LBL_18 LBL_14: %63 = icmp eq i32 %54, 2 %64 = icmp eq i1 %63, false br i1 %64, label LBL_16, label LBL_15 LBL_15: %65 = call i64 @FUNC(i64 %0) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false store i32 %66, i32* %sv_0.0.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %68, label LBL_18, label LBL_20 LBL_16: %69 = icmp eq i32 %54, 3 %70 = icmp eq i1 %69, false store i32 0, i32* %sv_0.0.reg2mem br i1 %70, label LBL_18, label LBL_17 LBL_17: %71 = call i64 @FUNC(i64 %0, i64* nonnull %sv_10, i64* nonnull %sv_2) %72 = trunc i64 %71 to i32 store i32 %72, i32* %sv_0.0.reg2mem br label LBL_18 LBL_18: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %73 = icmp eq i32 %sv_0.0.reload, 0 br i1 %73, label LBL_7, label LBL_19 LBL_19: %74 = call i64 @FUNC(i64 %0) store i64 22, i64* %rax.0.shrunk.reg2mem br label LBL_20 LBL_20: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %42, { 1, 0, 2 } uselistorder i64 %sext, { 1, 0 } uselistorder i64* %2, { 1, 0, 2 } uselistorder i32* %sv_11, { 1, 0, 2 } uselistorder i32* %sv_6, { 3, 2, 1, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i32* %sv_1, { 1, 0 } uselistorder i64 %0, { 0, 6, 5, 4, 3, 2, 7, 8, 10, 9, 1, 12, 11, 13, 14 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 1, 5, 2, 4, 3 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 (i64, i64, i64*, i64, i64*, i64, i8*)* @ff_url_join, { 1, 0 } uselistorder i64 128, { 2, 1, 0 } uselistorder i64 32, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 1 } uselistorder label LBL_20, { 3, 0, 4, 1, 5, 2 } }
1
BinRealVul
am_check_url_11990
am_check_url
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = inttoptr i64 %arg2 to i8* %2 = load i8, i8* %1, align 1 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false store i8 %2, i8* %.reg2mem store i64 %arg2, i64* %storemerge1.reg2mem store i64 200, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %.reload = load i8, i8* %.reg2mem %5 = icmp ugt i8 %.reload, 31 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 0, i64 1, i64 400, i64 %0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) store i64 400, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %7 = icmp eq i8 %.reload, 92 %8 = icmp eq i1 %7, false br i1 %8, label LBL_5, label LBL_4 LBL_4: %9 = call i64 @FUNC(i64 0, i64 1, i64 400, i64 %0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0)) store i64 400, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %10 = add i64 %storemerge1.reload, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false store i8 %12, i8* %.reg2mem store i64 %10, i64* %storemerge1.reg2mem store i64 200, i64* %rax.0.reg2mem br i1 %14, label LBL_1, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %.reload, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 (i64, i64, i64, i64, i8*)* @AM_LOG_RERROR, { 1, 0 } uselistorder i64 400, { 1, 2, 0, 3 } uselistorder i64 1, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i8 0, { 2, 0, 1 } uselistorder label LBL_6, { 0, 2, 3, 1 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
bmds_aio_inflight_642
bmds_aio_inflight
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp sgt i64 %1, %arg2 store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = add i64 %arg2, 63 %4 = icmp slt i64 %arg2, 0 %5 = select i1 %4, i64 %3, i64 %arg2 %6 = udiv i64 %5, 64 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %sext = mul i64 %6, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = udiv i64 %10, 64 %12 = mul i64 %11, 8 %13 = add i64 %9, %12 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = urem i64 %6, 64 %17 = shl i64 1, %16 %18 = and i64 %15, %17 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false %21 = zext i1 %20 to i64 store i64 %21, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 64, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 2, 3, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
r_print_free_17489
r_print_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = call i64 @FUNC(i64 %arg1) %3 = inttoptr i64 %arg1 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %arg1, 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_3, label LBL_2 LBL_2: %8 = inttoptr i64 %6 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* call void @free(i64* %10) %11 = load i64, i64* %5, align 8 %12 = inttoptr i64 %11 to i64* call void @free(i64* %12) store i64 0, i64* %5, align 8 br label LBL_3 LBL_3: %13 = add i64 %arg1, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* call void @free(i64* %16) %17 = add i64 %arg1, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* call void @free(i64* %20) call void @free(i64* %3) br label LBL_4 LBL_4: ret i64 0 uselistorder i64* %5, { 1, 0, 2 } uselistorder void (i64*)* @free, { 4, 2, 5, 3, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
e1000_can_receive_3068
e1000_can_receive
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 ret i64 %2 }
0
BinRealVul
qemu_fopen_rdma_3258
qemu_fopen_rdma
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg2) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 16) %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = bitcast i64* %rsi to i8* %7 = load i8, i8* %6, align 8 %8 = icmp eq i8 %7, 119 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %4, i64* nonnull @gv_0) %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 store i64 %10, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %13 = call i64 @FUNC(i64 %4, i64* nonnull @gv_1) %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 store i64 %13, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0, 2, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64*)* @qemu_fopen_ops, { 1, 0 } uselistorder i8 119, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
ccid_on_apdu_from_guest_3250
ccid_on_apdu_from_guest
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 1 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %11 = add i64 %5, 5 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i64 %15 = add i64 %5, 4 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i64 %19 = call i64 @FUNC(i64 %6, i64 %18, i64 %14) store i64 %19, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %20 = and i64 %3, 4294967295 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = add i64 %5, 5 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = and i64 %21, 4294967295 %27 = zext i8 %25 to i64 %28 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([24 x i8]* @gv_2 to i64), i64 %27, i64 %26) %29 = call i64 @FUNC(i64 %6, i64 %5) %30 = icmp ne i64* %arg1, null %31 = icmp ult i32 %22, 257 %or.cond = icmp eq i1 %30, %31 br i1 %or.cond, label LBL_3, label LBL_4 LBL_3: %32 = add i64 %5, 8 %33 = call i64 @FUNC(i64 %6, i64 %32, i32 %22) store i64 %33, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %34 = call i64 @FUNC(i64 %6, i64 2, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([24 x i8]* @gv_2 to i64), i64 %27, i64 %26) store i64 %34, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %22, { 1, 0 } uselistorder i64 %6, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i64 %5, { 2, 3, 4, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 0, 2, 3 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @DPRINTF, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 0 } }
0
BinRealVul
bgp_address_del_4482
bgp_address_del
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = trunc i64 %1 to i32 store i32 %2, i32* %sv_0, align 4 %3 = load i64, i64* @gv_0, align 8 %4 = call i64 @FUNC(i64 %3, i32* nonnull %sv_0) %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, -1 store i32 %9, i32* %7, align 4 %10 = zext i32 %9 to i64 %11 = icmp eq i32 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load i64, i64* @gv_0, align 8 %14 = call i64 @FUNC(i64 %13, i64 %4) %15 = call i64 @FUNC(i64 0, i64 %4) store i64 %15, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %9, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
stco_Write_10294
stco_Write
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %8 = trunc i64 %1 to i32 %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %2, i64 %9) %11 = icmp eq i32 %8, 0 store i64 0, i64* %storemerge.reg2mem br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %14 = load i64, i64* %13, align 8 %15 = mul i64 %indvars.iv.reload, 4 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %2, i64 %19) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %9 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 1, 0 } }
0
BinRealVul
_jabber_shutdown_4711
_jabber_shutdown
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = load i64, i64* @gv_0, align 8 %5 = inttoptr i64 %4 to i64* call void @free(i64* %5) ret i64 ptrtoint (i32* @0 to i64) }
0
BinRealVul
get_busid_priv_13349
get_busid_priv
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = call i64 @FUNC(i64 %arg1) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = load i64, i64* @gv_1, align 8 %spec.select = select i1 %3, i64 0, i64 %4 %5 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %spec.select }
1
BinRealVul
handle_parse_opts_3077
handle_parse_opts
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0)) %4 = icmp eq i64 %1, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_3, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %6 = icmp eq i64 %2, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %9 = call i64 @FUNC(i64 %2) store i64 %9, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i8*)* @error_report, { 1, 0 } uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 } }
0
BinRealVul
Jsi_InterpOnDelete_10259
Jsi_InterpOnDelete
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg2, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i64 %arg3, i64 %arg2) store i64 %2, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %3 = call i64 @FUNC(i64 %0, i64 %arg3) %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_3 LBL_3: %5 = call i64 @FUNC(i64 %3) store i64 %5, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 %arg3, { 1, 0 } }
0
BinRealVul
async_polkit_query_free_11093
async_polkit_query_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_5, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %.pre = add i64 %arg1, 16 %.pre1 = inttoptr i64 %.pre to i64* br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = load i64, i64* %.pre1, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %4, i64 %6) br label LBL_4 LBL_4: %9 = load i64, i64* %.pre1, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %arg1, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %arg1, 32 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* call void @free(i64* %18) %19 = add i64 %arg1, 40 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = inttoptr i64 %arg1 to i64* call void @free(i64* %23) store i64 ptrtoint (i32* @0 to i64), 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 void (i64*)* @free, { 1, 0 } uselistorder i64 (i64)* @sd_bus_message_unref, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 3, 2, 4, 0, 5, 6, 7 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
io_close_prep_19293
io_close_prep
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 36 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = or i32 %4, 1 store i32 %5, i32* %3, align 4 %6 = bitcast i64* %rdi to i32* %7 = load i32, i32* %6, align 8 %8 = urem i32 %7, 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_12 LBL_1: %13 = bitcast i64* %rsi to i32* %14 = load i32, i32* %13, align 8 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %16, label LBL_12, label LBL_2 LBL_2: %17 = ptrtoint i64* %arg2 to i64 %18 = add i64 %17, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %22, label LBL_12, label LBL_3 LBL_3: %23 = add i64 %17, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %27, label LBL_12, label LBL_4 LBL_4: %28 = add i64 %17, 16 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %32, label LBL_12, label LBL_5 LBL_5: %33 = add i64 %17, 20 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %37, label LBL_12, label LBL_6 LBL_6: %38 = add i64 %17, 24 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %41, label LBL_7, label LBL_12 LBL_7: %42 = add i64 %0, 32 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = and i32 %44, 4 %46 = icmp eq i32 %45, 0 store i64 4294967287, i64* %rax.0.reg2mem br i1 %46, label LBL_8, label LBL_12 LBL_8: %47 = add i64 %17, 28 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 store i64 %50, i64* %rdi, align 8 %51 = call i64 @FUNC(i64 %50) %52 = trunc i64 %51 to i32 %53 = add i64 %0, 8 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %55 = add i64 %0, 24 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = icmp eq i64 %57, 0 br i1 %58, label LBL_10, label LBL_9 LBL_9: %59 = inttoptr i64 %57 to i64* %60 = load i64, i64* %59, align 8 %61 = icmp eq i64 %60, ptrtoint (i64* @gv_0 to i64) store i64 4294967287, i64* %rax.0.reg2mem br i1 %61, label LBL_12, label LBL_10 LBL_10: %62 = load i64, i64* %rdi, align 8 %63 = add i64 %62, 4 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = icmp eq i32 %65, %52 %67 = icmp eq i1 %66, false store i64 4294967287, i64* %rax.0.reg2mem br i1 %67, label LBL_11, label LBL_12 LBL_11: %68 = add i64 %0, 16 %69 = inttoptr i64 %68 to i64* store i64 0, i64* %69, align 8 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 %17, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %rdi, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 2, 1, 3, 9, 8, 7, 6, 5, 4, 10 } uselistorder i64 4294967287, { 1, 0, 2 } uselistorder i64 4294967274, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i32 4, { 1, 0 } uselistorder label LBL_12, { 10, 1, 0, 2, 8, 7, 6, 5, 4, 3, 9 } }
1
BinRealVul
nfc_llcp_data_received_12214
nfc_llcp_data_received
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) store i64 4294967277, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %2, i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
flakey_ioctl_6024
flakey_ioctl
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = inttoptr i64 %6 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 = ashr i32 %16, 9 %18 = sext i32 %17 to i64 %19 = icmp eq i64 %6, %18 store i64* %10, i64** %.pre-phi.reg2mem br i1 %19, label LBL_4, label LBL_2 LBL_2: %20 = and i64 %3, 4294967295 %21 = call i64 @FUNC(i64 0, i64 %20) %22 = trunc i64 %21 to i32 %23 = and i64 %21, 4294967295 %24 = icmp eq i32 %22, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %rax.0.reg2mem br i1 %25, label LBL_5, label LBL_2.LBL_4_crit_edge LBL_3: %.pre = inttoptr i64 %6 to i64* store i64* %.pre, i64** %.pre-phi.reg2mem br label LBL_4 LBL_4: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %26 = add i64 %6, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = load i64, i64* %.pre-phi.reload, align 8 %30 = trunc i64 %3 to i32 %31 = call i64 @FUNC(i64 %29, i32 %28, i32 %30, i64 %arg3) store i64 %31, 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 %6, { 3, 0, 1, 2 } uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dbConnect_13446
dbConnect
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = icmp eq i64 %arg1, 0 %storemerge1 = select i1 %2, i64 ptrtoint ([10 x i8]* @gv_1 to i64), i64 %arg1 %3 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %4 = inttoptr i64 %storemerge1 to i8* %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %3, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), i8* %4) br label LBL_2 LBL_2: %6 = call i64 @FUNC(i64* nonnull @gv_4) %7 = load i32, i32* @gv_5, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64* nonnull @gv_4, i64 1, i64 0) br label LBL_4 LBL_4: %10 = call i64 @FUNC(i64* nonnull @gv_4) %11 = load i32, i32* @gv_6, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = call i64 @FUNC(i64* nonnull @gv_4, i64 2, i64 ptrtoint (i32* @gv_6 to i64)) br label LBL_6 LBL_6: %14 = load i64, i64* @gv_7, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_8, label LBL_7 LBL_7: %16 = call i64 @FUNC(i64* nonnull @gv_4, i64 3, i64 %14) br label LBL_8 LBL_8: %17 = load i64, i64* @gv_8, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_10, label LBL_9 LBL_9: %19 = call i64 @FUNC(i64* nonnull @gv_4, i64 4, i64 %17) br label LBL_10 LBL_10: %20 = load i8*, i8** @gv_9, align 8 %21 = icmp eq i8* %20, null br i1 %21, label LBL_13, label LBL_11 LBL_11: %22 = load i8, i8* %20, align 1 %23 = icmp eq i8 %22, 0 br i1 %23, label LBL_13, label LBL_12 LBL_12: %24 = ptrtoint i8* %20 to i64 %25 = call i64 @FUNC(i64* nonnull @gv_4, i64 5, i64 %24) br label LBL_13 LBL_13: %26 = load i8*, i8** @gv_10, align 8 %27 = icmp eq i8* %26, null br i1 %27, label LBL_16, label LBL_14 LBL_14: %28 = load i8, i8* %26, align 1 %29 = icmp eq i8 %28, 0 br i1 %29, label LBL_16, label LBL_15 LBL_15: %30 = ptrtoint i8* %26 to i64 %31 = call i64 @FUNC(i64* nonnull @gv_4, i64 6, i64 %30) br label LBL_16 LBL_16: %32 = load [5 x i8]*, [5 x i8]** @gv_11, align 8 %33 = ptrtoint [5 x i8]* %32 to i64 %34 = call i64 @FUNC(i64* nonnull @gv_4, i64 7, i64 %33) %35 = call i64 @FUNC(i64* nonnull @gv_4, i64 8, i64 0) %36 = call i64 @FUNC(i64* nonnull @gv_4, i64 9, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_13, i64 0, i64 0)) %37 = load i32, i32* inttoptr (i64 4210760 to i32*), align 8 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64* nonnull @gv_4, i64 %arg1, i64 %arg2, i64 %arg3, i64 0, i64 %38) %40 = trunc i64 %39 to i32 store i32 %40, i32* @gv_14, align 4 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_18, label LBL_17 LBL_17: %43 = call i64 @FUNC(i64* nonnull @gv_4, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_15, i64 0, i64 0)) store i64 1, i64* %storemerge.reg2mem br label LBL_19 LBL_18: store i32 1, i32* bitcast (i64* @gv_4 to i32*), align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_19: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32* @gv_6, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @mysql_options, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* @gv_4, { 13, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_2, { 1, 0 } uselistorder i64 0, { 0, 1, 2, 11, 3, 4, 5, 6, 12, 19, 20, 13, 7, 8, 21, 9, 10, 14, 15, 16, 17, 18 } uselistorder i32 0, { 2, 3, 4, 5, 0, 1 } uselistorder i32 1, { 7, 3, 2, 1, 0, 4, 5, 6 } uselistorder i64 %arg1, { 2, 1, 0 } }
0
BinRealVul
xen_pt_msixctrl_reg_write_18899
xen_pt_msixctrl_reg_write
define i64 @FUNC(i64* %arg1, i64* %arg2, i16* %arg3, i16 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %rdx = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 store i64 %4, i64* %rdi, align 8 %5 = bitcast i64* %rsi to i16* %6 = add i64 %3, 2 %7 = inttoptr i64 %6 to i16* %8 = load i16, i16* %7, align 2 %9 = sub i16 0, %8 %10 = sub i16 %9, 1 %11 = trunc i64 %arg5 to i16 %12 = and i64 %1, %arg5 %13 = trunc i64 %12 to i16 %14 = and i16 %10, %13 %15 = bitcast i64* %rdx to i16* %16 = trunc i64 %2 to i16 %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i16* %19 = load i16, i16* %18, align 2 %20 = and i16 %19, %14 %21 = sub i16 0, %14 %22 = sub i16 %21, 1 %23 = and i16 %22, %16 %24 = or i16 %20, %23 store i16 %24, i16* %18, align 2 %25 = load i16, i16* %5, align 8 %26 = sub i16 0, %25 %27 = sub i16 %26, 1 %28 = and i16 %27, %11 %29 = load i16, i16* %15, align 8 %30 = sub i16 0, %28 %31 = sub i16 %30, 1 %32 = and i16 %29, %31 %33 = and i16 %28, %arg4 %34 = or i16 %32, %33 %35 = zext i16 %34 to i64 store i64 %35, i64* %rdx, align 8 store i16 %34, i16* %arg3, align 2 %36 = urem i16 %34, 2 %37 = icmp eq i16 %36, 0 br i1 %37, label LBL_3, label LBL_1 LBL_1: %38 = and i16 %34, 2 %39 = icmp eq i16 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_3, label LBL_2 LBL_2: store i64 %4, i64* %rdi, align 8 %41 = call i64 @FUNC(i64 %4) br label LBL_3 LBL_3: %42 = bitcast i64* %rdi to i32* %43 = load i32, i32* %42, align 8 %44 = icmp eq i1 %37, false %45 = load i64, i64* %rdi, align 8 %46 = zext i1 %44 to i32 %47 = inttoptr i64 %45 to i32* store i32 %46, i32* %47, align 4 %48 = load i32, i32* %42, align 8 %49 = icmp eq i32 %43, %48 br i1 %49, label LBL_5, label LBL_4 LBL_4: %50 = icmp eq i32 %48, 0 %51 = select i1 %50, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0) %52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i8* %51) br label LBL_5 LBL_5: ret i64 0 uselistorder i16 %34, { 1, 0, 2, 3 } uselistorder i16 %28, { 1, 0 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %rdi, { 2, 1, 0, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i16 2, { 1, 0 } }
1
BinRealVul
create_filter_4747
create_filter
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i8* %arg4, i8* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %0 = ptrtoint i8* %arg4 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %1 = and i64 %arg3, 4294967295 %2 = bitcast i64* %sv_2 to i8* %3 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %2, i32 30, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %1, i8* %arg4) %4 = call i64 @FUNC(i64 %0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 %0, i64 %arg6) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %8, i64 %4, i64* nonnull %sv_2) store i64 %9, i64* %arg1, align 8 %10 = icmp eq i64* %arg2, null %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %0, i64 %0, i64 %arg6) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %13 = call i32 @strcmp(i8* %arg4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0)) %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = icmp eq i8* %arg5, null %or.cond = or i1 %16, %15 store i8* %arg5, i8** %sv_0.0.reg2mem store i64 %0, i64* %rdi.0.reg2mem store i64 %0, i64* %r8.0.reg2mem br i1 %or.cond, label LBL_7, label LBL_5 LBL_5: %17 = ptrtoint i8* %arg5 to i64 %18 = call i8* @strstr(i8* nonnull %arg5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %19 = icmp eq i8* %18, null %20 = icmp eq i1 %19, false store i8* %arg5, i8** %sv_0.0.reg2mem store i64 %17, i64* %rdi.0.reg2mem store i64 %0, i64* %r8.0.reg2mem br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = ptrtoint i64* %sv_1 to i64 %22 = bitcast i64* %sv_1 to i8* %23 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %22, i32 256, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i8* nonnull %arg5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) store i8* %22, i8** %sv_0.0.reg2mem store i64 %21, i64* %rdi.0.reg2mem store i64 ptrtoint ([6 x i8]* @gv_4 to i64), i64* %r8.0.reg2mem br label LBL_7 LBL_7: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %24 = ptrtoint i8* %sv_0.0.reload to i64 %25 = call i64 @FUNC(i64 %rdi.0.reload, i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_11, label LBL_8 LBL_8: %r8.0.reload = load i64, i64* %r8.0.reg2mem %29 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_6, i64 0, i64 0), i64 %0, i64 %r8.0.reload, i64 %arg6) %30 = icmp eq i8* %sv_0.0.reload, null store i64 %0, i64* %rcx.0.reg2mem br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %24, i64 %r8.0.reload, i64 %arg6) store i64 %24, i64* %rcx.0.reg2mem br label LBL_10 LBL_10: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %32 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_8, i64 0, i64 0), i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg6) %33 = call i64 @FUNC(i64 %arg6) %34 = and i64 %25, 4294967295 store i64 %34, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %r8.0.reload, { 1, 2, 0 } uselistorder i8* %sv_0.0.reload, { 1, 0 } uselistorder i64 %0, { 0, 5, 1, 2, 3, 8, 6, 7, 4, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder [6 x i8]* @gv_4, { 1, 0 } uselistorder i8* null, { 1, 2, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder i64 %arg6, { 8, 6, 7, 4, 5, 9, 10, 2, 3, 0, 1 } uselistorder i8* %arg5, { 2, 0, 4, 5, 1, 3 } uselistorder label LBL_11, { 1, 0, 2, 3 } }
0
BinRealVul
parse_msg_id_10031
parse_msg_id
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.0.ph.in.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i8* %indvars.iv13.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %indvars.iv13.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %3 = mul i64 %indvars.iv13.reload, 16 %4 = add i64 %3, ptrtoint (i64* @gv_1 to i64) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i8* %8 = call i32 @strlen(i8* %7) %9 = sext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %3, ptrtoint (i64* @gv_0 to i64) %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 store i8* %7, i8** %sv_0.0.ph.reg2mem store i64 %10, i64* %sv_1.0.ph.in.reg2mem br label LBL_4 LBL_2: %13 = icmp eq i8 %22, 95 %14 = icmp eq i1 %13, false %15 = ptrtoint i8* %sv_0.0.reload to i64 %16 = add i64 %15, 1 %17 = inttoptr i64 %16 to i8* store i8* %17, i8** %sv_0.0.reg2mem br i1 %14, label LBL_3, label LBL_5 LBL_3: %18 = sext i8 %22 to i32 %19 = call i32 @tolower(i32 %18) %20 = add i64 %sv_1.0.ph.in.reload, 1 %21 = trunc i32 %19 to i8 store i8 %21, i8* %sv_1.0.ph, align 1 store i8* %17, i8** %sv_0.0.ph.reg2mem store i64 %20, i64* %sv_1.0.ph.in.reg2mem br label LBL_4 LBL_4: %sv_1.0.ph.in.reload = load i64, i64* %sv_1.0.ph.in.reg2mem %sv_0.0.ph.reload = load i8*, i8** %sv_0.0.ph.reg2mem %sv_1.0.ph = inttoptr i64 %sv_1.0.ph.in.reload to i8* store i8* %sv_0.0.ph.reload, i8** %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %22 = load i8, i8* %sv_0.0.reload, align 1 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_2, label LBL_6 LBL_6: store i8 0, i8* %sv_1.0.ph, align 1 %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next14, 100 store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem br i1 %exitcond, label LBL_7, label LBL_1 LBL_7: %25 = inttoptr i64 %arg1 to i8* store i64 0, i64* %indvars.iv.reg2mem br label LBL_8 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %26 = mul i64 %indvars.iv.reload, 16 %27 = add i64 %26, ptrtoint (i64* @gv_0 to i64) %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i8* %31 = call i32 @strcmp(i8* %25, i8* %30) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = and i64 %indvars.iv.reload, 4294967295 store i64 %34, i64* %storemerge.reg2mem br label LBL_11 LBL_10: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %35 = icmp ult i64 %indvars.iv.next, 100 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %35, label LBL_8, label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8 %22, { 2, 1, 0 } uselistorder i8* %sv_0.0.reload, { 1, 0 } uselistorder i8* %17, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %indvars.iv13.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.0.ph.in.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 100, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 1, { 1, 0, 2, 3 } uselistorder i1 false, { 0, 2, 1, 3, 4 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
is_nfs4_perms_w_8513
is_nfs4_perms_w
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp ult i64 %arg1, %arg2 store i64 1, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_18 LBL_1: %3 = trunc i64 %1 to i32 %4 = bitcast i64* %arg3 to i32* %5 = or i32 %3, 4 %6 = or i32 %3, 2 %7 = or i32 %3, 8192 %8 = or i32 %3, 1 %9 = or i32 %3, 8 %10 = or i32 %3, 4096 %11 = or i32 %3, 32 %12 = or i32 %3, 1024 %13 = or i32 %3, 64 %14 = or i32 %3, 512 %15 = or i32 %3, 256 %16 = or i32 %3, 16 %17 = or i32 %3, 2048 %18 = or i32 %3, 128 store i64 %arg1, i64* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %19 = inttoptr i64 %sv_0.01.reload to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, -45 %22 = zext i32 %21 to i64 store i64 %22, i64* @0, align 8 store i64 0, i64* %storemerge.reg2mem switch i32 %20, label LBL_18 [ i32 45, label LBL_3 i32 65, label LBL_11 i32 67, label LBL_15 i32 68, label LBL_8 i32 82, label LBL_12 i32 87, label LBL_13 i32 97, label LBL_10 i32 99, label LBL_14 i32 100, label LBL_9 i32 111, label LBL_16 i32 112, label LBL_7 i32 114, label LBL_4 i32 115, label LBL_17 i32 119, label LBL_5 i32 120, label LBL_6 ] LBL_3: %23 = add i64 %sv_0.01.reload, 4 %24 = icmp ult i64 %23, %arg2 store i64 %23, i64* %sv_0.01.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %24, label LBL_2, label LBL_18 LBL_4: store i32 %8, i32* %4, align 4 br label LBL_3 LBL_5: store i32 %6, i32* %4, align 4 br label LBL_3 LBL_6: store i32 %5, i32* %4, align 4 br label LBL_3 LBL_7: store i32 %9, i32* %4, align 4 br label LBL_3 LBL_8: store i32 %16, i32* %4, align 4 br label LBL_3 LBL_9: store i32 %11, i32* %4, align 4 br label LBL_3 LBL_10: store i32 %13, i32* %4, align 4 br label LBL_3 LBL_11: store i32 %18, i32* %4, align 4 br label LBL_3 LBL_12: store i32 %15, i32* %4, align 4 br label LBL_3 LBL_13: store i32 %14, i32* %4, align 4 br label LBL_3 LBL_14: store i32 %12, i32* %4, align 4 br label LBL_3 LBL_15: store i32 %17, i32* %4, align 4 br label LBL_3 LBL_16: store i32 %10, i32* %4, align 4 br label LBL_3 LBL_17: store i32 %7, i32* %4, align 4 br label LBL_3 LBL_18: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %4, { 11, 8, 1, 6, 4, 3, 0, 5, 7, 2, 9, 13, 12, 10 } uselistorder i32 %3, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_18, { 1, 0, 2 } uselistorder label LBL_3, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_uint_3075
get_uint
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %.pre = ptrtoint i32* %arg1 to i64 %.pre4 = add i64 %.pre, 4 store i64 %arg2, i64* %sv_0.0.in.in.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %.pre4, i64 32) %5 = trunc i64 %4 to i32 %6 = icmp ult i32 %5, 32 store i64 %4, i64* %sv_0.0.in.in.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %7 = and i64 %sv_0.0.in.in.reload, 4294967295 %8 = call i64 @FUNC(i64 %.pre4, i64 %7) store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64, i64)* @get_ur_golomb_shorten, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qemu_bh_schedule_15336
qemu_bh_schedule
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %6, 4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = call i64 @FUNC() %13 = bitcast i64* %arg1 to i32* store i32 1, i32* %13, align 4 %14 = call i64 @FUNC(i64 %9) store i64 %14, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
r3d_read_packet_3555
r3d_read_packet
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.be.reg2mem = alloca i32 %1 = load i32, i32* %0 %sv_1 = alloca i32, align 4 %2 = add i64 %arg1, 24 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = bitcast i32* %sv_1 to i64* %7 = add i64 %arg1, 8 %8 = inttoptr i64 %7 to i32* %9 = add i32 %1, -8 %10 = add i64 %arg1, 16 %11 = inttoptr i64 %10 to i64* %12 = zext i32 %9 to i64 %13 = trunc i64 %arg1 to i32 %14 = icmp eq i32 %13, 1 %15 = inttoptr i64 %7 to i64* br label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %arg1, i64* nonnull %6) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false store i32 -1, i32* %sv_0.1.reg2mem br i1 %19, label LBL_2, label LBL_11 LBL_2: %20 = load i32, i32* %sv_1, align 4 %21 = icmp eq i32 %20, 1094993234 br i1 %21, label LBL_6, label LBL_3 LBL_3: %22 = icmp eq i32 %20, 1447314770 %23 = icmp eq i1 %22, false %or.cond = or i1 %14, %23 br i1 %or.cond, label LBL_10, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %6) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i32 %25, i32* %sv_0.0.be.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_5, label LBL_12 LBL_5: %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem %28 = icmp eq i32 %sv_0.0.be.reload, 0 store i32 %sv_0.0.be.reload, i32* %sv_0.1.reg2mem br i1 %28, label LBL_1, label LBL_11 LBL_6: %29 = load i32, i32* %5, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_7, label LBL_12 LBL_7: %32 = load i32, i32* %8, align 4 %33 = icmp slt i32 %32, 2 br i1 %33, label LBL_9, label LBL_8 LBL_8: %34 = load i64, i64* %15, align 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 1 br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %6) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i32 %39, i32* %sv_0.0.be.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_5, label LBL_12 LBL_10: %42 = load i64, i64* %11, align 8 %43 = call i64 @FUNC(i64 %42, i64 %12) store i32 0, i32* %sv_0.0.be.reg2mem br label LBL_5 LBL_11: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %44 = zext i32 %sv_0.1.reload to i64 store i64 %44, 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* %6, { 1, 0, 2 } uselistorder i32* %sv_0.0.be.reg2mem, { 2, 3, 0, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 1, { 6, 5, 7, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 3, 1, 5, 0, 2, 4, 6 } uselistorder label LBL_12, { 3, 0, 1, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
clamp_mv_3499
clamp_mv
define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8, i64 4294934528, i64 32767) %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 4294934528, i64 32767) %12 = and i64 %9, 4294967295 %13 = and i64 %11, 4294967295 %14 = and i64 %2, 4294967295 %15 = call i64 @FUNC(i64 %14, i64 %13, i64 %12) %16 = trunc i64 %15 to i32 %17 = bitcast i64* %arg2 to i32* store i32 %16, i32* %17, align 4 %18 = add i64 %4, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64 4294934528, i64 32767) %23 = add i64 %4, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26, i64 4294934528, i64 32767) %28 = ptrtoint i32* %arg3 to i64 %29 = add i64 %28, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = and i64 %22, 4294967295 %33 = and i64 %27, 4294967295 %34 = zext i32 %31 to i64 %35 = call i64 @FUNC(i64 %34, i64 %33, i64 %32) %36 = trunc i64 %35 to i32 %37 = add i64 %3, 4 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 ret i64 %35 uselistorder i64 %35, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967295, { 3, 4, 0, 5, 6, 1, 2 } uselistorder i64 (i64, i64, i64)* @av_clip, { 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
kvm_physical_sync_dirty_bitmap_2244
kvm_physical_sync_dirty_bitmap
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i32 %sv_2.04.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %1 = load i64, i64* @gv_0, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %6, %0 store i64 0, i64* %sv_3, align 8 %8 = icmp ugt i64 %7, %0 store i64 %0, i64* %sv_2.04.reg2mem store i32 0, i32* %sv_1.03.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_1, label LBL_9 LBL_1: %sv_2.04.reload = load i64, i64* %sv_2.04.reg2mem %9 = call i64 @FUNC(i64 %1, i64 %sv_2.04.reload, i64 %7) %10 = icmp eq i64 %9, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %10, label LBL_9, label LBL_2 LBL_2: %11 = inttoptr i64 %9 to i64* %12 = load i64, i64* %11, align 8 %13 = udiv i64 %12, 4096 %14 = add nuw nsw i64 %13, 63 %15 = udiv i64 %14, 8 %16 = trunc i64 %15 to i32 %17 = and i32 %16, -8 %18 = load i64, i64* %sv_3, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = sext i32 %17 to i64 %22 = call i64 @FUNC(i64 %21) store i64 %22, i64* %sv_3, align 8 store i64 %22, i64* %.reg2mem br label LBL_6 LBL_4: %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem %23 = icmp ugt i32 %17, %sv_1.03.reload store i64 %18, i64* %.reg2mem br i1 %23, label LBL_5, label LBL_6 LBL_5: %24 = sext i32 %17 to i64 %25 = call i64 @FUNC(i64 %18, i64 %24) store i64 %25, i64* %sv_3, align 8 store i64 %25, i64* %.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem %26 = inttoptr i64 %.reload to i64* %27 = call i64* @memset(i64* %26, i32 0, i32 %17) %28 = call i64 @FUNC(i64 %1, i64 0, i64* nonnull %sv_3) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = call i32* @__errno_location() %33 = load i32, i32* %32, align 4 %34 = zext i32 %33 to i64 %35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %34) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: %36 = load i64, i64* %sv_3, align 8 %37 = call i64 @FUNC(i64 %0, i64 %36) %38 = add i64 %9, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = load i64, i64* %11, align 8 %42 = add i64 %41, %40 %43 = icmp ult i64 %42, %7 store i64 %42, i64* %sv_2.04.reg2mem store i32 %17, i32* %sv_1.03.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %43, label LBL_1, label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %44 = load i64, i64* %sv_3, align 8 %45 = call i64 @FUNC(i64 %44) ret i64 %sv_0.0.reload uselistorder i64 %18, { 1, 0, 2 } uselistorder i64 %7, { 1, 2, 0 } uselistorder i64* %sv_3, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %0, { 3, 0, 2, 1, 4 } uselistorder i64* %sv_2.04.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i32 0, { 2, 1, 0 } uselistorder label LBL_9, { 0, 3, 1, 2 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
udf_CS0toNLS_18886
udf_CS0toNLS
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg3 to i64 %6 = add i64 %5, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64* @memset(i64* %arg2, i32 0, i32 257) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %12 = trunc i64 %3 to i8 switch i8 %12, label LBL_3 [ i8 8, label LBL_4 i8 16, label LBL_4 ] LBL_3: %13 = call i64* @memset(i64* %arg2, i32 0, i32 257) %14 = add i64 %5, 2 %15 = urem i64 %3, 256 %16 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %14, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %17 = ptrtoint i64* %arg2 to i64 %18 = add i64 %5, 2 %19 = add i64 %17, 1 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = zext i8 %8 to i64 %22 = icmp eq i8 %12, 16 %23 = icmp eq i1 %22, false store i8 0, i8* %.reg2mem store i64 0, i64* %.reg2mem3 store i32 0, i32* %sv_0.12.reg2mem br label LBL_8 LBL_5: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %.reload4 = load i64, i64* %.reg2mem3 %24 = add i32 %sv_0.12.reload, 1 %25 = add i64 %.reload4, %18 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = zext i8 %27 to i32 store i32 %24, i32* %sv_0.0.reg2mem store i32 %28, i32* %sv_1.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %29 = mul i32 %28, 256 %30 = add i32 %sv_0.12.reload, 2 %31 = sext i32 %24 to i64 %32 = add i64 %18, %31 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = zext i8 %34 to i32 %36 = or i32 %29, %35 store i32 %30, i32* %sv_0.0.reg2mem store i32 %36, i32* %sv_1.0.reg2mem br label LBL_7 LBL_7: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %37 = trunc i32 %sv_1.0.reload to i8 %38 = add i8 %.reload, %37 store i8 %38, i8* %20, align 1 %39 = sext i32 %sv_0.0.reload to i64 %40 = icmp slt i64 %39, %21 store i8 %38, i8* %.reg2mem store i64 %39, i64* %.reg2mem3 store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem br i1 %40, label LBL_8, label LBL_9 LBL_8: %.reload = load i8, i8* %.reg2mem %41 = icmp ult i8 %.reload, -3 br i1 %41, label LBL_5, label LBL_9 LBL_9: %42 = bitcast i64* %arg2 to i8* store i8 8, i8* %42, align 1 %43 = load i8, i8* %20, align 1 %44 = zext i8 %43 to i64 store i64 %44, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 1, 0 } uselistorder i32 %24, { 1, 0 } uselistorder i8* %20, { 2, 1, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %.reg2mem3, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i8 16, { 1, 0 } uselistorder i8 8, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i8 0, { 0, 1, 3, 4, 2 } uselistorder i64* %arg2, { 0, 3, 1, 2 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
git_branch_delete_18857
git_branch_delete
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %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 %3 = icmp ult i32 %arg3, 2 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = icmp eq i32 %arg3, 1 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1, i64 %arg2, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %6, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_3 to i64), i64 %arg1, i64 %2, i64 %1) br label LBL_11 LBL_6: %16 = load i64, i64* %sv_0, align 8 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_9, label LBL_7 LBL_7: %21 = load i64, i64* %sv_1, align 8 %22 = call i64 @FUNC(i64 %21) %23 = load i64, i64* %sv_0, align 8 %24 = call i64 @FUNC(i64 %23) %25 = inttoptr i64 %24 to i8* %26 = inttoptr i64 %22 to i8* %27 = call i32 @strcmp(i8* %25, i8* %26) %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 1, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_5, i64 0, i64 0), i64 %arg2, i64 %arg1, i64 %2, i64 %1) br label LBL_11 LBL_9: %31 = load i64, i64* %sv_1, align 8 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = load i64, i64* %sv_0, align 8 %36 = call i64 @FUNC(i64 %35) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %37 = load i64, i64* %sv_0, align 8 %38 = call i64 @FUNC(i64 %37) %39 = load i64, i64* %sv_1, align 8 %40 = call i64 @FUNC(i64 %39) store i64 4294967295, 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* %sv_1, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @git_reference_free, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @giterr_set, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder [5 x i8]* @gv_3, { 1, 0 } uselistorder i32 1, { 5, 6, 8, 7, 4, 3, 2, 0, 1 } uselistorder i32 %arg3, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3 } }
1
BinRealVul
AcquireRandomInfoThreadSet_6369
AcquireRandomInfoThreadSet
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0) %1 = call i64 @FUNC(i64 %0, i64 8) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %5 = mul i64 %0, 8 %6 = call i64 @FUNC(i64 %1, i64 0, i64 %5) %7 = icmp sgt i64 %0, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %7, label LBL_3, label LBL_4 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %8 = mul i64 %storemerge1.reload, 8 %9 = add i64 %8, %1 %10 = call i64 @FUNC() %11 = inttoptr i64 %9 to i64* store i64 %10, i64* %11, align 8 %12 = add nuw nsw i64 %storemerge1.reload, 1 %exitcond = icmp eq i64 %12, %0 store i64 %12, i64* %storemerge1.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: ret i64 %1 uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ext4_punch_hole_7669
ext4_punch_hole
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %storemerge4.in.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 1 store i64 1, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_1, label LBL_29 LBL_1: %11 = inttoptr i64 %8 to i32* %12 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %arg3) %13 = load i32, i32* %11, align 4 %14 = icmp eq i32 %13, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_4, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %8, i64 1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = add i64 %arg3, %arg2 %19 = add i64 %18, -1 %20 = call i64 @FUNC(i64 %8, i64 %arg2, i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 %20, i64* %sv_0.0.reg2mem store i64 %20, i64* %rax.0.shrunk.reg2mem br i1 %22, label LBL_4, label LBL_29 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = add i64 %2, 40 %24 = call i64 @FUNC(i64 %23) %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp sgt i64 %27, %arg2 store i64 %sv_0.0.reload, i64* %sv_0.3.reg2mem br i1 %28, label LBL_5, label LBL_28 LBL_5: %29 = add i64 %arg3, %arg2 %30 = icmp sgt i64 %29, %27 store i64 %arg3, i64* %sv_1.0.reg2mem br i1 %30, label LBL_6, label LBL_7 LBL_6: %31 = urem i64 %27, 4096 %32 = sub i64 4096, %arg2 %33 = add i64 %32, %27 %34 = sub i64 %33, %31 store i64 %34, i64* %sv_1.0.reg2mem br label LBL_7 LBL_7: %35 = inttoptr i64 %5 to i32* %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %36 = load i32, i32* %35, align 4 %37 = add i32 %36, -1 %38 = zext i32 %37 to i64 %39 = and i64 %38, %arg2 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_9, label LBL_8 LBL_8: %42 = add i64 %sv_1.0.reload, %arg2 %43 = and i64 %42, %38 %44 = icmp eq i64 %43, 0 store i64 %42, i64* %.pre-phi.reg2mem store i32 %36, i32* %.reg2mem br i1 %44, label LBL_11, label LBL_9 LBL_9: %45 = call i64 @FUNC(i64 %2) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 0 store i64 %45, i64* %sv_0.3.reg2mem br i1 %47, label LBL_28, label LBL_9.LBL_11_crit_edge LBL_10: %.pre = load i32, i32* %35, align 4 %.pre5 = add i64 %sv_1.0.reload, %arg2 store i64 %.pre5, i64* %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_11 LBL_11: %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %48 = zext i32 %.reload to i64 %49 = call i64 @FUNC(i64 %arg2, i64 %48) %50 = load i32, i32* %35, align 4 %51 = zext i32 %50 to i64 %52 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %51) %53 = add i64 %52, -1 %54 = icmp sgt i64 %53, %49 br i1 %54, label LBL_12, label LBL_13 LBL_12: %55 = call i64 @FUNC(i64 %2, i64 %49, i64 %53) br label LBL_13 LBL_13: %56 = call i64 @FUNC(i64 %2) %57 = call i64 @FUNC(i64 %2) %58 = call i64 @FUNC(i64 %2, i64 1) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label LBL_15, label LBL_14 LBL_14: %61 = call i64 @FUNC(i64 %2) store i64 %61, i64* %storemerge4.in.reg2mem br label LBL_16 LBL_15: %62 = call i64 @FUNC(i64 %2) store i64 %62, i64* %storemerge4.in.reg2mem br label LBL_16 LBL_16: %storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem %storemerge4 = trunc i64 %storemerge4.in.reload to i32 %63 = call i64 @FUNC(i64 %2, i64 0, i32 %storemerge4) %64 = icmp eq i64 %63, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_18, label LBL_17 LBL_17: %66 = call i64 @FUNC(i64 %5, i64 4294967295) store i64 4294967295, i64* %sv_0.2.reg2mem br label LBL_27 LBL_18: %67 = call i64 @FUNC(i64 %63, i64 %2, i64 %arg2, i64 %sv_1.0.reload) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 0 %70 = icmp eq i1 %69, false store i64 %67, i64* %sv_0.1.reg2mem br i1 %70, label LBL_26, label LBL_19 LBL_19: %71 = load i32, i32* %35, align 4 %72 = zext i32 %71 to i64 %73 = add i64 %arg2, 17592186044415 %74 = add i64 %73, %72 %75 = udiv i64 %74, 4096 %76 = trunc i64 %75 to i32 %77 = udiv i64 %.pre-phi.reload, 4096 %78 = trunc i64 %77 to i32 %79 = icmp sgt i32 %78, %76 store i64 %67, i64* %sv_0.1.reg2mem br i1 %79, label LBL_20, label LBL_26 LBL_20: %80 = call i64 @FUNC(i64 %2) %81 = add i64 %80, 44 %82 = call i64 @FUNC(i64 %81) %83 = call i64 @FUNC(i64 %2) %84 = sub nsw i64 %77, %75 %85 = and i64 %84, 4294967295 %86 = and i64 %75, 4294967295 %87 = call i64 @FUNC(i64 %2, i64 %86, i64 %85) %88 = trunc i64 %87 to i32 %89 = icmp eq i32 %88, 0 br i1 %89, label LBL_22, label LBL_21 LBL_21: %90 = call i64 @FUNC(i64 %2) %91 = add i64 %90, 44 %92 = call i64 @FUNC(i64 %91) store i64 %87, i64* %sv_0.1.reg2mem br label LBL_26 LBL_22: %93 = call i64 @FUNC(i64 %2, i64 1) %94 = trunc i64 %93 to i32 %95 = icmp eq i32 %94, 0 br i1 %95, label LBL_24, label LBL_23 LBL_23: %96 = add nuw nsw i64 %77, 4294967295 %97 = and i64 %96, 4294967295 %98 = call i64 @FUNC(i64 %2, i64 %86, i64 %97) store i64 %98, i64* %storemerge.in.reg2mem br label LBL_25 LBL_24: %99 = call i64 @FUNC(i64 %63, i64 %2, i32 %76, i32 %78) store i64 %99, i64* %storemerge.in.reg2mem br label LBL_25 LBL_25: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %100 = call i64 @FUNC(i64 %2) %101 = call i64 @FUNC(i64 %2) %102 = add i64 %101, 44 %103 = call i64 @FUNC(i64 %102) %104 = call i64 @FUNC(i64 %2) %105 = trunc i64 %104 to i32 %106 = add i64 %2, 36 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 %108 = add i64 %2, 32 %109 = inttoptr i64 %108 to i32* store i32 %105, i32* %109, align 4 %110 = call i64 @FUNC(i64 %63, i64 %2) store i64 %storemerge.in.reload, i64* %sv_0.1.reg2mem br label LBL_26 LBL_26: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %111 = call i64 @FUNC(i64 %63) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_27 LBL_27: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %112 = call i64 @FUNC(i64 %2) store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem br label LBL_28 LBL_28: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %113 = call i64 @FUNC(i64 %23) store i64 %sv_0.3.reload, i64* %rax.0.shrunk.reg2mem br label LBL_29 LBL_29: %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 %78, { 1, 0 } uselistorder i64 %77, { 2, 1, 0 } uselistorder i32 %76, { 1, 0 } uselistorder i64 %75, { 2, 1, 0 } uselistorder i64 %63, { 2, 0, 1, 3, 4 } uselistorder i64 %.pre-phi.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 0, 2, 1 } uselistorder i32* %35, { 1, 2, 0, 3 } uselistorder i64 %27, { 1, 0, 3, 2 } uselistorder i64 %2, { 0, 2, 3, 4, 5, 6, 7, 8, 1, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge4.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @up_write, { 1, 0 } uselistorder i64 (i64)* @ext4_discard_preallocations, { 1, 0 } uselistorder i64 (i64)* @EXT4_I, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ext4_test_inode_flag, { 1, 0 } uselistorder i64 -1, { 1, 2, 0 } uselistorder i64 1, { 5, 6, 7, 0, 1, 2, 3, 4 } uselistorder i64 %arg2, { 6, 9, 10, 1, 2, 3, 0, 4, 7, 8, 5, 11 } uselistorder label LBL_29, { 2, 0, 1 } uselistorder label LBL_28, { 2, 0, 1 } uselistorder label LBL_26, { 2, 3, 0, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
qemu_put_buffer_async_1632
qemu_put_buffer_async
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 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %2 to i32 %6 = call i64 @FUNC(i64 %1, i64 %0, i32 %5) store i64 %6, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = icmp eq i32 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %1, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = trunc i64 %2 to i32 %17 = add i32 %15, %16 store i32 %17, i32* %14, align 4 %18 = call i64 @FUNC(i64 %1, i64 %0, i32 %16) store i64 %18, 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 %16, { 1, 0 } uselistorder i64 %1, { 1, 2, 3, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
qemu_iovec_destroy_3274
qemu_iovec_destroy
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, -1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = bitcast i64* %arg1 to i32* store i32 0, i32* %11, align 4 store i64 0, i64* %8, align 8 ret i64 %5 uselistorder i64 %5, { 0, 2, 1 } }
0
BinRealVul
omap_dss_init_18654
omap_dss_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 64) %3 = inttoptr i64 %2 to i64* store i64 %arg4, i64* %3, align 8 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* store i64 %arg5, i64* %5, align 8 %6 = call i64 @FUNC(i64 %2) %7 = call i64 @FUNC(i64 %1, i64 0) %8 = add i64 %2, 16 %9 = call i64 @FUNC(i64 %8, i64 0, i64* nonnull @gv_0, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %7) %10 = call i64 @FUNC(i64 %1, i64 1) %11 = add i64 %2, 24 %12 = call i64 @FUNC(i64 %11, i64 0, i64* nonnull @gv_2, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %10) %13 = call i64 @FUNC(i64 %1, i64 2) %14 = add i64 %2, 32 %15 = call i64 @FUNC(i64 %14, i64 0, i64* nonnull @gv_4, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i64 %13) %16 = call i64 @FUNC(i64 %1, i64 3) %17 = add i64 %2, 40 %18 = call i64 @FUNC(i64 %17, i64 0, i64* nonnull @gv_6, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0), i64 %16) %19 = add i64 %2, 48 %20 = call i64 @FUNC(i64 %19, i64 0, i64* nonnull @gv_8, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_9, i64 0, i64 0), i64 4096) %21 = call i64 @FUNC(i64 %1, i64 0, i64 %8) %22 = call i64 @FUNC(i64 %1, i64 1, i64 %11) %23 = call i64 @FUNC(i64 %1, i64 2, i64 %14) %24 = call i64 @FUNC(i64 %1, i64 3, i64 %17) %25 = call i64 @FUNC(i64 %0, i64 %arg3, i64 %19) %26 = call i64 @FUNC(i64 4198846, i64 4198853, i64 4198860, i64 %2) %27 = add i64 %2, 56 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 ret i64 %2 uselistorder i64 (i64, i64, i64)* @omap_l4_attach, { 3, 2, 1, 0 } uselistorder i64 4096, { 1, 0 } uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @omap_l4_region_size, { 3, 2, 1, 0 } }
1
BinRealVul
ldbRedis_12400
ldbRedis
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %1 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %arg1, i64 4294967294) %4 = icmp sgt i32 %arg3, 1 br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = mul i64 %indvars.iv.reload, 8 %7 = add i64 %6, %5 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* %8, align 8 %12 = call i64 @FUNC(i64 %arg1, i64 %11, i64 %10) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: store i32 1, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8 %13 = add i32 %arg3, -1 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %arg1, i64 %14, i64 1, i64 0) store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 %0, i32* bitcast (i64* @gv_3 to i32*), align 8 %16 = call i64 @FUNC(i64 %arg1, i64 2) ret i64 %16 uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 %arg3, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
getsymbol_12191
getsymbol
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 72057594037927936 %0 = ashr exact i64 %sext, 56 %1 = trunc i64 %arg2 to i8 %2 = icmp eq i8 %1, 0 %.pre = trunc i64 %0 to i8 br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = icmp eq i8 %.pre, 62 %4 = icmp eq i1 %3, false store i64 95, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_12 LBL_2: %5 = icmp eq i8 %.pre, 63 %6 = icmp eq i1 %5, false store i64 45, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_12 LBL_3: %7 = icmp eq i8 %1, 1 br i1 %7, label LBL_6, label LBL_4 LBL_4: %8 = icmp eq i8 %.pre, 47 %9 = icmp eq i1 %8, false store i64 47, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_12 LBL_5: %10 = icmp eq i8 %.pre, 43 %11 = icmp eq i1 %10, false store i64 43, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_12 LBL_6: %12 = icmp ult i8 %.pre, 26 br i1 %12, label LBL_7, label LBL_8 LBL_7: %13 = urem i64 %0, 256 %14 = add nuw nsw i64 %13, 65 store i64 %14, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %15 = icmp ult i8 %.pre, 52 br i1 %15, label LBL_9, label LBL_10 LBL_9: %16 = urem i64 %0, 256 %17 = add nuw nsw i64 %16, 71 store i64 %17, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %18 = icmp ult i8 %.pre, 62 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_11, label LBL_12 LBL_11: %19 = urem i64 %0, 256 %20 = add nuw nsw i64 %19, 4294967292 %21 = and i64 %20, 4294967295 store i64 %21, 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* %rax.0.reg2mem, { 0, 6, 1, 7, 8, 2, 3, 4, 5 } uselistorder label LBL_12, { 5, 0, 6, 7, 1, 2, 3, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
DestroyLocaleNode_9605
DestroyLocaleNode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = inttoptr i64 %arg1 to i64* store i64 %1, i64* %2, align 8 br label LBL_2 LBL_2: %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %5) store i64 %7, i64* %4, align 8 br label LBL_4 LBL_4: %8 = add i64 %arg1, 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_5 LBL_5: %12 = call i64 @FUNC(i64 %10) store i64 %12, i64* %9, align 8 br label LBL_6 LBL_6: %13 = call i64 @FUNC(i64 %arg1) ret i64 %13 uselistorder i64 (i64)* @DestroyString, { 2, 1, 0 } uselistorder i64 %arg1, { 2, 3, 4, 0, 1, 5 } }
0
BinRealVul
js_defaultalloc_12684
js_defaultalloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = inttoptr i64 %arg2 to i64* call void @free(i64* %3) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %4 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64* @malloc(i32 %0) %7 = ptrtoint i64* %6 to i64 store i64 %7, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %8 = inttoptr i64 %arg2 to i64* %9 = call i64* @realloc(i64* %8, i32 %0) %10 = ptrtoint i64* %9 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 %arg2, { 2, 0, 1 } }
1
BinRealVul
valid_entry_name_5561
valid_entry_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.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_6, label LBL_1 LBL_1: %4 = inttoptr i64 %arg1 to i8* %5 = call i8* @strchr(i8* %4, i32 47) %6 = icmp eq i8* %5, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_6, label LBL_2 LBL_2: %8 = icmp eq i8 %2, 46 %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_7, label LBL_3 LBL_3: %10 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_6, label LBL_4 LBL_4: %12 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i32 @strcasecmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %15 = icmp eq i32 %14, 0 store i64 1, i64* %storemerge.reg2mem br i1 %15, label LBL_6, label LBL_7 LBL_6: store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } }
0
BinRealVul
blockingWrite_10702
blockingWrite
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp eq i64 %arg3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_8, label LBL_1 LBL_1: %4 = trunc i64 %arg1 to i32 store i64 0, i64* %sv_0.09.reg2mem br label LBL_7 LBL_2: %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 4 br i1 %7, label LBL_3, label LBL_4 LBL_3: %8 = call i32 @write(i32 %4, i64* %24, i32 %25) %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false store i32 %8, i32* %.lcssa.reg2mem br i1 %10, label LBL_5, label LBL_2 LBL_4: %11 = call i32* @__errno_location() %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 11 br i1 %13, label LBL_3, label LBL_6 LBL_5: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %14 = sext i32 %.lcssa.reload to i64 %15 = add i64 %sv_0.09.reload, %14 %16 = icmp ult i64 %15, %arg3 store i64 %15, i64* %sv_0.09.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_7, label LBL_8 LBL_6: %17 = call i32* @__errno_location() %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %22, i64 %23, i64 %2, i64 %1) %21 = call i32 @close(i32 %4) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %22 = sub i64 %arg3, %sv_0.09.reload %23 = add i64 %sv_0.09.reload, %arg2 %24 = inttoptr i64 %23 to i64* %25 = trunc i64 %22 to i32 %26 = call i32 @write(i32 %4, i64* %24, i32 %25) %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false store i32 %26, i32* %.lcssa.reg2mem br i1 %28, label LBL_5, label LBL_2 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %23, { 1, 0 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %sv_0.09.reload, { 1, 0, 2 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i32* %.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 2, 0 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
rose_start_heartbeat_5859
rose_start_heartbeat
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0) store i64 4198696, i64* %arg1, align 8 %2 = load i64, i64* @gv_0, align 8 %3 = add i64 %2, 500 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = call i64 @FUNC(i64 %0, i64 %0, i64 %3) ret i64 %6 uselistorder i64 %0, { 0, 1, 2, 4, 3 } }
0
BinRealVul
fwnode_property_match_string_18530
fwnode_property_match_string
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 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %1, 4294967295 store i64 %5, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %sext = mul i64 %1, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = call i64 @FUNC(i64 %6, i64 8, i64 0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_9 LBL_3: %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %7, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 store i64 %11, i64* %sv_0.0.reg2mem br i1 %13, label LBL_8, label LBL_4 LBL_4: %14 = icmp sgt i32 %2, 0 store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %14, label LBL_5, label LBL_8 LBL_5: %15 = inttoptr i64 %arg3 to i8* store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = mul i64 %indvars.iv.reload, 8 %17 = add i64 %16, %7 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i8* %21 = call i32 @strcmp(i8* %20, i8* %15) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %indvars.iv.reload, i64* %sv_0.0.reg2mem br i1 %23, label LBL_7, label LBL_8 LBL_7: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = icmp slt i64 %indvars.iv.next, %6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %24, label LBL_6, label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = call i64 @FUNC(i64 %7) %26 = and i64 %sv_0.0.reload, 4294967295 store i64 %26, 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 %indvars.iv.reload, { 1, 0, 2 } uselistorder i64 %7, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 (i64, i64, i64, i64)* @fwnode_property_read_string_array, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
gen_rsr_ccount_2083
gen_rsr_ccount
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = urem i64 %3, 2 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC() br label LBL_2 LBL_2: %7 = and i64 %arg2, 4294967295 %8 = load i64, i64* @gv_0, align 8 %9 = call i64 @FUNC(i64 %8) %10 = mul i64 %arg3, 4 %11 = and i64 %10, 17179869180 %12 = add i64 %11, ptrtoint (i32** @gv_1 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %7, i64 %15) %17 = call i64 @FUNC(i64 %2) %18 = urem i64 %17, 2 %19 = icmp eq i64 %18, 0 store i64 0, i64* %storemerge.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC() store i64 1, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @tb_cflags, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0