dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
chunk_new_with_alloc_size_11641
chunk_new_with_alloc_size
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %0 to i64* store i64 0, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 %arg1, i64* %5, align 8 %6 = add i64 %arg1, 48 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = load i64, i64* @gv_0, align 8 %10 = add i64 %9, %arg1 store i64 %10, i64* @gv_0, align 8 %11 = add i64 %0, 32 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 ret i64 %0 }
1
BinRealVul
st_set_trace_file_2902
st_set_trace_file
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0) %1 = load i8*, i8** @gv_0, align 8 %2 = bitcast i8* %1 to i64* call void @free(i64* %2) %3 = icmp eq i64 %arg1, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i32 @getpid() %6 = zext i32 %5 to i64 %7 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull @gv_0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %6) %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_2 LBL_2: store i8* null, i8** @gv_0, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %10 = inttoptr i64 %arg1 to i8* %11 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull @gv_0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* %10) %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: store i8* null, i8** @gv_0, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %14 = call i64 @FUNC(i64 1) store i64 1, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @st_set_trace_file_enabled, { 1, 0 } }
0
BinRealVul
snd_ftu_create_effect_switch_3808
snd_ftu_create_effect_switch
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 store i64 24, i64* %rdi, align 8 %0 = call i64 @FUNC(i64 24, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = inttoptr i64 %0 to i32* %4 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %3, 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 i64* store i64 %4, i64* %8, align 8 %9 = trunc i64 %arg3 to i32 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = trunc i64 %arg2 to i32 %13 = add i64 %0, 20 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 store i64 %0, i64* @gv_0, align 8 %15 = load i64, i64* %rdi, align 8 store i64 ptrtoint (i64* @gv_1 to i64), i64* %rdi, align 8 %16 = call i64 @FUNC(i64* nonnull @gv_1, i64 %15) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_3: %20 = inttoptr i64 %16 to i64* store i64 4198771, i64* %20, align 8 %21 = bitcast i64* %rdi to i32* %22 = load i32, i32* %21, align 8 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23, i64 %16) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false %28 = and i64 %24, 4294967295 %spec.select = select i1 %27, i64 0, i64 %28 ret i64 %spec.select LBL_4: ret i64 4294967284 uselistorder i64* %rdi, { 3, 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
fuse_free_conn_6193
fuse_free_conn
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %4) br label LBL_2 LBL_2: %6 = inttoptr i64 %arg1 to i64* call void @free(i64* %6) ret i64 ptrtoint (i32* @0 to i64) }
0
BinRealVul
parse_device_11165
parse_device
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i8*, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 store i64 %4, i64* %sv_3, align 8 %5 = call i64* @memset(i64* %arg1, i32 0, i32 8) %6 = bitcast i64* %arg3 to i8* %7 = call i8* @strchr(i8* %6, i32 44) store i8* %7, i8** %sv_2, align 8 %8 = icmp eq i8* %7, null br i1 %8, label LBL_12, label LBL_1 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = ptrtoint i8* %7 to i64 %11 = add i64 %10, 1 %12 = inttoptr i64 %11 to i8* store i8* %12, i8** %sv_2, align 8 store i8 0, i8* %7, align 1 %13 = load i64, i64* %sv_3, align 8 %14 = call i64 @FUNC(i64 %13) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_2, label LBL_3 LBL_2: %17 = ptrtoint i64* %sv_4 to i64 %18 = bitcast i8** %sv_2 to i64* %19 = bitcast i8** %sv_1 to i64* %20 = add i64 %17, -128 store i64 0, i64* %indvars.iv.reg2mem br label LBL_8 LBL_3: %21 = load i64, i64* %sv_3, align 8 %22 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %21, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %23 = load i8, i8* %34, align 1 %24 = icmp eq i8 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_6: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %27 = call i64 @FUNC(i64* nonnull %19) %28 = mul i64 %indvars.iv.reload, 8 %29 = add i64 %20, %28 %30 = inttoptr i64 %29 to i64* store i64 %27, i64* %30, align 8 %31 = icmp ult i64 %indvars.iv.next, 11 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %33 = call i64 @FUNC(i64* nonnull %18, i64* nonnull @gv_3) %34 = inttoptr i64 %33 to i8* store i8* %34, i8** %sv_1, align 8 %35 = icmp eq i64 %33, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_4, label LBL_9 LBL_9: %37 = trunc i64 %indvars.iv.reload to i32 %38 = icmp sgt i32 %37, 1 br i1 %38, label LBL_11, label LBL_10 LBL_10: %39 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %sext = mul i64 %indvars.iv.reload, 4294967296 %40 = ashr exact i64 %sext, 32 store i64 %40, i64* %sv_0.0.reg2mem br label LBL_13 LBL_12: %41 = call i64 @FUNC(i64* nonnull %sv_3) store i64 %41, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 %sv_0.0.reload, i64* %arg1, align 8 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 i8* %34, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 3, 1, 0, 2 } uselistorder i64 %9, { 1, 3, 2, 0 } uselistorder i8* %7, { 1, 0, 2, 3 } uselistorder i8** %sv_2, { 2, 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 0, 1, 3 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64*)* @mtree_atol, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @archive_set_error, { 1, 3, 2, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 1, { 1, 3, 4, 2, 0, 5, 6 } uselistorder label LBL_14, { 0, 3, 1, 2, 4 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
qemu_get_buffer_841
qemu_get_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge1.lcssa.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %0 = icmp eq i32 %arg3, 0 %1 = icmp slt i32 %arg3, 0 %2 = icmp eq i1 %1, false %3 = icmp eq i1 %0, false %4 = icmp eq i1 %2, %3 store i32 0, i32* %storemerge1.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = ptrtoint i64* %arg2 to i64 store i32 0, i32* %storemerge14.reg2mem store i32 %arg3, i32* %sv_1.03.reg2mem store i64 %6, i64* %sv_0.02.reg2mem br label LBL_2 LBL_2: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %7 = add i32 %sv_1.03.reload, -1024 %8 = sub i32 1023, %sv_1.03.reload %9 = and i32 %8, %sv_1.03.reload %10 = icmp slt i32 %9, 0 %11 = icmp eq i32 %7, 0 %12 = icmp slt i32 %7, 0 %13 = icmp ne i1 %12, %10 %14 = or i1 %11, %13 %15 = select i1 %14, i32 %sv_1.03.reload, i32 1024 %16 = call i64 @FUNC(i64 %5, i64 %sv_0.02.reload, i32 %15, i64 0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i32 %storemerge14.reload, i32* %storemerge1.lcssa.reg2mem br i1 %19, label LBL_3, label LBL_4 LBL_3: %20 = and i64 %16, 4294967295 %21 = call i64 @FUNC(i64 %5, i64 %20) %sext = mul i64 %16, 4294967296 %22 = ashr exact i64 %sext, 32 %23 = add i64 %22, %sv_0.02.reload %24 = sub i32 %sv_1.03.reload, %17 %25 = add i32 %storemerge14.reload, %17 %26 = icmp eq i32 %24, 0 %27 = icmp slt i32 %24, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 store i32 %25, i32* %storemerge14.reg2mem store i32 %24, i32* %sv_1.03.reg2mem store i64 %23, i64* %sv_0.02.reg2mem store i32 %25, i32* %storemerge1.lcssa.reg2mem br i1 %30, label LBL_2, label LBL_4 LBL_4: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %storemerge = zext i32 %storemerge1.lcssa.reload to i64 ret i64 %storemerge uselistorder i32 %7, { 1, 0 } uselistorder i32 %storemerge14.reload, { 1, 0 } uselistorder i32 %sv_1.03.reload, { 0, 2, 4, 1, 3 } uselistorder i64 %sv_0.02.reload, { 1, 0 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 4, 2, 3, 0, 1 } uselistorder i32 0, { 8, 9, 4, 5, 6, 7, 1, 0, 2, 3 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
smka_decode_init_10103
smka_decode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %.off = add i32 %3, -1 %4 = icmp ult i32 %.off, 2 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = icmp eq i32 %3, 2 %7 = icmp eq i1 %6, false %. = select i1 %7, i32 1, i32 3 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i32* store i32 %., i32* %9, align 4 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 8 %14 = icmp eq i1 %13, false %15 = zext i1 %14 to i32 %16 = add i64 %2, 12 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 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 %2, { 1, 0, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 0, { 0, 3, 1, 2, 4 } uselistorder i32 2, { 1, 0 } }
0
BinRealVul
prep_compound_gigantic_page_17790
prep_compound_gigantic_page
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.01.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = urem i32 %0, 32 %2 = shl i32 1, %1 %3 = call i64 @FUNC(i64 %arg1, i64 %arg2) %4 = call i64 @FUNC(i64 %arg1) %5 = icmp sgt i32 %2, 1 store i64 1, i64* %sv_0.0.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = add i64 %arg1, 8 store i32 1, i32* %sv_0.02.reg2mem store i64 %6, i64* %sv_1.01.reg2mem br label LBL_2 LBL_2: %sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %7 = call i64 @FUNC(i64 %sv_1.01.reload) %8 = inttoptr i64 %sv_1.01.reload to i64* store i64 %arg1, i64* %8, align 8 %9 = add nuw nsw i32 %sv_0.02.reload, 1 %10 = call i64 @FUNC(i64 %sv_1.01.reload, i64 %arg1, i32 %9) %exitcond = icmp eq i32 %9, %2 store i32 %9, i32* %sv_0.02.reg2mem store i64 %10, i64* %sv_1.01.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %phitmp = zext i32 %2 to i64 store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem ret i64 %sv_0.0.lcssa.reload uselistorder i64 %sv_1.01.reload, { 0, 2, 1 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.01.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 %arg1, { 0, 1, 2, 4, 3 } }
1
BinRealVul
__vm_enough_memory_17902
__vm_enough_memory
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = load i32, i32* @gv_0, align 4 %2 = icmp eq i32 %1, 2 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = icmp eq i32 %1, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 0) %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %7, %6 %9 = call i64 @FUNC(i64 1) %10 = add i64 %8, %9 %11 = trunc i64 %arg3 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = udiv i64 %10, 32 %15 = select i1 %13, i64 0, i64 %14 %sv_0.0 = sub i64 %10, %15 %16 = icmp ugt i64 %sv_0.0, %arg2 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_7, label LBL_3 LBL_3: %17 = call i64 @FUNC() %18 = load i64, i64* @gv_2, align 8 %19 = icmp ugt i64 %17, %18 br i1 %19, label LBL_4, label LBL_6 LBL_4: %20 = sub i64 %17, %18 %21 = udiv i64 %20, 32 %.op = sub nsw i64 0, %21 %.neg = select i1 %13, i64 0, i64 %.op %sv_1.0 = add i64 %20, %sv_0.0 %22 = add i64 %sv_1.0, %.neg %23 = icmp ugt i64 %22, %arg2 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_5: %24 = call i64 @FUNC() %25 = call i64 @FUNC(i64* nonnull @gv_3) store i64 0, i64* %rax.0.reg2mem br i1 false, label LBL_7, label LBL_6 LBL_6: %26 = call i64 @FUNC(i64 %arg2) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64)* @global_page_state, { 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_7, { 4, 0, 1, 2, 3 } }
1
BinRealVul
ib700_pc_init_16330
ib700_pc_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 4294967295, i64 0, i64 4198715, i64 4198722, i64 0) %1 = call i64 @FUNC(i64 1089, i64 2, i64 1, i64 4198729, i64 0) %2 = call i64 @FUNC(i64 1091, i64 2, i64 1, i64 4198736, i64 0) ret i64 %2 uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 1, 0 } }
1
BinRealVul
jpc_pi_nextrpcl_7775
jpc_pi_nextrpcl
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.9.reg2mem = alloca i64 %rsi.7.reg2mem = alloca i64 %.reg2mem73 = alloca i32 %rsi.6.reg2mem = alloca i64 %.reg2mem71 = alloca i32 %rsi.5.reg2mem = alloca i64 %.reg2mem69 = alloca i32 %rsi.4.reg2mem = alloca i64 %.reg2mem67 = alloca i64 %rsi.3.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %.reg2mem65 = alloca i32 %rsi.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.pre-phi55.reg2mem = alloca i64 %.reg2mem63 = alloca i32 %.pre-phi48.reg2mem = alloca i32 %.pre-phi52.reg2mem = alloca i64 %.reg2mem61 = alloca i32 %.pre-phi42.reg2mem = alloca i32 %.pre-phi46.reg2mem = alloca i64 %.reg2mem59 = alloca i32 %storemerge22.in.reg2mem = alloca i32 %storemerge23.in.reg2mem = alloca i32 %sv_0.031.reg2mem = alloca i32 %storemerge21.in32.reg2mem = alloca i64 %.reg2mem57 = alloca i32 %sv_1.034.reg2mem = alloca i32 %storemerge20.in35.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 88 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 %0, i64* %rsi.1.reg2mem br i1 %7, label LBL_36, label LBL_1 LBL_1: %8 = add i64 %0, 80 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 84 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = bitcast i64* %rdi to i32* %13 = load i32, i32* %12, align 8 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_14, label LBL_2 LBL_2: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %0, 56 %19 = inttoptr i64 %18 to i64* store i32 %13, i32* %.reg2mem store i64 %17, i64* %storemerge20.in35.reg2mem store i32 0, i32* %sv_1.034.reg2mem br label LBL_3 LBL_3: %sv_1.034.reload = load i32, i32* %sv_1.034.reg2mem %storemerge20.in35.reload = load i64, i64* %storemerge20.in35.reg2mem %.reload = load i32, i32* %.reg2mem %20 = add i64 %storemerge20.in35.reload, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 store i32 %.reload, i32* %.reg2mem59 br i1 %23, label LBL_13, label LBL_4 LBL_4: %storemerge2037 = inttoptr i64 %storemerge20.in35.reload to i32* %24 = add i64 %storemerge20.in35.reload, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add i64 %storemerge20.in35.reload, 4 %28 = inttoptr i64 %27 to i32* store i32 %22, i32* %.reg2mem57 store i64 %26, i64* %storemerge21.in32.reg2mem store i32 0, i32* %sv_0.031.reg2mem br label LBL_5 LBL_5: %storemerge21.in32.reload = load i64, i64* %storemerge21.in32.reg2mem %storemerge21 = inttoptr i64 %storemerge21.in32.reload to i32* %29 = load i32, i32* %storemerge21, align 4 %30 = load i64, i64* %19, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i32 %33, %29 %35 = icmp sgt i32 %34, 30 store i64 4294967295, i64* %rax.9.reg2mem br i1 %35, label LBL_49, label LBL_6 LBL_6: %36 = add i64 %storemerge21.in32.reload, 4 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = add i32 %38, %33 %40 = icmp slt i32 %39, 31 store i64 4294967295, i64* %rax.9.reg2mem br i1 %40, label LBL_7, label LBL_49 LBL_7: %sv_0.031.reload = load i32, i32* %sv_0.031.reg2mem %.reload58 = load i32, i32* %.reg2mem57 %41 = load i32, i32* %storemerge2037, align 4 %42 = sext i32 %41 to i64 %43 = xor i32 %sv_0.031.reload, 63 %44 = add i32 %43, %.reload58 %45 = add i32 %44, %29 %46 = urem i32 %45, 64 %47 = zext i32 %46 to i64 %rdx.0 = shl i64 %42, %47 %48 = trunc i64 %rdx.0 to i32 %49 = load i32, i32* %28, align 4 %50 = load i32, i32* %9, align 4 %51 = icmp eq i32 %50, 0 store i32 %48, i32* %storemerge23.in.reg2mem br i1 %51, label LBL_9, label LBL_8 LBL_8: %52 = sub i32 %50, %48 %53 = xor i32 %50, %48 %54 = xor i32 %52, %50 %55 = and i32 %54, %53 %56 = icmp slt i32 %55, 0 %57 = icmp eq i32 %52, 0 %58 = icmp slt i32 %52, 0 %59 = icmp ne i1 %58, %56 %60 = or i1 %57, %59 %61 = select i1 %60, i32 %50, i32 %48 store i32 %61, i32* %storemerge23.in.reg2mem br label LBL_9 LBL_9: %62 = sext i32 %49 to i64 %63 = add i32 %38, %44 %64 = urem i32 %63, 64 %65 = zext i32 %64 to i64 %rdx.1 = shl i64 %62, %65 %66 = trunc i64 %rdx.1 to i32 %storemerge23.in.reload = load i32, i32* %storemerge23.in.reg2mem store i32 %storemerge23.in.reload, i32* %9, align 4 %67 = load i32, i32* %11, align 4 %68 = icmp eq i32 %67, 0 store i32 %66, i32* %storemerge22.in.reg2mem br i1 %68, label LBL_11, label LBL_10 LBL_10: %69 = sub i32 %67, %66 %70 = xor i32 %67, %66 %71 = xor i32 %69, %67 %72 = and i32 %71, %70 %73 = icmp slt i32 %72, 0 %74 = icmp eq i32 %69, 0 %75 = icmp slt i32 %69, 0 %76 = icmp ne i1 %75, %73 %77 = or i1 %74, %76 %78 = select i1 %77, i32 %67, i32 %66 store i32 %78, i32* %storemerge22.in.reg2mem br label LBL_11 LBL_11: %storemerge22.in.reload = load i32, i32* %storemerge22.in.reg2mem store i32 %storemerge22.in.reload, i32* %11, align 4 %79 = add i32 %sv_0.031.reload, 1 %80 = add i64 %storemerge21.in32.reload, 24 %81 = load i32, i32* %21, align 4 %82 = zext i32 %81 to i64 %83 = sext i32 %79 to i64 %84 = icmp slt i64 %83, %82 store i32 %81, i32* %.reg2mem57 store i64 %80, i64* %storemerge21.in32.reg2mem store i32 %79, i32* %sv_0.031.reg2mem br i1 %84, label LBL_5, label LBL_12 LBL_12: %.pre = load i32, i32* %12, align 8 store i32 %.pre, i32* %.reg2mem59 br label LBL_13 LBL_13: %.reload60 = load i32, i32* %.reg2mem59 %85 = add i32 %sv_1.034.reload, 1 %86 = add i64 %storemerge20.in35.reload, 24 %87 = zext i32 %.reload60 to i64 %88 = sext i32 %85 to i64 %89 = icmp slt i64 %88, %87 store i32 %.reload60, i32* %.reg2mem store i64 %86, i64* %storemerge20.in35.reg2mem store i32 %85, i32* %sv_1.034.reg2mem br i1 %89, label LBL_3, label LBL_14 LBL_14: %90 = inttoptr i64 %3 to i32* store i32 0, i32* %5, align 4 %91 = load i32, i32* %90, align 4 %92 = add i64 %0, 40 %93 = inttoptr i64 %92 to i32* store i32 %91, i32* %93, align 4 store i32 %91, i32* %.reg2mem73 store i64 %0, i64* %rsi.7.reg2mem br label LBL_47 LBL_15: %94 = add i64 %rsi.7.reload, 28 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = add i64 %rsi.7.reload, 48 %98 = inttoptr i64 %97 to i32* store i32 %96, i32* %98, align 4 store i32 %96, i32* %.reg2mem71 store i64 %rsi.7.reload, i64* %rsi.6.reg2mem br label LBL_45 LBL_16: %99 = add i64 %rsi.6.reload, 20 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = add i64 %rsi.6.reload, 44 %103 = inttoptr i64 %102 to i32* store i32 %101, i32* %103, align 4 store i32 %101, i32* %.reg2mem69 store i64 %rsi.6.reload, i64* %rsi.5.reg2mem br label LBL_43 LBL_17: %104 = add i64 %3, 8 %105 = inttoptr i64 %104 to i32* %106 = load i32, i32* %105, align 4 %107 = add i64 %rsi.5.reload, 52 %108 = inttoptr i64 %107 to i32* store i32 %106, i32* %108, align 4 %109 = add i64 %rsi.5.reload, 8 %110 = inttoptr i64 %109 to i64* %111 = load i64, i64* %110, align 8 %112 = sext i32 %106 to i64 %113 = mul nsw i64 %112, 24 %114 = add i64 %113, %111 %115 = add i64 %rsi.5.reload, 56 %116 = inttoptr i64 %115 to i64* store i64 %114, i64* %116, align 8 store i64 %114, i64* %.reg2mem67 store i64 %rsi.5.reload, i64* %rsi.4.reg2mem br label LBL_40 LBL_18: %.reload68 = load i64, i64* %.reg2mem67 %117 = add i64 %rsi.4.reload, 40 %118 = inttoptr i64 %117 to i32* %119 = load i32, i32* %118, align 4 %120 = add i64 %.reload68, 8 %121 = inttoptr i64 %120 to i32* %122 = load i32, i32* %121, align 4 %123 = icmp ult i32 %119, %122 store i64 %rsi.4.reload, i64* %rsi.3.reg2mem br i1 %123, label LBL_19, label LBL_39 LBL_19: %124 = add i64 %.reload68, 16 %125 = inttoptr i64 %124 to i64* %126 = load i64, i64* %125, align 8 %127 = sext i32 %119 to i64 %128 = mul nsw i64 %127, 24 %129 = add i64 %126, %128 %130 = add i64 %rsi.4.reload, 64 %131 = inttoptr i64 %130 to i64* store i64 %129, i64* %131, align 8 %132 = add i64 %129, 8 %133 = inttoptr i64 %132 to i32* %134 = load i32, i32* %133, align 4 %135 = icmp eq i32 %134, 0 store i64 %rsi.4.reload, i64* %rsi.3.reg2mem br i1 %135, label LBL_39, label LBL_20 LBL_20: %136 = add i64 %rsi.4.reload, 56 %137 = inttoptr i64 %136 to i64* %138 = load i64, i64* %137, align 8 %139 = add i64 %138, 8 %140 = inttoptr i64 %139 to i32* %141 = load i32, i32* %140, align 4 %142 = load i32, i32* %118, align 4 %143 = sub i32 0, %142 %144 = sub i32 %143, 1 %145 = add i32 %141, %144 %146 = inttoptr i64 %129 to i32* %147 = load i32, i32* %146, align 4 %148 = add i32 %145, %147 %149 = add i64 %129, 4 %150 = inttoptr i64 %149 to i32* %151 = load i32, i32* %150, align 4 %152 = add i64 %rsi.4.reload, 20 %153 = inttoptr i64 %152 to i32* %154 = load i32, i32* %153, align 4 %155 = zext i32 %154 to i64 store i64 %155, i64* %rdi, align 8 %156 = load i64, i64* %137, align 8 %157 = inttoptr i64 %156 to i32* %158 = load i32, i32* %157, align 4 %159 = urem i32 %145, 32 %160 = shl i32 %158, %159 %161 = add i32 %154, -1 %162 = add i32 %161, %160 %163 = zext i32 %162 to i64 %rax.0 = zext i32 %160 to i64 %164 = ashr i32 %162, 31 %165 = zext i32 %164 to i64 %166 = mul i64 %165, 4294967296 %167 = or i64 %166, %163 %168 = sdiv i64 %167, %rax.0 %169 = add i64 %rsi.4.reload, 28 %170 = inttoptr i64 %169 to i32* %171 = load i32, i32* %170, align 4 %172 = zext i32 %171 to i64 store i64 %172, i64* %rdi, align 8 %173 = load i64, i64* %137, align 8 %174 = add i64 %173, 4 %175 = inttoptr i64 %174 to i32* %176 = load i32, i32* %175, align 4 %177 = add i64 %rsi.4.reload, 44 %178 = inttoptr i64 %177 to i32* %179 = load i32, i32* %178, align 4 %180 = load i32, i32* %153, align 4 %181 = icmp eq i32 %179, %180 %182 = icmp eq i1 %181, false br i1 %182, label LBL_20.LBL_24_crit_edge, label LBL_22 LBL_21: %.pre41 = urem i32 %148, 64 %.pre43 = zext i32 %.pre41 to i64 %.pre45 = shl i64 -1, %.pre43 store i64 %.pre45, i64* %.pre-phi46.reg2mem store i32 %.pre41, i32* %.pre-phi42.reg2mem store i32 %179, i32* %.reg2mem61 br label LBL_24 LBL_22: %sext = mul i64 %168, 4294967296 %183 = ashr exact i64 %sext, 32 %184 = urem i32 %145, 64 %185 = zext i32 %184 to i64 %rax.3 = shl i64 %183, %185 %186 = urem i32 %148, 64 %187 = icmp eq i32 %186, 0 %188 = zext i32 %186 to i64 %189 = shl i64 -1, %188 %storemerge11 = select i1 %187, i64 -1, i64 %189 store i64 %storemerge11, i64* %rdi, align 8 %190 = sub i64 0, %storemerge11 %191 = sub i64 %190, 1 %192 = and i64 %rax.3, %191 %193 = icmp eq i64 %192, 0 %194 = icmp eq i1 %193, false br i1 %194, label LBL_25, label LBL_22.LBL_24_crit_edge LBL_23: %.pre38 = load i32, i32* %178, align 4 store i64 %189, i64* %.pre-phi46.reg2mem store i32 %186, i32* %.pre-phi42.reg2mem store i32 %.pre38, i32* %.reg2mem61 br label LBL_24 LBL_24: %.reload62 = load i32, i32* %.reg2mem61 %.pre-phi42.reload = load i32, i32* %.pre-phi42.reg2mem %.pre-phi46.reload = load i64, i64* %.pre-phi46.reg2mem %195 = sext i32 %.reload62 to i64 %196 = icmp eq i32 %.pre-phi42.reload, 0 %storemerge12 = select i1 %196, i64 -1, i64 %.pre-phi46.reload store i64 %storemerge12, i64* %rdi, align 8 %197 = sub i64 0, %storemerge12 %198 = sub i64 %197, 1 %199 = and i64 %195, %198 %200 = icmp eq i64 %199, 0 %201 = icmp eq i1 %200, false store i64 %rsi.4.reload, i64* %rsi.3.reg2mem br i1 %201, label LBL_39, label LBL_25 LBL_25: %202 = add i32 %151, %145 %203 = shl i32 %176, %159 %rax.1 = zext i32 %203 to i64 %204 = add nuw nsw i64 %172, 4294967295 %205 = add nuw nsw i64 %204, %rax.1 %206 = and i64 %205, 4294967295 %207 = trunc i64 %205 to i32 %208 = ashr i32 %207, 31 %209 = zext i32 %208 to i64 %210 = mul i64 %209, 4294967296 %211 = or i64 %210, %206 %212 = sdiv i64 %211, %rax.1 %213 = add i64 %rsi.4.reload, 48 %214 = inttoptr i64 %213 to i32* %215 = load i32, i32* %214, align 4 %216 = load i32, i32* %170, align 4 %217 = icmp eq i32 %215, %216 %218 = icmp eq i1 %217, false br i1 %218, label LBL_25.LBL_29_crit_edge, label LBL_27 LBL_26: %.pre47 = urem i32 %202, 64 %.pre49 = zext i32 %.pre47 to i64 %.pre51 = shl i64 -1, %.pre49 store i64 %.pre51, i64* %.pre-phi52.reg2mem store i32 %.pre47, i32* %.pre-phi48.reg2mem store i32 %215, i32* %.reg2mem63 br label LBL_29 LBL_27: %sext24 = mul i64 %212, 4294967296 %219 = ashr exact i64 %sext24, 32 %220 = urem i32 %145, 64 %221 = zext i32 %220 to i64 %rax.4 = shl i64 %219, %221 %222 = urem i32 %202, 64 %223 = icmp eq i32 %222, 0 %224 = zext i32 %222 to i64 %225 = shl i64 -1, %224 %storemerge14 = select i1 %223, i64 -1, i64 %225 store i64 %storemerge14, i64* %rdi, align 8 %226 = sub i64 0, %storemerge14 %227 = sub i64 %226, 1 %228 = and i64 %rax.4, %227 %229 = icmp eq i64 %228, 0 %230 = icmp eq i1 %229, false store i64 %219, i64* %.pre-phi55.reg2mem br i1 %230, label LBL_31, label LBL_27.LBL_29_crit_edge LBL_28: %.pre39 = load i32, i32* %214, align 4 store i64 %225, i64* %.pre-phi52.reg2mem store i32 %222, i32* %.pre-phi48.reg2mem store i32 %.pre39, i32* %.reg2mem63 br label LBL_29 LBL_29: %.reload64 = load i32, i32* %.reg2mem63 %.pre-phi48.reload = load i32, i32* %.pre-phi48.reg2mem %.pre-phi52.reload = load i64, i64* %.pre-phi52.reg2mem %231 = sext i32 %.reload64 to i64 %232 = icmp eq i32 %.pre-phi48.reload, 0 %storemerge15 = select i1 %232, i64 -1, i64 %.pre-phi52.reload store i64 %storemerge15, i64* %rdi, align 8 %233 = sub i64 0, %storemerge15 %234 = sub i64 %233, 1 %235 = and i64 %231, %234 %236 = icmp eq i64 %235, 0 %237 = icmp eq i1 %236, false store i64 %rsi.4.reload, i64* %rsi.3.reg2mem br i1 %237, label LBL_39, label LBL_29.LBL_31_crit_edge LBL_30: %.pre53 = mul i64 %212, 4294967296 %.pre54 = ashr exact i64 %.pre53, 32 store i64 %.pre54, i64* %.pre-phi55.reg2mem br label LBL_31 LBL_31: %.pre-phi55.reload = load i64, i64* %.pre-phi55.reg2mem %238 = load i32, i32* %178, align 4 %239 = zext i32 %238 to i64 store i64 %239, i64* %rdi, align 8 %240 = load i64, i64* %137, align 8 %241 = inttoptr i64 %240 to i32* %242 = load i32, i32* %241, align 4 %243 = shl i32 %242, %159 %244 = add i32 %238, -1 %245 = add i32 %244, %243 %246 = zext i32 %245 to i64 %rax.6 = zext i32 %243 to i64 %247 = ashr i32 %245, 31 %248 = zext i32 %247 to i64 %249 = mul i64 %248, 4294967296 %250 = or i64 %249, %246 %251 = sdiv i64 %250, %rax.6 %252 = and i64 %251, 4294967295 %253 = load i64, i64* %131, align 8 %254 = inttoptr i64 %253 to i32* %255 = load i32, i32* %254, align 4 %256 = urem i32 %255, 32 %257 = icmp eq i32 %256, 0 %258 = trunc i64 %251 to i32 %259 = ashr i32 %258, %256 %260 = zext i32 %259 to i64 %rdx.2 = select i1 %257, i64 %252, i64 %260 store i64 %rdx.2, i64* %rdi, align 8 %261 = load i64, i64* %131, align 8 %262 = inttoptr i64 %261 to i32* %263 = load i32, i32* %262, align 4 %sext25 = mul i64 %168, 4294967296 %264 = ashr exact i64 %sext25, 32 %265 = urem i32 %263, 64 %266 = zext i32 %265 to i64 %storemerge17 = lshr i64 %264, %266 %267 = trunc i64 %storemerge17 to i32 %268 = trunc i64 %rdx.2 to i32 %269 = sub i32 %268, %267 %270 = load i32, i32* %214, align 4 %271 = zext i32 %270 to i64 store i64 %271, i64* %rdi, align 8 %272 = load i64, i64* %137, align 8 %273 = add i64 %272, 4 %274 = inttoptr i64 %273 to i32* %275 = load i32, i32* %274, align 4 %276 = shl i32 %275, %159 %277 = add i32 %270, -1 %278 = add i32 %277, %276 %279 = zext i32 %278 to i64 %rax.8 = zext i32 %276 to i64 %280 = ashr i32 %278, 31 %281 = zext i32 %280 to i64 %282 = mul i64 %281, 4294967296 %283 = or i64 %282, %279 %284 = sdiv i64 %283, %rax.8 %285 = and i64 %284, 4294967295 %286 = load i64, i64* %131, align 8 %287 = add i64 %286, 4 %288 = inttoptr i64 %287 to i32* %289 = load i32, i32* %288, align 4 %290 = urem i32 %289, 32 %291 = icmp eq i32 %290, 0 %292 = trunc i64 %284 to i32 %293 = ashr i32 %292, %290 %294 = zext i32 %293 to i64 %rdx.3 = select i1 %291, i64 %285, i64 %294 store i64 %rdx.3, i64* %rdi, align 8 %295 = load i64, i64* %131, align 8 %296 = add i64 %295, 4 %297 = inttoptr i64 %296 to i32* %298 = load i32, i32* %297, align 4 %299 = urem i32 %298, 64 %300 = zext i32 %299 to i64 %storemerge19 = lshr i64 %.pre-phi55.reload, %300 %301 = sub i64 %rdx.3, %storemerge19 %302 = add i64 %295, 12 %303 = inttoptr i64 %302 to i32* %304 = load i32, i32* %303, align 4 %305 = trunc i64 %301 to i32 %306 = mul i32 %304, %305 %307 = add i32 %306, %269 %308 = add i64 %rsi.4.reload, 72 %309 = inttoptr i64 %308 to i32* store i32 %307, i32* %309, align 4 %310 = load i64, i64* %131, align 8 %311 = add i64 %310, 8 %312 = inttoptr i64 %311 to i32* %313 = load i32, i32* %312, align 4 %314 = icmp ult i32 %307, %313 store i64 %rsi.4.reload, i64* %rsi.0.reg2mem br i1 %314, label LBL_33, label LBL_32 LBL_32: call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 128, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([49 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem br label LBL_33 LBL_33: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %315 = add i64 %rsi.0.reload, 96 %316 = inttoptr i64 %315 to i32* store i32 0, i32* %316, align 4 store i32 0, i32* %.reg2mem65 store i64 %rsi.0.reload, i64* %rsi.2.reg2mem br label LBL_37 LBL_34: %317 = add i64 %rsi.2.reload, 64 %318 = inttoptr i64 %317 to i64* %319 = load i64, i64* %318, align 8 %320 = add i64 %319, 16 %321 = inttoptr i64 %320 to i64* %322 = load i64, i64* %321, align 8 %323 = add i64 %rsi.2.reload, 72 %324 = inttoptr i64 %323 to i32* %325 = load i32, i32* %324, align 4 %326 = sext i32 %325 to i64 %327 = mul i64 %326, 4 %328 = add i64 %327, %322 %329 = inttoptr i64 %328 to i32* %330 = load i32, i32* %329, align 4 %331 = icmp ult i32 %.reload66, %330 store i64 %rsi.2.reload, i64* %rsi.1.reg2mem br i1 %331, label LBL_36, label LBL_35 LBL_35: %332 = add i32 %330, 1 store i32 %332, i32* %329, align 4 store i64 0, i64* %rax.9.reg2mem br label LBL_49 LBL_36: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %333 = add i64 %rsi.1.reload, 96 %334 = inttoptr i64 %333 to i32* %335 = load i32, i32* %334, align 4 %336 = add i32 %335, 1 store i32 %336, i32* %334, align 4 store i32 %336, i32* %.reg2mem65 store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br label LBL_37 LBL_37: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %.reload66 = load i32, i32* %.reg2mem65 %337 = add i64 %rsi.2.reload, 76 %338 = inttoptr i64 %337 to i32* %339 = load i32, i32* %338, align 4 %340 = icmp ult i32 %.reload66, %339 store i64 %rsi.2.reload, i64* %rsi.3.reg2mem br i1 %340, label LBL_38, label LBL_39 LBL_38: %341 = add i64 %3, 16 %342 = inttoptr i64 %341 to i32* %343 = load i32, i32* %342, align 4 %344 = icmp ult i32 %.reload66, %343 store i64 %rsi.2.reload, i64* %rsi.3.reg2mem br i1 %344, label LBL_34, label LBL_39 LBL_39: %rsi.3.reload = load i64, i64* %rsi.3.reg2mem %345 = add i64 %rsi.3.reload, 52 %346 = inttoptr i64 %345 to i32* %347 = load i32, i32* %346, align 4 %348 = add i32 %347, 1 store i32 %348, i32* %346, align 4 %349 = add i64 %rsi.3.reload, 56 %350 = inttoptr i64 %349 to i64* %351 = load i64, i64* %350, align 8 %352 = add i64 %351, 24 store i64 %352, i64* %350, align 8 store i64 %352, i64* %.reg2mem67 store i64 %rsi.3.reload, i64* %rsi.4.reg2mem br label LBL_40 LBL_40: %rsi.4.reload = load i64, i64* %rsi.4.reg2mem %353 = add i64 %rsi.4.reload, 52 %354 = inttoptr i64 %353 to i32* %355 = load i32, i32* %354, align 4 %356 = add i64 %3, 12 %357 = inttoptr i64 %356 to i32* %358 = load i32, i32* %357, align 4 %359 = icmp ult i32 %355, %358 br i1 %359, label LBL_41, label LBL_42 LBL_41: %360 = inttoptr i64 %rsi.4.reload to i32* %361 = load i32, i32* %360, align 4 %362 = icmp ult i32 %355, %361 br i1 %362, label LBL_18, label LBL_42 LBL_42: %363 = add i64 %rsi.4.reload, 44 %364 = inttoptr i64 %363 to i32* %365 = load i32, i32* %364, align 4 %366 = add i64 %rsi.4.reload, 80 %367 = inttoptr i64 %366 to i32* %368 = load i32, i32* %367, align 4 %369 = ashr i32 %365, 31 %370 = zext i32 %365 to i64 %371 = zext i32 %369 to i64 %372 = mul i64 %371, 4294967296 %373 = or i64 %372, %370 %374 = zext i32 %368 to i64 %375 = srem i64 %373, %374 %376 = trunc i64 %375 to i32 %377 = add i32 %368, %365 %378 = sub i32 %377, %376 store i32 %378, i32* %364, align 4 store i32 %378, i32* %.reg2mem69 store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br label LBL_43 LBL_43: %rsi.5.reload = load i64, i64* %rsi.5.reg2mem %.reload70 = load i32, i32* %.reg2mem69 %379 = add i64 %rsi.5.reload, 24 %380 = inttoptr i64 %379 to i32* %381 = load i32, i32* %380, align 4 %382 = icmp ult i32 %.reload70, %381 br i1 %382, label LBL_17, label LBL_44 LBL_44: %383 = add i64 %rsi.5.reload, 48 %384 = inttoptr i64 %383 to i32* %385 = load i32, i32* %384, align 4 %386 = add i64 %rsi.5.reload, 84 %387 = inttoptr i64 %386 to i32* %388 = load i32, i32* %387, align 4 %389 = ashr i32 %385, 31 %390 = zext i32 %385 to i64 %391 = zext i32 %389 to i64 %392 = mul i64 %391, 4294967296 %393 = or i64 %392, %390 %394 = zext i32 %388 to i64 %395 = srem i64 %393, %394 %396 = trunc i64 %395 to i32 %397 = add i32 %388, %385 %398 = sub i32 %397, %396 store i32 %398, i32* %384, align 4 store i32 %398, i32* %.reg2mem71 store i64 %rsi.5.reload, i64* %rsi.6.reg2mem br label LBL_45 LBL_45: %rsi.6.reload = load i64, i64* %rsi.6.reg2mem %.reload72 = load i32, i32* %.reg2mem71 %399 = add i64 %rsi.6.reload, 32 %400 = inttoptr i64 %399 to i32* %401 = load i32, i32* %400, align 4 %402 = icmp ult i32 %.reload72, %401 br i1 %402, label LBL_16, label LBL_46 LBL_46: %403 = add i64 %rsi.6.reload, 40 %404 = inttoptr i64 %403 to i32* %405 = load i32, i32* %404, align 4 %406 = add i32 %405, 1 store i32 %406, i32* %404, align 4 store i32 %406, i32* %.reg2mem73 store i64 %rsi.6.reload, i64* %rsi.7.reg2mem br label LBL_47 LBL_47: %.reload74 = load i32, i32* %.reg2mem73 %407 = add i64 %3, 4 %408 = inttoptr i64 %407 to i32* %409 = load i32, i32* %408, align 4 %410 = icmp ult i32 %.reload74, %409 store i64 1, i64* %rax.9.reg2mem br i1 %410, label LBL_48, label LBL_49 LBL_48: %rsi.7.reload = load i64, i64* %rsi.7.reg2mem %411 = add i64 %rsi.7.reload, 36 %412 = inttoptr i64 %411 to i32* %413 = load i32, i32* %412, align 4 %414 = icmp ult i32 %.reload74, %413 store i64 1, i64* %rax.9.reg2mem br i1 %414, label LBL_15, label LBL_49 LBL_49: %rax.9.reload = load i64, i64* %rax.9.reg2mem ret i64 %rax.9.reload uselistorder i64 %rsi.7.reload, { 2, 0, 1, 3 } uselistorder i64 %rsi.6.reload, { 0, 3, 4, 1, 2, 5 } uselistorder i32 %385, { 0, 2, 1 } uselistorder i64 %rsi.5.reload, { 0, 2, 1, 4, 3, 6, 5, 7 } uselistorder i32 %365, { 0, 2, 1 } uselistorder i64 %rsi.4.reload, { 0, 11, 12, 4, 5, 2, 17, 1, 14, 3, 6, 7, 8, 15, 9, 16, 10, 13 } uselistorder i64 %rsi.3.reload, { 0, 2, 1 } uselistorder i32 %.reload66, { 1, 2, 0 } uselistorder i64 %rsi.2.reload, { 1, 0, 2, 4, 3, 5 } uselistorder i32 %290, { 1, 0 } uselistorder i32 %276, { 1, 0 } uselistorder i32 %256, { 1, 0 } uselistorder i32 %243, { 1, 0 } uselistorder i32* %214, { 1, 0, 2 } uselistorder i64 %rax.1, { 1, 0 } uselistorder i32* %178, { 1, 0, 2 } uselistorder i32 %160, { 1, 0 } uselistorder i32 %159, { 3, 2, 1, 0 } uselistorder i32 %145, { 0, 3, 1, 2, 4 } uselistorder i32 %.reload60, { 1, 0 } uselistorder i32 %69, { 1, 2, 0 } uselistorder i32 %67, { 3, 0, 1, 2, 4 } uselistorder i32 %66, { 3, 1, 2, 0 } uselistorder i32 %52, { 1, 2, 0 } uselistorder i32 %50, { 3, 1, 0, 2, 4 } uselistorder i32 %48, { 3, 1, 2, 0 } uselistorder i32* %21, { 1, 0 } uselistorder i64 %storemerge20.in35.reload, { 3, 0, 2, 4, 1 } uselistorder i64 %3, { 3, 1, 0, 2, 4 } uselistorder i64 %0, { 0, 2, 3, 4, 5, 6, 1, 8, 7 } uselistorder i64* %rdi, { 9, 8, 7, 6, 0, 1, 2, 3, 5, 4, 10 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge20.in35.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.034.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem57, { 1, 0, 2 } uselistorder i64* %storemerge21.in32.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.031.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge23.in.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge22.in.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi55.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem65, { 0, 2, 1 } uselistorder i64* %rsi.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.3.reg2mem, { 0, 6, 1, 3, 4, 5, 2 } uselistorder i64* %.reg2mem67, { 2, 0, 1 } uselistorder i64* %rsi.4.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem69, { 0, 2, 1 } uselistorder i64* %rsi.5.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem71, { 0, 2, 1 } uselistorder i64* %rsi.6.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem73, { 0, 2, 1 } uselistorder i64* %rsi.7.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.9.reg2mem, { 0, 3, 4, 5, 2, 1 } uselistorder i64 96, { 1, 0 } uselistorder [49 x i8]* @gv_1, { 1, 0 } uselistorder i64 72, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 32, { 4, 1, 0, 2, 3 } uselistorder i64 -1, { 2, 3, 6, 0, 4, 5, 7, 1 } uselistorder i64 4294967296, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 9 } uselistorder i64 64, { 1, 0 } uselistorder i64 52, { 1, 2, 0 } uselistorder i64 44, { 2, 0, 1 } uselistorder i64 48, { 2, 1, 0 } uselistorder i64 28, { 1, 0 } uselistorder i64 40, { 1, 0, 2 } uselistorder i64 24, { 2, 3, 0, 1, 5, 4 } uselistorder i32 31, { 5, 6, 1, 2, 3, 4, 0 } uselistorder i64 4, { 1, 0, 2, 3, 4, 5, 6, 8, 7 } uselistorder i64 56, { 2, 0, 1, 3 } uselistorder i32 0, { 0, 10, 11, 12, 6, 7, 8, 9, 3, 13, 22, 14, 15, 16, 17, 18, 19, 20, 21, 1, 4, 2, 5, 23, 24, 25 } uselistorder i64 16, { 2, 1, 0, 3, 4 } uselistorder label LBL_49, { 2, 3, 4, 1, 0 } uselistorder label LBL_45, { 1, 0 } uselistorder label LBL_43, { 1, 0 } uselistorder label LBL_42, { 1, 0 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_39, { 2, 3, 4, 5, 0, 1 } uselistorder label LBL_37, { 1, 0 } uselistorder label LBL_36, { 1, 0 } uselistorder label LBL_29, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
mem_lseek_8050
mem_lseek
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 store i64 %arg2, i64* %storemerge2.reg2mem store i64 -22, i64* %storemerge.reg2mem switch i32 %1, label LBL_3 [ i32 0, label LBL_2 i32 1, label LBL_1 ] LBL_1: %2 = add i64 %0, %arg2 store i64 %2, i64* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem store i64 %storemerge2.reload, i64* %arg1, align 8 %3 = call i64 @FUNC() 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* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dev_getfirstbyhwtype_8057
dev_getfirstbyhwtype
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i16* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %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 = trunc i64 %arg2 to i16 store i32 0, i32* %storemerge.reg2mem br label LBL_2 LBL_1: %7 = ptrtoint i16* %sv_0.0 to i64 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC() ret i64 %7 LBL_2: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_0.1.reload = load i16*, i16** %sv_0.1.reg2mem %10 = sext i32 %storemerge.reload to i64 %11 = icmp slt i64 %10, %5 %12 = mul i64 %10, 2 %13 = add i64 %12, %0 %14 = inttoptr i64 %13 to i16* %sv_0.0 = select i1 %11, i16* %14, i16* %sv_0.1.reload %15 = load i16, i16* %sv_0.0, align 2 %16 = icmp eq i16 %15, %6 %17 = icmp eq i1 %16, false %18 = add i32 %storemerge.reload, 1 store i16* %sv_0.0, i16** %sv_0.1.reg2mem store i32 %18, i32* %storemerge.reg2mem br i1 %17, label LBL_2, label LBL_1 uselistorder i16* %sv_0.0, { 0, 2, 1 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i16** %sv_0.1.reg2mem, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 1, 0, 2 } }
0
BinRealVul
generate_joint_tables_7839
generate_joint_tables
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.19.reg2mem = alloca i32 %storemerge510.reg2mem = alloca i32 %sv_0.313.reg2mem = alloca i32 %storemerge314.reg2mem = alloca i32 %sv_0.516.reg2mem = alloca i32 %storemerge217.reg2mem = alloca i32 %indvars.iv32.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.119.reg2mem = alloca i32 %storemerge120.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1.324.reg2mem = alloca i32 %indvars.iv29.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %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 i64, align 8 %3 = ptrtoint i64* %sv_6 to i64 %4 = trunc i64 %1 to i32 %5 = icmp sgt i32 %4, 23 br i1 %5, label LBL_10, label LBL_1 LBL_1: %6 = ptrtoint i64* %sv_5 to i64 %7 = add i64 %2, 4 %8 = add i64 %3, -20576 %9 = add i64 %2, 3076 %10 = add i64 %3, -16480 %11 = add i64 %6, -16 %12 = inttoptr i64 %11 to i64* %13 = add i64 %6, -24 %14 = inttoptr i64 %13 to i64* %15 = add i64 %6, -32 %16 = inttoptr i64 %15 to i64* %17 = add i64 %6, -40 %18 = inttoptr i64 %17 to i64* %19 = ptrtoint i64* %sv_3 to i64 %20 = add i64 %6, -48 %21 = inttoptr i64 %20 to i64* %22 = add i64 %6, -56 %23 = inttoptr i64 %22 to i64* %24 = add i64 %6, -64 %25 = inttoptr i64 %24 to i64* %26 = ptrtoint i64* %sv_2 to i64 %27 = add i64 %2, 7200 store i64 0, i64* %indvars.iv32.reg2mem br label LBL_9 LBL_2: %sv_1.324.reload = load i32, i32* %sv_1.324.reg2mem %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem %28 = mul i64 %indvars.iv29.reload, 4 %29 = add i64 %28, %7 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = sub i32 12, %31 %33 = icmp slt i32 %32, 1 store i32 %sv_1.324.reload, i32* %sv_1.2.reg2mem br i1 %33, label LBL_7, label LBL_3 LBL_3: %34 = add i64 %28, %9 %35 = inttoptr i64 %34 to i32* %indvars.iv29.tr = trunc i64 %indvars.iv29.reload to i32 %36 = mul i32 %indvars.iv29.tr, 256 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge120.reg2mem store i32 %sv_1.324.reload, i32* %sv_1.119.reg2mem br label LBL_4 LBL_4: %sv_1.119.reload = load i32, i32* %sv_1.119.reg2mem %storemerge120.reload = load i32, i32* %storemerge120.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %37 = add nuw nsw i64 %indvars.iv.reload, %82 %38 = mul i64 %37, 4 %39 = add i64 %38, %7 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp sgt i32 %41, %32 store i32 %sv_1.119.reload, i32* %sv_1.0.reg2mem br i1 %42, label LBL_6, label LBL_5 LBL_5: %43 = add i32 %sv_1.119.reload, -4095 %44 = sub i32 4094, %sv_1.119.reload %45 = and i32 %44, %sv_1.119.reload %46 = icmp slt i32 %45, 0 %47 = icmp eq i32 %43, 0 %48 = icmp slt i32 %43, 0 %49 = icmp ne i1 %48, %46 %50 = or i1 %47, %49 %51 = zext i1 %50 to i64 %52 = call i64 @FUNC(i64 %51) %53 = add i32 %41, %31 %54 = sext i32 %sv_1.119.reload to i64 %55 = trunc i32 %53 to i8 %56 = add i64 %8, %54 %57 = inttoptr i64 %56 to i8* store i8 %55, i8* %57, align 1 %58 = load i32, i32* %35, align 4 %59 = urem i32 %41, 32 %60 = shl i32 %58, %59 %61 = add i64 %38, %9 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = add i32 %63, %60 %65 = trunc i32 %64 to i16 %66 = mul i64 %54, 2 %67 = add i64 %10, %66 %68 = inttoptr i64 %67 to i16* store i16 %65, i16* %68, align 2 %69 = add nuw nsw i32 %storemerge120.reload, %36 %70 = trunc i32 %69 to i16 %71 = add i64 %66, %3 %72 = add i64 %71, -8288 %73 = inttoptr i64 %72 to i16* store i16 %70, i16* %73, align 2 %74 = icmp ne i16 %70, -1 %75 = zext i1 %74 to i32 %spec.select8 = add i32 %sv_1.119.reload, %75 store i32 %spec.select8, i32* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %76 = add nuw nsw i32 %storemerge120.reload, 1 %exitcond28 = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %76, i32* %storemerge120.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.119.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.2.reg2mem br i1 %exitcond28, label LBL_7, label LBL_4 LBL_7: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1 %exitcond31 = icmp eq i64 %indvars.iv.next30, 256 store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem store i32 %sv_1.2.reload, i32* %sv_1.324.reg2mem br i1 %exitcond31, label LBL_8, label LBL_2 LBL_8: %77 = mul i64 %indvars.iv32.reload, 8 %78 = add i64 %27, %77 %79 = call i64 @FUNC(i64 %78) store i64 0, i64* %12, align 8 store i64 2, i64* %14, align 8 store i64 2, i64* %16, align 8 store i64 %19, i64* %18, align 8 store i64 2, i64* %21, align 8 store i64 2, i64* %23, align 8 store i64 %26, i64* %25, align 8 %80 = zext i32 %sv_1.2.reload to i64 %81 = call i64 @FUNC(i64 %78, i64 12, i64 %80, i64* nonnull %sv_4, i64 1, i64 1) %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1 %exitcond34 = icmp eq i64 %indvars.iv.next33, 3 store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem store i64 %81, i64* %rax.1.reg2mem br i1 %exitcond34, label LBL_24, label LBL_9 LBL_9: %indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem %82 = mul i64 %indvars.iv32.reload, 256 store i64 0, i64* %indvars.iv29.reg2mem store i32 0, i32* %sv_1.324.reg2mem br label LBL_2 LBL_10: %83 = add i64 %2, 6148 %84 = add i64 %2, 7172 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp eq i32 %86, 0 %88 = sext i32 %86 to i64 %89 = mul i64 %88, 256 %90 = add i64 %2, 4 %91 = zext i1 %87 to i64 %92 = mul i64 %91, 256 %93 = add i64 %2, 3076 %94 = add i64 %3, -20576 %95 = add i64 %3, -16480 store i32 -16, i32* %storemerge217.reg2mem store i32 0, i32* %sv_0.516.reg2mem br label LBL_11 LBL_11: %sv_0.516.reload = load i32, i32* %sv_0.516.reg2mem %storemerge217.reload = load i32, i32* %storemerge217.reg2mem %96 = urem i32 %storemerge217.reload, 256 %97 = zext i32 %96 to i64 %98 = or i64 %89, %97 %99 = mul i64 %98, 4 %100 = add i64 %99, %90 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = sub i32 12, %102 %104 = icmp slt i32 %103, 2 store i32 %sv_0.516.reload, i32* %sv_0.4.reg2mem br i1 %104, label LBL_22, label LBL_12 LBL_12: %105 = add i64 %99, %93 %106 = inttoptr i64 %105 to i32* %107 = trunc i32 %storemerge217.reload to i8 store i32 -16, i32* %storemerge314.reg2mem store i32 %sv_0.516.reload, i32* %sv_0.313.reg2mem br label LBL_13 LBL_13: %sv_0.313.reload = load i32, i32* %sv_0.313.reg2mem %storemerge314.reload = load i32, i32* %storemerge314.reg2mem %108 = urem i32 %storemerge314.reload, 256 %109 = zext i32 %108 to i64 %110 = or i64 %92, %109 %111 = mul i64 %110, 4 %112 = add i64 %111, %90 %113 = inttoptr i64 %112 to i32* %114 = load i32, i32* %113, align 4 %115 = sub i32 %103, %114 %116 = icmp slt i32 %115, 1 store i32 %sv_0.313.reload, i32* %sv_0.2.reg2mem br i1 %116, label LBL_21, label LBL_14 LBL_14: %117 = load i32, i32* %106, align 4 %118 = urem i32 %114, 32 %119 = shl i32 %117, %118 %120 = add i64 %111, %93 %121 = inttoptr i64 %120 to i32* %122 = load i32, i32* %121, align 4 %123 = add i32 %122, %119 %124 = add i32 %114, %102 %125 = add nsw i32 %storemerge314.reload, %storemerge217.reload %126 = trunc i32 %125 to i8 %127 = trunc i32 %storemerge314.reload to i8 store i32 -16, i32* %storemerge510.reg2mem store i32 %sv_0.313.reload, i32* %sv_0.19.reg2mem br label LBL_15 LBL_15: %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem %storemerge510.reload = load i32, i32* %storemerge510.reg2mem %128 = mul i32 %storemerge510.reload, 4 %129 = and i32 %128, 1020 %130 = or i32 %129, 2048 %131 = zext i32 %130 to i64 %132 = add i64 %90, %131 %133 = inttoptr i64 %132 to i32* %134 = load i32, i32* %133, align 4 %135 = icmp sgt i32 %134, %115 store i32 %sv_0.19.reload, i32* %sv_0.0.reg2mem br i1 %135, label LBL_20, label LBL_16 LBL_16: %136 = add i32 %sv_0.19.reload, -4095 %137 = sub i32 4094, %sv_0.19.reload %138 = and i32 %137, %sv_0.19.reload %139 = icmp slt i32 %138, 0 %140 = icmp eq i32 %136, 0 %141 = icmp slt i32 %136, 0 %142 = icmp ne i1 %141, %139 %143 = or i1 %140, %142 %144 = zext i1 %143 to i64 %145 = call i64 @FUNC(i64 %144) %146 = add i32 %124, %134 %147 = sext i32 %sv_0.19.reload to i64 %148 = trunc i32 %146 to i8 %149 = add i64 %94, %147 %150 = inttoptr i64 %149 to i8* store i8 %148, i8* %150, align 1 %151 = urem i32 %134, 32 %152 = shl i32 %123, %151 %153 = or i32 %129, 5120 %154 = zext i32 %153 to i64 %155 = add i64 %90, %154 %156 = inttoptr i64 %155 to i32* %157 = load i32, i32* %156, align 4 %158 = add i32 %157, %152 %159 = trunc i32 %158 to i16 %160 = mul i64 %147, 2 %161 = add i64 %95, %160 %162 = inttoptr i64 %161 to i16* store i16 %159, i16* %162, align 2 %163 = load i32, i32* %85, align 4 %164 = icmp eq i32 %163, 0 %165 = mul i64 %147, 4 %166 = add i64 %83, %165 br i1 %164, label LBL_18, label LBL_17 LBL_17: %167 = inttoptr i64 %166 to i8* store i8 %107, i8* %167, align 1 %168 = add i64 %166, 1 %169 = inttoptr i64 %168 to i8* store i8 %126, i8* %169, align 1 %170 = add nsw i32 %storemerge510.reload, %storemerge217.reload %171 = trunc i32 %170 to i8 %172 = add i64 %166, 2 %173 = inttoptr i64 %172 to i8* store i8 %171, i8* %173, align 1 br label LBL_19 LBL_18: %174 = add i64 %166, 1 %175 = inttoptr i64 %174 to i8* store i8 %107, i8* %175, align 1 %176 = inttoptr i64 %166 to i8* store i8 %127, i8* %176, align 1 %177 = trunc i32 %storemerge510.reload to i8 %178 = add i64 %166, 2 %179 = inttoptr i64 %178 to i8* store i8 %177, i8* %179, align 1 br label LBL_19 LBL_19: %180 = add i32 %sv_0.19.reload, 1 store i32 %180, i32* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %181 = add nsw i32 %storemerge510.reload, 1 %exitcond = icmp eq i32 %181, 16 store i32 %181, i32* %storemerge510.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.19.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %exitcond, label LBL_21, label LBL_15 LBL_21: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %182 = add nsw i32 %storemerge314.reload, 1 %exitcond26 = icmp eq i32 %182, 16 store i32 %182, i32* %storemerge314.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.313.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.4.reg2mem br i1 %exitcond26, label LBL_22, label LBL_13 LBL_22: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %183 = add nsw i32 %storemerge217.reload, 1 %exitcond27 = icmp eq i32 %183, 16 store i32 %183, i32* %storemerge217.reg2mem store i32 %sv_0.4.reload, i32* %sv_0.516.reg2mem br i1 %exitcond27, label LBL_23, label LBL_11 LBL_23: %184 = add i64 %2, 7200 %185 = call i64 @FUNC(i64 %184) %186 = zext i32 %sv_0.4.reload to i64 %187 = call i64 @FUNC(i64 %184, i64 12, i64 %186, i64* nonnull %sv_4, i64 1, i64 1) store i64 %187, i64* %rax.1.reg2mem br label LBL_24 LBL_24: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %166, { 2, 3, 5, 0, 1, 4 } uselistorder i32 %136, { 1, 0 } uselistorder i32 %storemerge510.reload, { 1, 0, 2, 3 } uselistorder i32 %sv_0.19.reload, { 1, 2, 5, 4, 3, 0 } uselistorder i32 %114, { 1, 0, 2 } uselistorder i64 %111, { 1, 0 } uselistorder i32 %storemerge314.reload, { 1, 0, 2, 3 } uselistorder i32 %sv_0.313.reload, { 1, 0 } uselistorder i8 %107, { 1, 0 } uselistorder i64 %99, { 1, 0 } uselistorder i32 %storemerge217.reload, { 1, 3, 2, 0, 4 } uselistorder i32 %sv_0.516.reload, { 1, 0 } uselistorder i32 %86, { 1, 0 } uselistorder i64 %indvars.iv32.reload, { 2, 1, 0 } uselistorder i64 %66, { 1, 0 } uselistorder i32 %43, { 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i32 %sv_1.119.reload, { 5, 1, 4, 3, 2, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i32 %sv_1.324.reload, { 1, 0 } uselistorder i64 %3, { 3, 4, 0, 1, 2 } uselistorder i64 %2, { 4, 1, 5, 7, 6, 0, 2, 3 } uselistorder i64* %indvars.iv29.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.324.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge120.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.119.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge217.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.516.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge314.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.313.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge510.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.19.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @ff_free_vlc, { 1, 0 } uselistorder i64 2, { 2, 3, 0, 4, 5, 6, 7, 1 } uselistorder i64 (i64)* @av_assert0, { 1, 0 } uselistorder i32 0, { 3, 4, 5, 6, 0, 7, 2, 8, 9, 10, 1, 11 } uselistorder i32 256, { 1, 2, 0 } uselistorder i64 7200, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
TIFFWarnings_9768
TIFFWarnings
define i64 @FUNC(i8* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %sv_0 = alloca i64, align 8 %1 = bitcast i64* %sv_0 to i8* %2 = inttoptr i64 %arg2 to i8* %3 = call i32 @vsprintf(i8* nonnull %1, i8* %2, i64 %0) %4 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_0, i64 1024) %5 = call i64 @FUNC(i64 0) %6 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC() %8 = ptrtoint i8* %arg1 to i64 %9 = call i64 @FUNC(i64 %5, i64 %7, i64 1, i64* nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), 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 }
0
BinRealVul
decode_dds1_2661
decode_dds1
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.013.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_0.215.reg2mem = alloca i64 %sv_2.116.reg2mem = alloca i32 %sv_1.117.reg2mem = alloca i32 %.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_17 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %6 = ashr exact i64 %sext, 32 %sext4 = mul i64 %arg4, 4294967296 %7 = ashr exact i64 %sext4, 32 %sext5 = mul i64 %7, %sext %8 = ashr exact i64 %sext5, 32 %9 = add i64 %8, %5 %10 = trunc i64 %6 to i32 %11 = add nsw i64 %6, 1 %sext8 = add i64 %sext, 17179869184 %12 = ashr exact i64 %sext8, 32 store i32 %2, i32* %.in.reg2mem store i32 0, i32* %sv_1.117.reg2mem store i32 65536, i32* %sv_2.116.reg2mem store i64 %5, i64* %sv_0.215.reg2mem br label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i32 %15 = icmp sgt i32 %14, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_17 LBL_3: %sv_0.215.reload = load i64, i64* %sv_0.215.reg2mem %sv_2.116.reload = load i32, i32* %sv_2.116.reg2mem %sv_1.117.reload = load i32, i32* %sv_1.117.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %16 = icmp eq i32 %sv_2.116.reload, 65536 %17 = icmp eq i1 %16, false store i32 %sv_2.116.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.117.reload, i32* %sv_1.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %0) %19 = trunc i64 %18 to i32 store i32 1, i32* %sv_2.0.reg2mem store i32 %19, i32* %sv_1.0.reg2mem br label LBL_5 LBL_5: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %20 = and i32 %sv_1.0.reload, %sv_2.0.reload %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_11, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %0) %23 = trunc i64 %22 to i32 %24 = mul i32 %23, 4 %25 = and i32 %24, 32764 %26 = sub i64 %sv_0.215.reload, %5 %27 = zext i32 %25 to i64 %28 = icmp slt i64 %26, %27 store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_17, label LBL_7 LBL_7: %29 = ashr i32 %23, 13 %30 = mul i32 %29, 2 %31 = add nsw i32 %30, 4 %32 = sub i64 %9, %sv_0.215.reload %33 = mul i32 %31, 2 %34 = add i32 %33, %10 %35 = sext i32 %34 to i64 %36 = icmp slt i64 %32, %35 store i64 4294967295, i64* %rax.0.reg2mem br i1 %36, label LBL_17, label LBL_8 LBL_8: %37 = icmp sgt i32 %31, 0 store i64 %sv_0.215.reload, i64* %sv_0.1.reg2mem br i1 %37, label LBL_9, label LBL_16 LBL_9: %38 = sub nsw i32 0, %25 %39 = sext i32 %38 to i64 store i32 0, i32* %storemerge14.reg2mem store i64 %sv_0.215.reload, i64* %sv_0.013.reg2mem br label LBL_10 LBL_10: %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %40 = add i64 %sv_0.013.reload, %39 %41 = add i64 %sv_0.013.reload, %11 %42 = inttoptr i64 %40 to i8* %43 = load i8, i8* %42, align 1 %44 = inttoptr i64 %41 to i8* store i8 %43, i8* %44, align 1 %45 = add i64 %sv_0.013.reload, %6 %46 = inttoptr i64 %45 to i8* store i8 %43, i8* %46, align 1 %47 = add i64 %sv_0.013.reload, 1 %48 = inttoptr i64 %47 to i8* store i8 %43, i8* %48, align 1 %49 = inttoptr i64 %sv_0.013.reload to i8* store i8 %43, i8* %49, align 1 %50 = add i64 %sv_0.013.reload, 2 %51 = add nuw nsw i32 %storemerge14.reload, 1 %exitcond = icmp eq i32 %51, %31 store i32 %51, i32* %storemerge14.reg2mem store i64 %50, i64* %sv_0.013.reg2mem store i64 %50, i64* %sv_0.1.reg2mem br i1 %exitcond, label LBL_16, label LBL_10 LBL_11: %52 = mul i32 %sv_2.0.reload, 2 %53 = and i32 %52, %sv_1.0.reload %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_14, label LBL_12 LBL_12: %55 = call i64 @FUNC(i64 %0) %56 = trunc i64 %55 to i32 %57 = mul i32 %56, 2 %58 = sub i64 %sv_0.215.reload, %9 %59 = sext i32 %57 to i64 %60 = icmp slt i64 %58, %59 store i64 4294967295, i64* %rax.0.reg2mem br i1 %60, label LBL_17, label LBL_13 LBL_13: %61 = add i64 %sv_0.215.reload, %59 store i64 %61, i64* %sv_0.1.reg2mem br label LBL_16 LBL_14: %62 = sub i64 %9, %sv_0.215.reload %63 = icmp slt i64 %62, %12 store i64 4294967295, i64* %rax.0.reg2mem br i1 %63, label LBL_17, label LBL_15 LBL_15: %64 = call i64 @FUNC(i64 %0) %65 = add i64 %sv_0.215.reload, %11 %66 = trunc i64 %64 to i8 %67 = inttoptr i64 %65 to i8* store i8 %66, i8* %67, align 1 %68 = add i64 %sv_0.215.reload, %6 %69 = inttoptr i64 %68 to i8* store i8 %66, i8* %69, align 1 %70 = add i64 %sv_0.215.reload, 1 %71 = inttoptr i64 %70 to i8* store i8 %66, i8* %71, align 1 %72 = inttoptr i64 %sv_0.215.reload to i8* store i8 %66, i8* %72, align 1 %73 = add i64 %sv_0.215.reload, 2 %74 = call i64 @FUNC(i64 %0) %75 = add i64 %73, %11 %76 = trunc i64 %74 to i8 %77 = inttoptr i64 %75 to i8* store i8 %76, i8* %77, align 1 %78 = add i64 %73, %6 %79 = inttoptr i64 %78 to i8* store i8 %76, i8* %79, align 1 %80 = add i64 %sv_0.215.reload, 3 %81 = inttoptr i64 %80 to i8* store i8 %76, i8* %81, align 1 %82 = inttoptr i64 %73 to i8* store i8 %76, i8* %82, align 1 %83 = add i64 %sv_0.215.reload, 4 store i64 %83, i64* %sv_0.1.reg2mem br label LBL_16 LBL_16: %84 = add i32 %.in.reload, -1 %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %85 = mul i32 %sv_2.0.reload, 4 %86 = icmp eq i32 %84, 0 %87 = icmp eq i1 %86, false store i32 %84, i32* %.in.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.117.reg2mem store i32 %85, i32* %sv_2.116.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.215.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %87, label LBL_2, label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %73, { 2, 0, 1 } uselistorder i8 %66, { 2, 1, 0, 3 } uselistorder i8 %43, { 2, 1, 0, 3 } uselistorder i64 %sv_0.013.reload, { 0, 1, 2, 5, 4, 3 } uselistorder i32 %31, { 1, 2, 0 } uselistorder i32 %23, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 2, 1, 0 } uselistorder i32 %sv_1.0.reload, { 2, 0, 1 } uselistorder i64 %sv_0.215.reload, { 7, 6, 5, 8, 9, 12, 11, 10, 13, 4, 1, 0, 3, 2 } uselistorder i64 %9, { 2, 1, 0 } uselistorder i64 %sext, { 1, 2, 0 } uselistorder i64 %5, { 2, 0, 1 } uselistorder i64 %0, { 3, 4, 2, 1, 0, 5, 6 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.117.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.116.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.215.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.013.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 5, 4, 6, 7 } uselistorder i64 (i64)* @bytestream2_get_byte, { 1, 0 } uselistorder i32 4, { 0, 2, 1 } uselistorder i32 65536, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 7, 4, 0, 5, 2, 6, 1, 3 } uselistorder i64 (i64)* @bytestream2_get_le16, { 3, 2, 1, 0 } uselistorder label LBL_17, { 5, 4, 3, 1, 2, 0, 6 } uselistorder label LBL_16, { 2, 3, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
__munlock_pagevec_11821
__munlock_pagevec
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.3.reg2mem = alloca i64 %rdi.42.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.24.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 store i32 0, i32* %sv_1, align 4 %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %5) %7 = icmp sgt i32 %3, 0 %8 = ptrtoint i64* %sv_0 to i64 br i1 %7, label LBL_1, label LBL_12 LBL_1: %wide.trip.count8 = and i64 %2, 4294967295 store i64 0, i64* %indvars.iv6.reg2mem store i64 %5, i64* %rdi.24.reg2mem br label LBL_2 LBL_2: %rdi.24.reload = load i64, i64* %rdi.24.reg2mem %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %9 = mul i64 %indvars.iv6.reload, 8 %10 = add i64 %9, %rdi.24.reload %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_5, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %12, i64 0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %12, i64* %rdi.1.reg2mem br i1 %19, label LBL_6, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %12) br label LBL_5 LBL_5: %21 = add i64 %12, %9 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64* nonnull %sv_0, i64 %23) %25 = add i64 %9, %8 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 store i64 %8, i64* %rdi.1.reg2mem br label LBL_6 LBL_6: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond9 = icmp eq i64 %indvars.iv.next7, %wide.trip.count8 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem store i64 %rdi.1.reload, i64* %rdi.24.reg2mem br i1 %exitcond9, label LBL_7, label LBL_2 LBL_7: %27 = call i64 @FUNC(i64 %8) %28 = trunc i64 %27 to i32 %29 = sub i32 %28, %3 %30 = call i64 @FUNC(i64 %0, i64 0, i32 %29) %31 = call i64 @FUNC(i64 %0) %32 = call i64 @FUNC(i64 %31) %33 = call i64 @FUNC(i64* nonnull %sv_0) store i64 0, i64* %indvars.iv.reg2mem store i64 %8, i64* %rdi.42.reg2mem br label LBL_8 LBL_8: %rdi.42.reload = load i64, i64* %rdi.42.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %34 = mul i64 %indvars.iv.reload, 8 %35 = add i64 %34, %rdi.42.reload %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = icmp eq i64 %37, 0 store i64 %rdi.42.reload, i64* %rdi.3.reg2mem br i1 %38, label LBL_11, label LBL_9 LBL_9: %39 = call i64 @FUNC(i64 %37) %40 = call i64 @FUNC(i64 %37, i64* nonnull %sv_0, i32* nonnull %sv_1) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false store i64 %37, i64* %rdi.3.reg2mem br i1 %43, label LBL_11, label LBL_10 LBL_10: %44 = call i64 @FUNC(i64 %37) %45 = call i64 @FUNC(i64 %37) %46 = call i64 @FUNC(i64 %37) %47 = call i64 @FUNC(i64 %37) store i64 %37, i64* %rdi.3.reg2mem br label LBL_11 LBL_11: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rdi.3.reload, i64* %rdi.42.reg2mem br i1 %exitcond, label LBL_13, label LBL_8 LBL_12: %48 = call i64 @FUNC(i64 %8) %49 = trunc i64 %48 to i32 %50 = sub i32 %49, %3 %51 = call i64 @FUNC(i64 %0, i64 0, i32 %50) %52 = call i64 @FUNC(i64 %0) %53 = call i64 @FUNC(i64 %52) %54 = call i64 @FUNC(i64* nonnull %sv_0) br label LBL_13 LBL_13: %55 = call i64 @FUNC(i64 %8) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 store i64 %55, i64* %rax.0.reg2mem br i1 %57, label LBL_15, label LBL_14 LBL_14: %58 = load i32, i32* %sv_1, align 4 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64* nonnull %sv_0, i64 %59) store i64 %60, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %37, { 0, 5, 4, 3, 2, 1, 7, 6, 8 } uselistorder i64 %12, { 1, 2, 0, 3, 4 } uselistorder i64 %9, { 2, 1, 0 } uselistorder i64 %8, { 4, 3, 0, 5, 1, 2 } uselistorder i32 %3, { 0, 2, 1 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0, 2, 3, 4, 6, 5 } uselistorder i64 %0, { 0, 1, 3, 2, 4 } uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.24.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.42.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 (i64)* @zone_lru_lock, { 0, 2, 1 } uselistorder i32 0, { 3, 2, 4, 5, 0, 1, 6, 7 } uselistorder i64 (i64)* @pagevec_count, { 3, 0, 2, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
h261_decode_picture_header_15349
h261_decode_picture_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i32* %.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.04.reg2mem = alloca i32 %storemerge15.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 40 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 48 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %0, 52 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, 4 %10 = urem i32 %9, 32 %11 = shl i32 %5, %10 %12 = zext i32 %9 to i64 %13 = call i64 @FUNC(i64 %1, i64 %12) %14 = trunc i64 %13 to i32 %15 = or i32 %11, %14 %16 = inttoptr i64 %1 to i32* %17 = load i32, i32* %16, align 4 %18 = call i64 @FUNC(i64 %1) %19 = trunc i64 %18 to i32 %20 = sub i32 %17, %19 %21 = icmp sgt i32 %20, 24 store i32 %20, i32* %storemerge15.reg2mem store i32 %15, i32* %sv_0.04.reg2mem store i32 %15, i32* %sv_0.0.lcssa.reg2mem br i1 %21, label LBL_1, label LBL_3 LBL_1: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %22 = mul i32 %sv_0.04.reload, 2 %23 = call i64 @FUNC(i64 %1, i64 1) %24 = trunc i64 %23 to i32 %25 = or i32 %22, %24 %26 = urem i32 %25, 1048576 %27 = icmp eq i32 %26, 16 br i1 %27, label LBL_5, label LBL_2 LBL_2: %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %28 = add nsw i32 %storemerge15.reload, -1 %29 = icmp sgt i32 %28, 24 store i32 %28, i32* %storemerge15.reg2mem store i32 %26, i32* %sv_0.04.reg2mem store i32 %26, i32* %sv_0.0.lcssa.reg2mem br i1 %29, label LBL_1, label LBL_3 LBL_3: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %30 = icmp eq i32 %sv_0.0.lcssa.reload, 16 br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = add i64 %0, 32 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_11 LBL_5: %35 = call i64 @FUNC(i64 %1, i64 5) %36 = trunc i64 %35 to i32 %37 = add i64 %0, 20 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = call i64 @FUNC(i64 %1) %40 = call i64 @FUNC(i64 %1) %41 = call i64 @FUNC(i64 %1) %42 = call i64 @FUNC(i64 %1) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false %46 = bitcast i64* %arg1 to i32* br i1 %45, label LBL_7, label LBL_6 LBL_6: store i32 176, i32* %46, align 4 %47 = add i64 %0, 4 %48 = inttoptr i64 %47 to i32* store i32 144, i32* %48, align 4 %49 = add i64 %0, 8 %50 = inttoptr i64 %49 to i32* store i32 11, i32* %50, align 4 %51 = add i64 %0, 12 %52 = inttoptr i64 %51 to i32* store i32 9, i32* %52, align 4 store i32 9, i32* %.reg2mem store i32* %50, i32** %.pre-phi7.reg2mem br label LBL_8 LBL_7: store i32 352, i32* %46, align 4 %53 = add i64 %0, 4 %54 = inttoptr i64 %53 to i32* store i32 288, i32* %54, align 4 %55 = add i64 %0, 8 %56 = inttoptr i64 %55 to i32* store i32 22, i32* %56, align 4 %57 = add i64 %0, 12 %58 = inttoptr i64 %57 to i32* store i32 18, i32* %58, align 4 store i32 18, i32* %.reg2mem store i32* %56, i32** %.pre-phi7.reg2mem br label LBL_8 LBL_8: %.pre-phi7.reload = load i32*, i32** %.pre-phi7.reg2mem %.reload = load i32, i32* %.reg2mem %59 = load i32, i32* %.pre-phi7.reload, align 4 %60 = mul i32 %.reload, %59 %61 = add i64 %0, 16 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 %63 = call i64 @FUNC(i64 %1) %64 = call i64 @FUNC(i64 %1) %65 = call i64 @FUNC(i64 %1) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_9, label LBL_10 LBL_9: %69 = call i64 @FUNC(i64 %1, i64 8) %70 = call i64 @FUNC(i64 %1) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false br i1 %73, label LBL_9, label LBL_10 LBL_10: %74 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8 %75 = icmp slt i32 %74, 2 %76 = add i64 %0, 24 %77 = inttoptr i64 %76 to i32* %. = select i1 %75, i32 2, i32 1 store i32 %., i32* %77, align 4 store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8 %78 = add i64 %0, 56 %79 = inttoptr i64 %78 to i32* store i32 0, i32* %79, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %9, { 1, 0 } uselistorder i64 %1, { 2, 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 12, 11, 13, 14 } uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 0, 1, 2, 9, 10, 11, 12, 13 } uselistorder i32* %storemerge15.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi7.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 4, 1 } uselistorder i64 (i64)* @get_bits1, { 2, 0, 1 } uselistorder i64 (i64)* @skip_bits1, { 4, 3, 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i32 24, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
blk_mig_bytes_total_258
blk_mig_bytes_total
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge2.reg2mem store i64 0, i64* %sv_0.01.reg2mem br label LBL_1 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %0 = inttoptr i64 %storemerge2.reload to i64* %1 = load i64, i64* %0, align 8 %2 = add i64 %1, %sv_0.01.reload %3 = add i64 %storemerge2.reload, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %storemerge2.reg2mem store i64 %2, i64* %sv_0.01.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %8 = mul i64 %2, 512 ret i64 %8 uselistorder i64 %2, { 1, 0 } uselistorder i64 %storemerge2.reload, { 1, 0 } uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
mjpeg_decode_com_1240
mjpeg_decode_com
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %.lcssa6.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 16) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 2 br i1 %7, label LBL_17, label LBL_1 LBL_1: %8 = trunc i64 %3 to i32 %9 = mul i32 %6, 8 %10 = add i32 %9, -16 %11 = call i64 @FUNC(i64 %4) %12 = trunc i64 %11 to i32 %13 = add i32 %10, %12 %14 = icmp ugt i32 %13, %8 br i1 %14, label LBL_17, label LBL_2 LBL_2: %15 = mul i64 %5, 4294967296 %sext = add i64 %15, -4294967296 %16 = ashr exact i64 %sext, 32 %17 = call i64 @FUNC(i64 %16) %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_17, label LBL_3 LBL_3: %19 = add i64 %5, 4294967294 %20 = and i64 %19, 4294967295 %21 = icmp eq i64 %20, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem store i64 0, i64* %.lcssa6.reg2mem br i1 %21, label LBL_5.LBL_9_crit_edge, label LBL_4 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %22 = call i64 @FUNC(i64 %4, i64 8) %23 = add i64 %.reload, %17 %24 = trunc i64 %22 to i8 %25 = inttoptr i64 %23 to i8* store i8 %24, i8* %25, align 1 %26 = add i32 %storemerge2.reload, 1 %27 = sext i32 %26 to i64 %28 = icmp sgt i64 %20, %27 store i64 %27, i64* %.reg2mem store i32 %26, i32* %storemerge2.reg2mem br i1 %28, label LBL_4, label LBL_5 LBL_5: %phitmp = icmp slt i32 %26, 1 store i64 %27, i64* %.lcssa6.reg2mem br i1 %phitmp, label LBL_5.LBL_9_crit_edge, label LBL_7 LBL_6: %.lcssa6.reload = load i64, i64* %.lcssa6.reg2mem %.pre = add i64 %.lcssa6.reload, %17 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_9 LBL_7: %29 = add i64 %17, %27 %30 = add i64 %29, -1 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = icmp eq i8 %32, 10 %34 = icmp eq i1 %33, false store i64 %29, i64* %.pre-phi.reg2mem br i1 %34, label LBL_9, label LBL_8 LBL_8: store i8 0, i8* %31, align 1 br label LBL_10 LBL_9: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %35 = inttoptr i64 %.pre-phi.reload to i8* store i8 0, i8* %35, align 1 br label LBL_10 LBL_10: %36 = add i64 %4, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = urem i32 %40, 2 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_12, label LBL_11 LBL_11: %43 = call i64 @FUNC(i64 %38, i64 32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %2, i64 %1) br label LBL_12 LBL_12: %44 = inttoptr i64 %17 to i8* %45 = call i32 @strcmp(i8* %44, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_14, label LBL_13 LBL_13: %48 = add i64 %4, 16 %49 = inttoptr i64 %48 to i32* store i32 1, i32* %49, align 4 br label LBL_16 LBL_14: %50 = call i32 @strcmp(i8* %44, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_16, label LBL_15 LBL_15: %53 = add i64 %4, 20 %54 = inttoptr i64 %53 to i32* store i32 1, i32* %54, align 4 br label LBL_16 LBL_16: %55 = call i64 @FUNC(i64 %17) br label LBL_17 LBL_17: ret i64 0 uselistorder i64 %27, { 2, 0, 1, 3 } uselistorder i32 %26, { 1, 0, 2 } uselistorder i64 %20, { 1, 0 } uselistorder i64 %17, { 3, 5, 4, 0, 1, 2, 6 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %.lcssa6.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5.LBL_9_crit_edge, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
reposvul_c_test
tg3_close_102
tg3_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = inttoptr i64 %1 to i64* %5 = call i64* @memset(i64* %4, i32 0, i32 4) %6 = add i64 %1, 4 %7 = inttoptr i64 %6 to i64* %8 = call i64* @memset(i64* %7, i32 0, i32 4) %9 = call i64 @FUNC(i64 %1) %10 = call i64 @FUNC(i64 %1) ret i64 0 }
0
BinRealVul
xfs_acl_from_disk_13392
xfs_acl_from_disk
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 1025 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_11 LBL_1: %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 0) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_11 LBL_2: %8 = icmp eq i32 %2, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_11, label LBL_3 LBL_3: %9 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = mul nuw nsw i64 %indvars.iv.reload, 12 %11 = add i64 %10, %5 %12 = add i64 %11, 4 %13 = add i64 %10, %9 %14 = add i64 %13, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = inttoptr i64 %12 to i32* store i32 %16, i32* %17, align 4 %18 = add i64 %13, 8 %19 = inttoptr i64 %18 to i16* %20 = load i16, i16* %19, align 2 %21 = add i64 %11, 8 %22 = inttoptr i64 %21 to i16* store i16 %20, i16* %22, align 2 %23 = load i32, i32* %17, align 4 %24 = icmp sgt i32 %23, 2 br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = icmp eq i32 %23, 0 %26 = icmp slt i32 %23, 0 %27 = icmp eq i1 %26, false %28 = icmp eq i1 %25, false %29 = icmp eq i1 %27, %28 br i1 %29, label LBL_7, label LBL_10 LBL_6: %30 = add i32 %23, -3 %31 = icmp ult i32 %30, 4 br i1 %31, label LBL_8, label LBL_10 LBL_7: %32 = add i64 %13, 12 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %11, 12 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 br label LBL_9 LBL_8: %37 = add i64 %11, 12 %38 = inttoptr i64 %37 to i32* store i32 -1, i32* %38, align 4 br label LBL_9 LBL_9: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %39 = icmp ult i64 %indvars.iv.next, %4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %5, i64* %rax.0.reg2mem br i1 %39, label LBL_4, label LBL_11 LBL_10: %40 = call i64 @FUNC(i64 %5) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %23, { 0, 2, 1, 3 } uselistorder i64 %5, { 3, 0, 2, 1, 4 } uselistorder i64 %4, { 1, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder label LBL_11, { 4, 0, 1, 2, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
io_submit_sqes_7195
io_submit_sqes
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %storemerge411.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 %3 = add i64 %2, 4 %4 = call i64 @FUNC(i64 0, i64 %3) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %2, 16 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 1 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967280, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_18 LBL_3: %15 = and i64 %arg2, 4294967295 %16 = call i64 @FUNC(i64 %2) %17 = and i64 %16, 4294967295 %18 = and i64 %1, 4294967295 %19 = call i64 @FUNC(i64 %15, i64 %18, i64 %17) %20 = add i64 %2, 8 %21 = and i64 %19, 4294967295 %22 = call i64 @FUNC(i64 %20, i64 %21) %23 = trunc i64 %22 to i8 %24 = icmp eq i8 %23, 1 store i64 4294967285, i64* %rax.0.reg2mem br i1 %24, label LBL_4, label LBL_18 LBL_4: %sext3 = mul i64 %19, 4294967296 %25 = ashr exact i64 %sext3, 32 %26 = trunc i64 %25 to i32 %27 = call i64 @FUNC(i64* nonnull %sv_2, i64 %2, i32 %26) %28 = icmp eq i32 %26, 0 store i32 0, i32* %storemerge411.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %28, label LBL_13, label LBL_5 LBL_5: %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %29 = call i64 @FUNC(i64 %2) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %2) store i32 %storemerge411.reload, i32* %sv_0.1.reg2mem br label LBL_13 LBL_7: %33 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = icmp eq i32 %storemerge411.reload, 0 %37 = icmp eq i1 %36, false %spec.select = select i1 %37, i32 %storemerge411.reload, i32 -11 store i32 %spec.select, i32* %sv_0.1.reg2mem br label LBL_13 LBL_9: %38 = call i64 @FUNC(i64 %2, i64 %33, i64 %29, i64* nonnull %sv_2) %39 = trunc i64 %38 to i32 %40 = call i64 @FUNC(i64 %2) %41 = add nuw i32 %storemerge411.reload, 1 %42 = icmp eq i32 %39, 0 %43 = icmp eq i1 %42, false %44 = icmp eq i1 %43, false store i64 %38, i64* %sv_1.0.reg2mem br i1 %44, label LBL_11, label LBL_10 LBL_10: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %45 = call i64 @FUNC(i64 %33) %46 = and i64 %sv_1.0.reload, 4294967295 %47 = call i64 @FUNC(i64 %33, i64 %46) store i32 %41, i32* %sv_0.1.reg2mem br label LBL_13 LBL_11: %48 = inttoptr i64 %33 to i32* %49 = call i64 @FUNC(i64 %2) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false %53 = add i64 %33, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = load i32, i32* %48, align 4 %57 = zext i1 %52 to i64 %58 = call i64 @FUNC(i64 %2, i32 %56, i64 %55, i64 1, i64 %57) %59 = call i64 @FUNC(i64 %33, i64 %29, i64* nonnull %sv_3, i64* nonnull %sv_2) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 %62 = icmp eq i1 %61, false store i64 %59, i64* %sv_1.0.reg2mem br i1 %62, label LBL_10, label LBL_12 LBL_12: %63 = icmp ult i32 %41, %26 store i32 %41, i32* %storemerge411.reg2mem store i32 %41, i32* %sv_0.1.reg2mem br i1 %63, label LBL_5, label LBL_13 LBL_13: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %64 = icmp eq i32 %sv_0.1.reload, %26 %65 = icmp eq i1 %64, false %66 = icmp eq i1 %65, false br i1 %66, label LBL_15, label LBL_14 LBL_14: %67 = icmp eq i32 %sv_0.1.reload, -11 %narrow = select i1 %67, i32 0, i32 %sv_0.1.reload %storemerge = zext i32 %narrow to i64 %68 = sub nsw i64 %25, %storemerge %69 = and i64 %68, 4294967295 %70 = call i64 @FUNC(i64 %20, i64 %69) br label LBL_15 LBL_15: %71 = load i64, i64* %sv_3, align 8 %72 = icmp eq i64 %71, 0 br i1 %72, label LBL_17, label LBL_16 LBL_16: %73 = call i64 @FUNC(i64 %71, i64* nonnull %sv_2) br label LBL_17 LBL_17: %74 = call i64 @FUNC(i64* nonnull %sv_2) %75 = call i64 @FUNC(i64 %2) %76 = zext i32 %sv_0.1.reload to i64 store i64 %76, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.1.reload, { 2, 3, 0, 1 } uselistorder i32 %41, { 0, 2, 3, 1 } uselistorder i64 %33, { 2, 3, 5, 0, 1, 4, 6 } uselistorder i32 %storemerge411.reload, { 1, 3, 2, 0 } uselistorder i32 %26, { 1, 2, 0, 3 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i64 %2, { 2, 3, 4, 6, 5, 7, 8, 9, 10, 11, 12, 0, 1, 13 } uselistorder i32* %storemerge411.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 5, 3, 4, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 2, 0, 1 } uselistorder i32 -11, { 1, 0 } uselistorder i64 (i64)* @io_consume_sqe, { 1, 0 } uselistorder i1 false, { 3, 4, 5, 6, 0, 7, 8, 1, 2, 9, 10, 11 } uselistorder i32 0, { 3, 4, 5, 6, 7, 0, 1, 2, 8, 9 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_13, { 0, 3, 2, 4, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
forinvar_new_8078
forinvar_new
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i8* %arg2 to i64 %3 = call i64 @FUNC(i64 1, i64 32) %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* store i64 %2, i64* %6, align 8 %7 = add i64 %3, 16 %8 = inttoptr i64 %7 to i64* store i64 %1, i64* %8, align 8 %9 = add i64 %3, 24 %10 = inttoptr i64 %9 to i64* store i64 %0, i64* %10, align 8 ret i64 %3 }
0
BinRealVul
gnrc_rpl_validation_DAO_7232
gnrc_rpl_validation_DAO
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i16 %sext = mul i64 %arg2, 281474976710656 %1 = ashr exact i64 %sext, 48 %2 = icmp eq i16 %0, 0 %3 = trunc i64 %1 to i16 %4 = icmp eq i16 %3, 0 %or.cond = or i1 %2, %4 store i64 1, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %5 = urem i64 %1, 65536 %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 1) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sortROGetKeys_6773
sortROGetKeys
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rcx = alloca i64, align 8 %0 = ptrtoint i64* %arg4 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %1, 4 %4 = inttoptr i64 %3 to i32* store i32 3, i32* %4, align 4 %5 = bitcast i64* %arg4 to i32* store i32 1, i32* %5, align 4 %6 = bitcast i64* %rcx to i32* %7 = load i32, i32* %6, align 8 %8 = zext i32 %7 to i64 ret i64 %8 }
0
BinRealVul
print_set_output_5782
print_set_output
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem = alloca i32* %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %1 = icmp eq %_IO_FILE* %0, null br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = ptrtoint %_IO_FILE* %0 to i64 %3 = load i64, i64* @gv_1, align 8 %4 = icmp eq i64 %3, %2 %5 = load i64, i64* @gv_2, align 8 %6 = icmp eq i64 %5, %2 %or.cond = or i1 %4, %6 br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %7 = call i32 @fclose(%_IO_FILE* nonnull %0) %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = load i8*, i8** @gv_3, align 8 call void @perror(i8* %10) br label LBL_4 LBL_4: %11 = load i64, i64* @gv_1, align 8 %12 = inttoptr i64 %11 to %_IO_FILE* store %_IO_FILE* %12, %_IO_FILE** @gv_0, align 8 br label LBL_5 LBL_5: %13 = load i8*, i8** @gv_3, align 8 %14 = bitcast i8* %13 to i64* call void @free(i64* %14) store i8* null, i8** @gv_3, align 8 store i32* null, i32** @gv_4, align 8 %15 = icmp eq i8* %arg1, null %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = load i64, i64* @gv_1, align 8 %18 = inttoptr i64 %17 to %_IO_FILE* store %_IO_FILE* %18, %_IO_FILE** @gv_0, align 8 store i64 %17, i64* %rax.0.reg2mem br label LBL_18 LBL_7: %19 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0)) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = load i64, i64* @gv_2, align 8 %23 = inttoptr i64 %22 to %_IO_FILE* store %_IO_FILE* %23, %_IO_FILE** @gv_0, align 8 store i64 %22, i64* %rax.0.reg2mem br label LBL_18 LBL_9: %sext3 = mul i64 %arg3, 4294967296 %24 = ashr exact i64 %sext3, 32 %25 = trunc i64 %arg2 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_13, label LBL_10 LBL_10: %28 = trunc i64 %24 to i32 %29 = icmp eq i32 %28, 0 %30 = select i1 %29, i8* bitcast (i64* @gv_6 to i8*), i8* bitcast (i8** @gv_7 to i8*) %31 = call %_IO_FILE* @fopen(i8* %arg1, i8* %30) store %_IO_FILE* %31, %_IO_FILE** @gv_0, align 8 %32 = icmp eq %_IO_FILE* %31, null %33 = icmp eq i1 %32, false br i1 %33, label LBL_10.LBL_17_crit_edge, label LBL_12 LBL_11: %.pre5 = ptrtoint i8* %arg1 to i64 store i64 %.pre5, i64* %.pre-phi.reg2mem br label LBL_17 LBL_12: call void @perror(i8* %arg1) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_18 LBL_13: %34 = ptrtoint i8* %arg1 to i64 %35 = call i64 @FUNC(i64 %34) %36 = inttoptr i64 %35 to i32* store i32* %36, i32** @gv_4, align 8 %37 = trunc i64 %24 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i32* %36, i32** %.reg2mem br i1 %39, label LBL_15, label LBL_14 LBL_14: %40 = call i64 @FUNC(i64 %35) %.pre = load i32*, i32** @gv_4, align 8 store i32* %.pre, i32** %.reg2mem br label LBL_15 LBL_15: %.reload = load i32*, i32** %.reg2mem %41 = load i32, i32* %.reload, align 4 %42 = icmp eq i32 %41, 1 store i64 %34, i64* %.pre-phi.reg2mem br i1 %42, label LBL_17, label LBL_16 LBL_16: %43 = ptrtoint i32* %.reload to i64 %44 = call i64 @FUNC(i64 %43) %45 = load i32*, i32** @gv_4, align 8 store i32 1, i32* %45, align 4 %46 = load i32*, i32** @gv_4, align 8 %47 = ptrtoint i32* %46 to i64 %48 = add i64 %47, 8 %49 = inttoptr i64 %48 to i64* store i64 0, i64* %49, align 8 store i64 %34, i64* %.pre-phi.reg2mem br label LBL_17 LBL_17: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem store i8* %arg1, i8** @gv_3, align 8 store i64 %.pre-phi.reload, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %34, { 1, 0, 2 } uselistorder i64 %24, { 1, 0 } uselistorder i32** %.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32** @gv_4, { 5, 4, 0, 3, 2, 1 } uselistorder void (i8*)* @perror, { 1, 0 } uselistorder i8** @gv_3, { 3, 2, 1, 0 } uselistorder i64* @gv_2, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 4, 3, 2, 1, 0 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i8* %arg1, { 3, 4, 1, 0, 2, 6, 5 } uselistorder label LBL_17, { 1, 2, 0 } }
0
BinRealVul
vcpu_stat_get_per_vm_10528
vcpu_stat_get_per_vm
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 store i64 0, i64* %arg2, align 8 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 24 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, %0 store i64 %9, i64* %arg2, align 8 ret i64 0 uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
sd_finish_aiocb_18590
sd_finish_aiocb
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 0) %1 = call i64 @FUNC(i64 %arg1) ret i64 %1 }
1
BinRealVul
_nfs4_proc_link_9541
_nfs4_proc_link
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = call i64* @malloc(i32 1) %1 = icmp eq i64* %0, null %spec.select = select i1 %1, i64 4294967284, i64 0 call void @free(i64* %0) ret i64 %spec.select }
0
BinRealVul
aio_notify_16461
aio_notify
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i32 %4 = and i64 %1, 4294967295 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = call i64 @FUNC(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 uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
free_filter_param_17720
free_filter_param
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = mul i32 %2, 2 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %8 = load i64, i64* %7, align 8 %9 = mul i64 %.reload, 8 %10 = add i64 %8, %9 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i32 %storemerge1.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp slt i64 %15, %4 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge1.reg2mem br i1 %16, label LBL_2, label LBL_3 LBL_3: ret i64 %4 uselistorder i32 %3, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
hashtable_iter_at_11136
hashtable_iter_at
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) %4 = urem i64 %2, %3 %5 = mul i64 %4, 8 %6 = add i64 %5, %1 %7 = call i64 @FUNC(i64 %0, i64 %6, i64 %1, i64 %2) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false %10 = add i64 %7, 24 %storemerge = select i1 %9, i64 %10, i64 0 ret i64 %storemerge uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i1 false, { 2, 4, 3, 0, 5, 1 } }
1
BinRealVul
get_time_t_max_9166
get_time_t_max
define i64 @FUNC() local_unnamed_addr { LBL_0: ret i64 4294967295 }
0
BinRealVul
wdt_diag288_class_init_16775
wdt_diag288_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198676, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = or i32 %7, 1 store i32 %8, i32* %6, align 4 %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %10, align 8 store i64 4198683, i64* %arg1, align 8 ret i64 %0 }
1
BinRealVul
virtio_9p_class_init_16264
virtio_9p_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %arg1, align 8 store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198680, i64* %4, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
1
BinRealVul
getVxCPU_3633
getVxCPU
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i8* %sv_0 = alloca i8*, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = bitcast i8** %sv_0 to i64* %2 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64* nonnull %1) %3 = load i8*, i8** %sv_0, align 8 %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i8* %3, i8** %.reg2mem br i1 %6, label LBL_14, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0, align 8 store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8** %.reg2mem br label LBL_14 LBL_3: %10 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_5, label LBL_4 LBL_4: store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8** %sv_0, align 8 store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8** %.reg2mem br label LBL_14 LBL_5: %13 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0)) %14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0)) %15 = or i64 %14, %13 %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0), i8** %sv_0, align 8 store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0), i8** %.reg2mem br label LBL_14 LBL_7: %18 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0)) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_9, label LBL_8 LBL_8: store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i8** %sv_0, align 8 store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i8** %.reg2mem br label LBL_14 LBL_9: %21 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0)) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_11, label LBL_10 LBL_10: store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_11, i64 0, i64 0), i8** %sv_0, align 8 store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_11, i64 0, i64 0), i8** %.reg2mem br label LBL_14 LBL_11: %24 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_12, i64 0, i64 0)) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_13, label LBL_12 LBL_12: store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_13, i64 0, i64 0), i8** %sv_0, align 8 store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_13, i64 0, i64 0), i8** %.reg2mem br label LBL_14 LBL_13: %27 = inttoptr i64 %arg1 to i8* store i8* %27, i8** %sv_0, align 8 store i8* %27, i8** %.reg2mem br label LBL_14 LBL_14: %.reload = load i8*, i8** %.reg2mem %28 = ptrtoint i8* %.reload to i64 %29 = call i64 @FUNC(i64 %28) ret i64 %29 uselistorder i64 %2, { 0, 1, 2, 4, 3, 5, 6 } uselistorder i8** %sv_0, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i8** %.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i8*)* @scaselessmatch, { 2, 1, 0 } uselistorder i64 (i64, i8*)* @smatch, { 2, 1, 0 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
musb_rx_packet_complete_15748
musb_rx_packet_complete
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 56 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %2, 24 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %2, 32 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %19, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = and i32 %22, -2 store i32 %23, i32* %21, align 4 %24 = icmp eq i32 %3, 0 %25 = icmp eq i1 %24, false %26 = load i64, i64* %18, align 8 br i1 %25, label LBL_1, label LBL_2 LBL_1: %27 = add i64 %26, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = and i32 %29, -29 store i32 %30, i32* %28, align 4 br label LBL_3 LBL_2: %31 = inttoptr i64 %26 to i32* %32 = load i32, i32* %31, align 4 %33 = and i32 %32, -3 store i32 %33, i32* %31, align 4 %34 = load i64, i64* %18, align 8 %35 = add i64 %34, 4 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = and i32 %37, -29 store i32 %38, i32* %36, align 4 %39 = load i64, i64* %18, align 8 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = and i32 %41, -481 store i32 %42, i32* %40, align 4 br label LBL_3 LBL_3: %43 = add i64 %2, 16 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = add i64 %45, 4 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp eq i32 %48, -2 %50 = icmp eq i1 %49, false br i1 %50, label LBL_6, label LBL_4 LBL_4: store i32 0, i32* %47, align 4 store i32 0, i32* %arg1, align 4 %51 = load i64, i64* %18, align 8 %52 = add i64 %51, 4 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = or i32 %54, 8 store i32 %55, i32* %53, align 4 br i1 %25, label LBL_6, label LBL_5 LBL_5: %56 = load i64, i64* %18, align 8 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = or i32 %58, 64 store i32 %59, i32* %57, align 4 br label LBL_6 LBL_6: %60 = load i64, i64* %44, align 8 %61 = add i64 %60, 4 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp eq i32 %63, -1 %65 = icmp eq i1 %64, false br i1 %65, label LBL_11, label LBL_7 LBL_7: store i32 0, i32* %62, align 4 %66 = add i64 %2, 40 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = add i64 %68, 4 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_9, label LBL_8 LBL_8: %73 = bitcast i64* %rdi to i32* %74 = load i32, i32* %73, align 8 %75 = zext i32 %74 to i64 %76 = call i64 @FUNC(i64 %6, i64 %2, i32 %3, i64 1, i64 %75, i64 4198781) store i64 %76, i64* %rax.0.reg2mem br label LBL_22 LBL_9: %77 = load i64, i64* %18, align 8 %78 = add i64 %77, 4 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = or i32 %80, 16 store i32 %81, i32* %79, align 4 br i1 %25, label LBL_11, label LBL_10 LBL_10: %82 = load i64, i64* %18, align 8 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = or i32 %84, 128 store i32 %85, i32* %83, align 4 br label LBL_11 LBL_11: %86 = load i64, i64* %44, align 8 %87 = add i64 %86, 4 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = icmp slt i32 %89, 0 %91 = icmp eq i1 %90, false br i1 %91, label LBL_17, label LBL_12 LBL_12: %92 = icmp eq i32 %89, -3 %93 = icmp eq i1 %92, false br i1 %93, label LBL_14, label LBL_13 LBL_13: %94 = call i64 @FUNC(i64 %6, i64 4198774, i64 1) store i64 %94, i64* %rax.0.reg2mem br label LBL_22 LBL_14: %95 = load i64, i64* %18, align 8 %96 = add i64 %95, 4 %97 = inttoptr i64 %96 to i32* %98 = load i32, i32* %97, align 4 %99 = or i32 %98, 4 store i32 %99, i32* %97, align 4 br i1 %25, label LBL_16, label LBL_15 LBL_15: %100 = load i64, i64* %18, align 8 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = or i32 %102, 32 store i32 %103, i32* %101, align 4 br label LBL_16 LBL_16: %104 = and i64 %1, 4294967295 %105 = call i64 @FUNC(i64 %6, i64 %104, i64 1) store i64 %105, i64* %rax.0.reg2mem br label LBL_22 LBL_17: store i32 %89, i32* %arg1, align 4 %106 = load i64, i64* %18, align 8 %107 = add i64 %106, 4 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = and i32 %109, 24 %111 = icmp eq i32 %110, 0 %112 = icmp eq i1 %111, false br i1 %112, label LBL_21, label LBL_18 LBL_18: %113 = or i32 %109, 1536 store i32 %113, i32* %108, align 4 br i1 %25, label LBL_20, label LBL_19 LBL_19: %114 = load i64, i64* %18, align 8 %115 = inttoptr i64 %114 to i32* %116 = load i32, i32* %115, align 4 %117 = or i32 %116, 2048 store i32 %117, i32* %115, align 4 br label LBL_20 LBL_20: %118 = bitcast i64* %rdi to i32* %119 = load i32, i32* %118, align 8 %120 = add i64 %2, 48 %121 = inttoptr i64 %120 to i32* store i32 %119, i32* %121, align 4 br label LBL_21 LBL_21: %122 = and i64 %1, 4294967295 %123 = call i64 @FUNC(i64 %6, i64 %122, i64 1) store i64 %123, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %25, { 3, 2, 1, 0, 4 } uselistorder i64* %18, { 8, 9, 6, 7, 4, 5, 2, 3, 1, 10, 0, 11 } uselistorder i64 %6, { 3, 2, 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3, 7, 6, 5, 4 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rdi, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @musb_rx_intr_set, { 1, 0 } uselistorder i32 -29, { 1, 0 } uselistorder i64 4, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ipmi_destroy_user_12289
ipmi_destroy_user
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, 4 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %arg1, i64 4198747) ret i64 0 }
1
BinRealVul
get_pci_config_device_1264
get_pci_config_device
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = icmp eq i64 %arg3, 256 br i1 %0, 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 ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i64* %sv_1 to i64 %4 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 256) %5 = add i64 %3, -288 store i32 0, i32* %storemerge12.reg2mem br label LBL_3 LBL_3: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %6 = sext i32 %storemerge12.reload to i64 %7 = add i64 %5, %6 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = add i64 %6, %1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = xor i8 %12, %9 %14 = add i64 %10, 256 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = and i8 %16, %13 %18 = add i64 %10, 512 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = sub i8 0, %20 %22 = sub i8 %21, 1 %23 = and i8 %17, %22 %24 = icmp eq i8 %23, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %24, label LBL_4, label LBL_6 LBL_4: %25 = add nuw i32 %storemerge12.reload, 1 %26 = icmp ult i32 %25, 256 store i32 %25, i32* %storemerge12.reg2mem br i1 %26, label LBL_3, label LBL_5 LBL_5: %27 = load i64, i64* %sv_0, align 8 store i64 %27, i64* %arg2, align 8 %28 = add i64 %1, 8 %29 = inttoptr i64 %28 to i64* %30 = add i64 %1, 16 %31 = inttoptr i64 %30 to i64* %32 = add i64 %1, 24 %33 = inttoptr i64 %32 to i64* %34 = add i64 %1, 32 %35 = inttoptr i64 %34 to i64* %36 = add i64 %1, 40 %37 = inttoptr i64 %36 to i64* %38 = add i64 %1, 48 %39 = inttoptr i64 %38 to i64* %40 = add i64 %1, 56 %41 = inttoptr i64 %40 to i64* %42 = add i64 %1, 64 %43 = inttoptr i64 %42 to i64* %44 = add i64 %1, 72 %45 = inttoptr i64 %44 to i64* %46 = add i64 %1, 80 %47 = inttoptr i64 %46 to i64* %48 = add i64 %1, 88 %49 = inttoptr i64 %48 to i64* %50 = add i64 %1, 96 %51 = inttoptr i64 %50 to i64* %52 = add i64 %1, 104 %53 = inttoptr i64 %52 to i64* %54 = add i64 %1, 112 %55 = inttoptr i64 %54 to i64* %56 = add i64 %1, 120 %57 = inttoptr i64 %56 to i64* %58 = add i64 %1, 128 %59 = inttoptr i64 %58 to i64* %60 = add i64 %1, 136 %61 = inttoptr i64 %60 to i64* %62 = add i64 %1, 144 %63 = inttoptr i64 %62 to i64* %64 = add i64 %1, 152 %65 = inttoptr i64 %64 to i64* %66 = add i64 %1, 160 %67 = inttoptr i64 %66 to i64* %68 = add i64 %1, 168 %69 = inttoptr i64 %68 to i64* %70 = add i64 %1, 176 %71 = inttoptr i64 %70 to i64* %72 = add i64 %1, 184 %73 = inttoptr i64 %72 to i64* %74 = add i64 %1, 192 %75 = inttoptr i64 %74 to i64* %76 = add i64 %1, 200 %77 = inttoptr i64 %76 to i64* %78 = add i64 %1, 208 %79 = inttoptr i64 %78 to i64* %80 = add i64 %1, 216 %81 = inttoptr i64 %80 to i64* %82 = add i64 %1, 224 %83 = inttoptr i64 %82 to i64* %84 = add i64 %1, 232 %85 = inttoptr i64 %84 to i64* %86 = add i64 %1, 240 %87 = inttoptr i64 %86 to i64* %88 = add i64 %1, 248 %89 = inttoptr i64 %88 to i64* %90 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 2, 3, 4, 21, 32, 9, 31, 12, 30, 15, 29, 19, 28, 27, 26, 25, 24, 23, 22, 5, 16, 6, 20, 7, 8, 10, 11, 13, 14, 17, 18, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
r_buf_fread_at_6441
r_buf_fread_at
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ne i64* %arg1, null %1 = icmp ne i64* %arg3, null %or.cond.not = icmp eq i1 %0, %1 %2 = icmp eq i64 %arg4, 0 %3 = icmp eq i1 %2, false %or.cond4 = icmp eq i1 %or.cond.not, %3 store i64 -1, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 0, i64 0) %6 = call i64 @FUNC(i64 %4, i64 %arg2, i64 1) %7 = icmp slt i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = ptrtoint i64* %arg3 to i64 %10 = trunc i64 %arg5 to i32 %11 = call i64 @FUNC(i64 %4, i64 %9, i64 %arg4, i32 %10) %12 = call i64 @FUNC(i64 %4, i64 %5, i64 1) store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64)* @r_buf_seek, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
reposvul_c_test
on_map_103
on_map
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg1, 4294967296 %1 = ashr exact i64 %sext, 30 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp sgt i32 %4, 2 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = icmp eq i32 %4, 0 %7 = icmp slt i32 %4, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 br i1 %10, label LBL_3, label LBL_4 LBL_2: %11 = and i64 %arg1, 4294967295 %12 = icmp eq i32 %4, 3 store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_3: %13 = zext i32 %4 to i64 store i64 %13, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %14 = add i32 %4, -1 %15 = zext i32 %14 to i64 store i64 %15, 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 i1 false, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
pci_device_load_14922
pci_device_load
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 3 store i64 4294967274, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4, i64 256) %6 = call i64 @FUNC(i64 %4) %7 = icmp eq i32 %2, 2 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = add i64 %4, 256 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = mul i64 %indvars.iv.reload, 4 %12 = add i64 %8, %11 %13 = inttoptr i64 %12 to i32* store i32 %10, i32* %13, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 } }
1
BinRealVul
megasas_alloc_cmds_11351
megasas_alloc_cmds
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem24 = alloca i64 %.reg2mem22 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem20 = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge26.reg2mem = alloca i32 %.reg2mem18 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = urem i64 %3, 65536 %7 = call i64 @FUNC(i64 %6, i64 8, i64 0) %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = icmp eq i64 %7, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = add i64 %5, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %14, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_15 LBL_2: %16 = trunc i64 %3 to i16 %17 = trunc i64 %3 to i32 %18 = mul i32 %17, 8 %19 = and i32 %18, 524280 %20 = inttoptr i64 %7 to i64* %21 = call i64* @memset(i64* %20, i32 0, i32 %19) %22 = icmp eq i16 %16, 0 br i1 %22, label LBL_13, label LBL_3 LBL_3: %.pre = load i64, i64* %9, align 8 store i64 %.pre, i64* %.reg2mem store i64 0, i64* %.reg2mem18 store i32 0, i32* %storemerge26.reg2mem br label LBL_4 LBL_4: %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %.reload19 = load i64, i64* %.reg2mem18 %.reload = load i64, i64* %.reg2mem %23 = mul i64 %.reload19, 8 %24 = add i64 %23, %.reload %25 = call i64 @FUNC(i64 40, i64 0) %26 = inttoptr i64 %24 to i64* store i64 %25, i64* %26, align 8 %27 = load i64, i64* %9, align 8 %28 = add i64 %27, %23 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_9, label LBL_5 LBL_5: %33 = icmp sgt i32 %storemerge26.reload, 0 store i64 %27, i64* %.lcssa.reg2mem br i1 %33, label LBL_6, label LBL_8 LBL_6: %wide.trip.count = zext i32 %storemerge26.reload to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 %27, i64* %.reg2mem20 br label LBL_7 LBL_7: %.reload21 = load i64, i64* %.reg2mem20 %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %34 = mul i64 %indvars.iv.reload, 8 %35 = add i64 %34, %.reload21 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64 %37) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %39 = load i64, i64* %9, align 8 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %39, i64* %.reg2mem20 store i64 %39, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %40 = call i64 @FUNC(i64 %.lcssa.reload) store i64 0, i64* %9, align 8 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_15 LBL_9: %41 = add i32 %storemerge26.reload, 1 %42 = sext i32 %41 to i64 %43 = icmp sgt i64 %6, %42 store i64 %27, i64* %.reg2mem store i64 %42, i64* %.reg2mem18 store i32 %41, i32* %storemerge26.reg2mem br i1 %43, label LBL_4, label LBL_10 LBL_10: %44 = add i64 %5, 24 store i64 %27, i64* %.reg2mem22 store i64 0, i64* %.reg2mem24 store i32 0, i32* %storemerge5.reg2mem br label LBL_11 LBL_11: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload25 = load i64, i64* %.reg2mem24 %.reload23 = load i64, i64* %.reg2mem22 %45 = mul i64 %.reload25, 8 %46 = add i64 %.reload23, %45 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %48 to i64* %50 = call i64* @memset(i64* %49, i32 0, i32 40) %51 = inttoptr i64 %48 to i32* store i32 %storemerge5.reload, i32* %51, align 4 %52 = add i64 %48, 8 %53 = inttoptr i64 %52 to i64* store i64 0, i64* %53, align 8 %54 = add i64 %48, 16 %55 = inttoptr i64 %54 to i64* store i64 %5, i64* %55, align 8 %56 = add i64 %48, 24 %57 = call i64 @FUNC(i64 %56, i64 %44) %58 = add i32 %storemerge5.reload, 1 %59 = sext i32 %58 to i64 %60 = icmp sgt i64 %6, %59 br i1 %60, label LBL_11.LBL_11_crit_edge, label LBL_13 LBL_12: %.pre17 = load i64, i64* %9, align 8 store i64 %.pre17, i64* %.reg2mem22 store i64 %59, i64* %.reg2mem24 store i32 %58, i32* %storemerge5.reg2mem br label LBL_11 LBL_13: %61 = call i64 @FUNC(i64 %5) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 store i64 0, i64* %rax.0.reg2mem br i1 %63, label LBL_15, label LBL_14 LBL_14: %64 = add i64 %5, 16 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %66, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %68 = call i64 @FUNC(i64 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %27, { 0, 3, 2, 1, 4 } uselistorder i64 %23, { 1, 0 } uselistorder i64* %9, { 0, 3, 2, 4, 1, 5 } uselistorder i64 %6, { 2, 1, 0 } uselistorder i64 %5, { 1, 2, 5, 4, 3, 0, 6 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem18, { 1, 0, 2 } uselistorder i32* %storemerge26.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem20, { 2, 0, 1 } uselistorder i64* %.reg2mem22, { 1, 0, 2 } uselistorder i64* %.reg2mem24, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 0, { 5, 3, 0, 2, 1, 4 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i8*, i64, i8*, i64, i64, i64)* @dev_printk, { 1, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder i64 0, { 1, 6, 7, 0, 15, 2, 16, 3, 17, 12, 4, 8, 9, 10, 11, 18, 13, 5, 14 } uselistorder i64 8, { 4, 0, 1, 2, 5, 3, 6, 7, 8 } uselistorder label LBL_15, { 1, 0, 2, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
pn533_i2c_remove_4266
pn533_i2c_remove
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %5, 8 %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %9 = inttoptr i64 %6 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = and i64 %3, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 %6) ret i64 0 uselistorder i64* %0, { 3, 2, 1, 0 } }
0
BinRealVul
modify_current_stream_974
modify_current_stream
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %rdi.14.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %.reg2mem6 = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_11 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_11, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = inttoptr i64 %6 to i64* %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i64* store i64 %3, i64* %.reg2mem store i64 0, i64* %.reg2mem6 store i32 0, i32* %storemerge25.reg2mem store i64 %0, i64* %rdi.14.reg2mem store i32 0, i32* %sv_0.13.reg2mem br label LBL_3 LBL_3: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %rdi.14.reload = load i64, i64* %rdi.14.reg2mem %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload7 = load i64, i64* %.reg2mem6 %.reload = load i64, i64* %.reg2mem %14 = mul i64 %.reload7, 8 %15 = add i64 %rdi.14.reload, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i32* %19 = add i64 %.reload7, %10 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, 2 br i1 %22, label LBL_8, label LBL_4 LBL_4: %23 = icmp sgt i8 %21, 2 store i64 %rdi.14.reload, i64* %rdi.0.reg2mem br i1 %23, label LBL_9, label LBL_5 LBL_5: store i64 %rdi.14.reload, i64* %rdi.0.reg2mem switch i8 %21, label LBL_9 [ i8 0, label LBL_6 i8 1, label LBL_7 ] LBL_6: %24 = load i64, i64* %13, align 8 %25 = add i64 %24, %14 %26 = load i64, i64* %11, align 8 %27 = add i64 %26, %14 %28 = inttoptr i64 %25 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %27 to i64* store i64 %29, i64* %30, align 8 store i64 %rdi.14.reload, i64* %rdi.0.reg2mem br label LBL_9 LBL_7: %31 = load i32, i32* %18, align 4 %32 = icmp slt i32 %31, 0 %33 = zext i1 %32 to i32 %34 = add i32 %31, %33 %35 = ashr i32 %34, 1 %36 = load i64, i64* %11, align 8 %37 = add i64 %36, %14 %38 = zext i32 %35 to i64 %39 = call i64 @FUNC(i64 %.reload, i64 %17, i64 %38) %40 = inttoptr i64 %37 to i64* store i64 %39, i64* %40, align 8 store i64 %.reload, i64* %rdi.0.reg2mem br label LBL_9 LBL_8: %41 = load i32, i32* %18, align 4 %42 = sdiv i32 %41, 8 %43 = load i64, i64* %11, align 8 %44 = add i64 %43, %14 %45 = zext i32 %42 to i64 %46 = call i64 @FUNC(i64 %.reload, i64 %17, i64 %45) %47 = inttoptr i64 %44 to i64* store i64 %46, i64* %47, align 8 store i64 %.reload, i64* %rdi.0.reg2mem br label LBL_9 LBL_9: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %48 = load i64, i64* %11, align 8 %49 = add i64 %48, %14 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = load i64, i64* %2, align 8 %53 = add i64 %52, %14 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = icmp eq i64 %51, %55 %spec.select = select i1 %56, i32 %sv_0.13.reload, i32 1 %57 = add i32 %storemerge25.reload, 1 %58 = load i32, i32* %7, align 4 %59 = zext i32 %58 to i64 %60 = sext i32 %57 to i64 %61 = icmp slt i64 %60, %59 store i64 %52, i64* %.reg2mem store i64 %60, i64* %.reg2mem6 store i32 %57, i32* %storemerge25.reg2mem store i64 %rdi.0.reload, i64* %rdi.14.reg2mem store i32 %spec.select, i32* %sv_0.13.reg2mem br i1 %61, label LBL_3, label LBL_10 LBL_10: %phitmp = zext i32 %spec.select to i64 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %spec.select, { 1, 0 } uselistorder i32* %18, { 1, 0 } uselistorder i64 %14, { 6, 5, 4, 1, 3, 2, 0 } uselistorder i64 %.reload, { 1, 3, 0, 2 } uselistorder i64 %rdi.14.reload, { 1, 0, 2, 3 } uselistorder i64* %11, { 0, 1, 3, 2 } uselistorder i32* %7, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem6, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 5, 2, 3, 1, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i64)* @find_stream_in_feed, { 1, 0 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder label LBL_9, { 1, 2, 3, 0, 4 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
mov_read_dvc1_14031
mov_read_dvc1
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp slt i32 %1, 0 %4 = icmp eq i1 %3, false %5 = icmp eq i1 %2, false %6 = icmp eq i1 %4, %5 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %sext = mul i64 %0, 4294967296 %10 = ashr exact i64 %sext, 29 %11 = add nsw i64 %10, -8 %12 = add i64 %11, %9 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %arg3.off = add i32 %arg3, -7 %15 = icmp ugt i32 %arg3.off, 268435448 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_2 LBL_2: %16 = ptrtoint i64* %arg2 to i64 %17 = call i64 @FUNC(i64 %16) %18 = and i64 %17, 240 %19 = icmp eq i64 %18, 192 store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_3, label LBL_5 LBL_3: %20 = inttoptr i64 %14 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23) %25 = add i32 %arg3, 25 %26 = zext i32 %25 to i64 %27 = load i64, i64* %20, align 8 %28 = call i64 @FUNC(i64 %26) %29 = inttoptr i64 %27 to i64* store i64 %28, i64* %29, align 8 %30 = load i64, i64* %20, align 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %34, label LBL_4, label LBL_5 LBL_4: %35 = add i64 %30, 8 %36 = inttoptr i64 %35 to i32* store i32 %arg3.off, i32* %36, align 4 %37 = call i64 @FUNC(i64 %16, i64 6, i64 1) %38 = load i64, i64* %20, align 8 %39 = add i64 %38, 8 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sext i32 %41 to i64 %43 = inttoptr i64 %38 to i64* %44 = load i64, i64* %43, align 8 %45 = call i64 @FUNC(i64 %16, i64 %44, i64 %42) 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* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_5, { 4, 0, 1, 2, 3 } }
1
BinRealVul
vp5_parse_header_193
vp5_parse_header
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %arg3 to i32 %7 = call i64 @FUNC(i64 %5, i64 %4, i32 %6) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = and i64 %7, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_15 LBL_2: %12 = trunc i64 %3 to i32 %13 = call i64 @FUNC(i64 %5) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = zext i1 %15 to i32 %17 = bitcast i64* %arg1 to i32* store i32 %16, i32* %17, align 4 %18 = call i64 @FUNC(i64 %5) %19 = call i64 @FUNC(i64 %5, i64 6) %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %5, i64 %20) %22 = icmp eq i32 %12, 0 br i1 %22, label LBL_13, label LBL_3 LBL_3: %23 = call i64 @FUNC(i64 %5, i64 8) %24 = call i64 @FUNC(i64 %5, i64 5) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 6 store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_15 LBL_4: %27 = call i64 @FUNC(i64 %5, i64 2) %28 = call i64 @FUNC(i64 %5) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = add i64 %5, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_15 LBL_6: %35 = call i64 @FUNC(i64 %5, i64 8) %36 = trunc i64 %35 to i32 %37 = call i64 @FUNC(i64 %5, i64 8) %38 = trunc i64 %37 to i32 %39 = icmp ne i32 %36, 0 %40 = icmp eq i32 %38, 0 %41 = icmp eq i1 %40, false %or.cond = icmp eq i1 %39, %41 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %42 = mul i64 %35, 16 %43 = mul i64 %37, 16 %44 = add i64 %5, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = and i64 %42, 4294967280 %48 = and i64 %43, 4294967280 %49 = call i64 @FUNC(i64 %46, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %48, i64 %47, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_15 LBL_8: %50 = call i64 @FUNC(i64 %5, i64 8) %51 = call i64 @FUNC(i64 %5, i64 8) %52 = call i64 @FUNC(i64 %5, i64 2) %53 = add i64 %5, 16 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label LBL_8.LBL_12_crit_edge, label LBL_10 LBL_9: %.pre = add i64 %5, 8 %.pre2 = inttoptr i64 %.pre to i64* %.pre4 = load i64, i64* %.pre2, align 8 store i64 %.pre4, i64* %.reg2mem br label LBL_12 LBL_10: %57 = mul i32 %38, 16 %58 = add i64 %5, 8 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = icmp eq i32 %57, %62 %64 = icmp eq i1 %63, false store i64 %60, i64* %.reg2mem br i1 %64, label LBL_12, label LBL_11 LBL_11: %65 = mul i32 %36, 16 %66 = add i64 %60, 4 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = icmp eq i32 %65, %68 store i64 %60, i64* %.reg2mem br i1 %69, label LBL_14, label LBL_12 LBL_12: %.reload = load i64, i64* %.reg2mem %70 = mul i64 %35, 16 %71 = and i64 %70, 4294967280 %72 = mul i64 %37, 16 %73 = and i64 %72, 4294967280 %74 = call i64 @FUNC(i64 %.reload, i64 %73, i64 %71) %75 = trunc i64 %74 to i32 %76 = icmp slt i32 %75, 0 %77 = icmp eq i1 %76, false %78 = and i64 %74, 4294967295 %spec.select = select i1 %77, i64 1, i64 %78 ret i64 %spec.select LBL_13: %79 = add i64 %5, 16 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = icmp eq i32 %81, 0 %83 = icmp eq i1 %82, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %83, label LBL_14, label LBL_15 LBL_14: store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %60, { 1, 2, 0, 3 } uselistorder i64 %5, { 14, 3, 0, 2, 6, 5, 4, 7, 9, 8, 1, 11, 10, 13, 12, 15, 17, 16, 18, 19 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 16, { 4, 0, 1, 5, 2, 3 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 8, { 6, 0, 1, 2, 7, 3, 4, 8, 5 } uselistorder i64 (i64, i64)* @vp56_rac_gets, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @vp56_rac_get, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6, 7, 8 } uselistorder label LBL_15, { 2, 0, 3, 4, 1, 5 } uselistorder label LBL_12, { 1, 2, 0 } }
0
BinRealVul
__alloc_from_pool_13509
__alloc_from_pool
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_2: %4 = call i64 @FUNC(i64 %0, i64 %arg1) %5 = icmp eq i64 %4, 0 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = load i64, i64* @gv_0, align 8 %7 = call i64 @FUNC(i64 %6, i64 %4) %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %arg2, align 8 %9 = inttoptr i64 %4 to i64* %10 = trunc i64 %arg1 to i32 %11 = call i64* @memset(i64* %9, i32 0, i32 %10) store i64 %4, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
find_marker_1263
find_marker
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i32 %sv_0.09.reg2mem = alloca i64 %.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = sub i64 %arg2, %0 %2 = icmp sgt i64 %1, 1 store i32 0, i32* %sv_1.07.reg2mem store i64 %arg2, i64* %sv_0.1.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %.phi.trans.insert = bitcast i64* %arg1 to i8* %.pre = load i8, i8* %.phi.trans.insert, align 1 store i8 %.pre, i8* %.reg2mem store i64 %0, i64* %sv_0.09.reg2mem store i32 0, i32* %sv_1.08.reg2mem br label LBL_2 LBL_2: %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %.reload = load i8, i8* %.reg2mem %3 = add i64 %sv_0.09.reload, 1 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %.reload, -1 %7 = icmp ugt i8 %5, -65 %or.cond.not = icmp eq i1 %6, %7 %8 = icmp ne i8 %5, -1 %or.cond3 = icmp eq i1 %8, %or.cond.not %9 = icmp ult i64 %3, %arg2 %10 = icmp eq i1 %9, %or.cond3 br i1 %10, label LBL_3, label LBL_4 LBL_3: %11 = add i64 %sv_0.09.reload, 2 %phitmp = zext i8 %5 to i64 store i32 %sv_1.08.reload, i32* %sv_1.07.reg2mem store i64 %11, i64* %sv_0.1.reg2mem store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %12 = add i32 %sv_1.08.reload, 1 %13 = sub i64 %arg2, %3 %14 = icmp sgt i64 %13, 1 store i8 %5, i8* %.reg2mem store i64 %3, i64* %sv_0.09.reg2mem store i32 %12, i32* %sv_1.08.reg2mem store i32 %12, i32* %sv_1.07.reg2mem store i64 %arg2, i64* %sv_0.1.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %14, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %15 = zext i32 %sv_1.07.reload to i64 %16 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %15) store i64 %sv_0.1.reload, i64* %arg1, align 8 ret i64 %storemerge.reload uselistorder i64 %sv_0.09.reload, { 1, 0 } uselistorder i32 %sv_1.08.reload, { 1, 0 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.08.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.07.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 %arg2, { 0, 4, 3, 1, 2 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
fib6_age_7088
fib6_age
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = urem i64 %1, 2 %4 = icmp eq i64 %3, 0 %.pre = ptrtoint i32* %arg1 to i64 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = add i64 %.pre, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 1000, i64 %7) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %.pre) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_6 LBL_4: %13 = trunc i64 %2 to i32 %14 = add i32 %13, 1 store i32 %14, i32* %arg2, align 4 br label LBL_5 LBL_5: %.cast = ptrtoint i32* %arg2 to i64 %15 = call i64 @FUNC(i64 %.pre, i64 %.cast, i64 1000) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.pre, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
RegisterUYVYImage_10575
RegisterUYVYImage
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %1 = inttoptr i64 %0 to i64* store i64 4198819, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198826, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 20 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* store i32 1, i32* %9, align 4 %10 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) %11 = add i64 %0, 32 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %14 = add i64 %0, 40 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %18 = inttoptr i64 %17 to i64* store i64 4198819, i64* %18, align 8 %19 = add i64 %17, 8 %20 = inttoptr i64 %19 to i64* store i64 4198826, i64* %20, align 8 %21 = add i64 %17, 16 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 %23 = add i64 %17, 20 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 %25 = add i64 %17, 24 %26 = inttoptr i64 %25 to i32* store i32 1, i32* %26, align 4 %27 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) %28 = add i64 %17, 32 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %31 = add i64 %17, 40 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = call i64 @FUNC(i64 %17) ret i64 0 uselistorder i64 (i64)* @RegisterMagickInfo, { 1, 0 } uselistorder i64 (i8*)* @ConstantString, { 3, 2, 1, 0 } uselistorder i32 1, { 1, 2, 3, 4, 0 } uselistorder i64 (i8*)* @SetMagickInfo, { 1, 0 } }
0
BinRealVul
DumpRawUIConfig_12396
DumpRawUIConfig
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdx.3.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %rdx.2.lcssa.reg2mem = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %storemerge46.reg2mem = alloca i32 %rdx.0.lcssa.reg2mem = alloca i64 %.reg2mem23 = alloca i64 %rcx.19.reg2mem = alloca i64 %rdx.310.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %storemerge514.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = ptrtoint i64* %sv_2 to i64 %4 = trunc i64 %arg3 to i32 %5 = trunc i64 %arg4 to i32 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %2, i64 %9, i64 0) %11 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %4, i32 %5) %12 = call i64 @FUNC(i64 %10, i64 8) %13 = and i64 %12, 4294967295 %14 = icmp eq i64 %13, 0 %.pre = add i64 %3, -304 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge514.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_1: %storemerge514.reload = load i32, i32* %storemerge514.reg2mem %.reload = load i64, i64* %.reg2mem %15 = call i64 @FUNC(i64 %10, i64 8) %16 = trunc i64 %15 to i8 %17 = add i64 %.reload, %.pre %18 = inttoptr i64 %17 to i8* store i8 %16, i8* %18, align 1 %19 = add i32 %storemerge514.reload, 1 %20 = zext i32 %19 to i64 %21 = icmp ugt i64 %13, %20 store i64 %20, i64* %.reg2mem store i32 %19, i32* %storemerge514.reg2mem store i64 %20, i64* %.lcssa.reg2mem br i1 %21, label LBL_1, label LBL_2 LBL_2: %sext = mul i64 %arg4, 4294967296 %22 = ashr exact i64 %sext, 32 %23 = add i32 %4, 1 %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %24 = add i64 %.lcssa.reload, %.pre %25 = inttoptr i64 %24 to i8* store i8 0, i8* %25, align 1 %26 = and i64 %22, 4294967295 %27 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i32 %23, i64 %26) %28 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_5, label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 %10) %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = call i64 @FUNC(i64 %10, i64 8) %sext2 = mul i64 %34, 72057594037927936 %35 = ashr exact i64 %sext2, 56 store i64 %35, i64* %sv_1, align 8 %36 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i32 %23, i64 %26) %37 = call i64 @FUNC(i64 %10, i64 8) %sext3 = mul i64 %37, 72057594037927936 %38 = ashr exact i64 %sext3, 56 store i64 %38, i64* %sv_1, align 8 %39 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1, i32 %23, i64 %26) br label LBL_5 LBL_5: %40 = call i64 @FUNC(i64 %10) %41 = icmp eq i64 %40, 0 br i1 %41, label LBL_27, label LBL_6 LBL_6: %42 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0)) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_26, label LBL_7 LBL_7: %46 = zext i32 %23 to i64 %47 = trunc i64 %22 to i32 %48 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i32 %23, i32 %47) %49 = icmp eq i32 %47, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_9, label LBL_8 LBL_8: %51 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_7, i64 %46, i64 %26, i64 %26, i64 %1) br label LBL_9 LBL_9: %52 = call i64 @FUNC(i64 %arg2, i64* bitcast ([5 x i8]* @gv_8 to i64*), i64 %46, i64 %26, i64 %26, i64 %1) %53 = call i64 @FUNC(i64 %10, i64 8) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 store i64 %26, i64* %rcx.1.lcssa.reg2mem store i64 %46, i64* %rdx.3.lcssa.reg2mem br i1 %55, label LBL_23, label LBL_10 LBL_10: %56 = ptrtoint i64* %sv_0 to i64 store i32 0, i32* %storemerge11.reg2mem store i64 %46, i64* %rdx.310.reg2mem store i64 %26, i64* %rcx.19.reg2mem br label LBL_11 LBL_11: %rcx.19.reload = load i64, i64* %rcx.19.reg2mem %rdx.310.reload = load i64, i64* %rdx.310.reg2mem %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %57 = call i64 @FUNC(i64 %10, i64 8) %58 = icmp eq i32 %storemerge11.reload, 0 br i1 %58, label LBL_13, label LBL_12 LBL_12: %59 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_9, i64 %rdx.310.reload, i64 %rcx.19.reload, i64 %26, i64 %1) br label LBL_13 LBL_13: %60 = call i64 @FUNC(i64 %10, i64 8) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false store i64 %60, i64* %.reg2mem23 store i64 %rdx.310.reload, i64* %rdx.0.lcssa.reg2mem br i1 %63, label LBL_14, label LBL_15 LBL_14: %.reload24 = load i64, i64* %.reg2mem23 %64 = and i64 %.reload24, 4294967295 %65 = call i64 @FUNC(i64 %arg2, i64* bitcast ([3 x i8]* @gv_10 to i64*), i64 %64, i64 %rcx.19.reload, i64 %26, i64 %1) %66 = call i64 @FUNC(i64 %10, i64 8) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false store i64 %66, i64* %.reg2mem23 store i64 %64, i64* %rdx.0.lcssa.reg2mem br i1 %69, label LBL_14, label LBL_15 LBL_15: %70 = trunc i64 %57 to i32 %rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem %71 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_11, i64 %rdx.0.lcssa.reload, i64 %rcx.19.reload, i64 %26, i64 %1) %72 = icmp eq i32 %70, 0 store i32 0, i32* %storemerge46.reg2mem store i64 %rcx.19.reload, i64* %rcx.0.lcssa.reg2mem store i64 %rdx.0.lcssa.reload, i64* %rdx.2.lcssa.reg2mem br i1 %72, label LBL_22, label LBL_16 LBL_16: %storemerge46.reload = load i32, i32* %storemerge46.reg2mem %73 = call i64 @FUNC(i64 %10, i64* nonnull %sv_0, i64 2) %74 = icmp eq i32 %storemerge46.reload, 0 br i1 %74, label LBL_18, label LBL_17 LBL_17: %75 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_11, i64 2, i64 %56, i64 %26, i64 %1) br label LBL_18 LBL_18: %76 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_12, i64 0, i64 0)) %77 = trunc i64 %76 to i32 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_20, label LBL_19 LBL_19: %80 = call i64 @FUNC(i64 %arg2, i64* bitcast ([4 x i8]* @gv_13 to i64*), i64 2, i64 %56, i64 %26, i64 %1) store i64 2, i64* %rdx.1.reg2mem br label LBL_21 LBL_20: %81 = call i64 @FUNC(i64 %arg2, i64* bitcast ([3 x i8]* @gv_14 to i64*), i64 %56, i64 %56, i64 %26, i64 %1) store i64 %56, i64* %rdx.1.reg2mem br label LBL_21 LBL_21: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %82 = add nuw i32 %storemerge46.reload, 1 %exitcond = icmp eq i32 %82, %70 store i32 %82, i32* %storemerge46.reg2mem store i64 %56, i64* %rcx.0.lcssa.reg2mem store i64 %rdx.1.reload, i64* %rdx.2.lcssa.reg2mem br i1 %exitcond, label LBL_22, label LBL_16 LBL_22: %rdx.2.lcssa.reload = load i64, i64* %rdx.2.lcssa.reg2mem %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %83 = add nuw i32 %storemerge11.reload, 1 %exitcond18 = icmp eq i32 %83, %54 store i32 %83, i32* %storemerge11.reg2mem store i64 %rdx.2.lcssa.reload, i64* %rdx.310.reg2mem store i64 %rcx.0.lcssa.reload, i64* %rcx.19.reg2mem store i64 %rcx.0.lcssa.reload, i64* %rcx.1.lcssa.reg2mem store i64 %rdx.2.lcssa.reload, i64* %rdx.3.lcssa.reg2mem br i1 %exitcond18, label LBL_23, label LBL_11 LBL_23: br i1 %50, label LBL_25, label LBL_24 LBL_24: %rdx.3.lcssa.reload = load i64, i64* %rdx.3.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %84 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_7, i64 %rdx.3.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %26, i64 %1) br label LBL_25 LBL_25: %85 = call i64 @FUNC(i64 %arg2, i64 %46, i32 %47) br label LBL_27 LBL_26: %86 = ptrtoint i64* %sv_1 to i64 %87 = call i64 @FUNC(i64 %10) %88 = and i64 %87, 4294967295 %89 = add i64 %88, %86 %90 = zext i32 %23 to i64 %91 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %89, i64 %40, i64 %90, i64 %26) br label LBL_27 LBL_27: %92 = trunc i64 %22 to i32 %93 = and i64 %arg3, 4294967295 %94 = call i64 @FUNC(i64 %arg2, i64 %93, i32 %92) %95 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %4, i32 %92) %96 = call i64 @FUNC(i64 %10) ret i64 0 uselistorder i64 %rcx.19.reload, { 0, 2, 3, 1 } uselistorder i64 %56, { 0, 1, 4, 5, 3, 2 } uselistorder i64 %46, { 2, 1, 0, 4, 3 } uselistorder i64 %26, { 15, 9, 5, 6, 7, 4, 3, 8, 1, 0, 2, 13, 10, 14, 11, 12, 16 } uselistorder i32 %23, { 4, 3, 2, 0, 1, 5 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %10, { 9, 8, 4, 5, 0, 6, 7, 10, 1, 2, 3, 11, 12 } uselistorder i32 %4, { 0, 2, 1 } uselistorder i64* %sv_1, { 5, 0, 1, 6, 2, 7, 3, 4 } uselistorder i64 %1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge514.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.310.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.19.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i32* %storemerge46.reg2mem, { 2, 0, 1 } uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 0, 2, 1, 3 } uselistorder i64 (i64, i64*, i64, i64, i64, i64)* @gf_fprintf, { 2, 8, 7, 6, 4, 5, 3, 1, 0 } uselistorder i64 (i64)* @gf_bs_available, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5 } uselistorder i64 (i64*, i8*)* @stricmp, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64*, i32, i64)* @DumpString, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 0, { 6, 7, 0, 3, 8, 5, 9, 1, 4, 10, 11, 12, 2 } uselistorder i64 4294967295, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 7, 0, 6, 5, 3, 2, 4, 1 } uselistorder i64 8, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } uselistorder i64 %arg2, { 15, 14, 13, 4, 3, 8, 7, 6, 9, 10, 5, 11, 2, 12, 0, 1, 16, 17 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
nfs_post_op_update_inode_force_wcc_8780
nfs_post_op_update_inode_force_wcc
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %1 to i32 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %3, i64 %2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = and i32 %5, -13 %13 = bitcast i64* %arg2 to i32* store i32 %12, i32* %13, align 4 br label LBL_8 LBL_3: %14 = bitcast i64* %rsi to i32* %15 = and i32 %5, 2 %16 = icmp eq i32 %15, 0 store i32 %5, i32* %.reg2mem br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = and i32 %5, 8 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i32 %5, i32* %.reg2mem br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = add i64 %3, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %2, 4 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = load i32, i32* %14, align 8 %26 = or i32 %25, 8 %27 = bitcast i64* %arg2 to i32* store i32 %26, i32* %27, align 4 %.pre = urem i32 %25, 2 %28 = icmp eq i32 %.pre, 0 store i32 %25, i32* %.reg2mem br i1 %28, label LBL_8, label LBL_6 LBL_6: %.reload = load i32, i32* %.reg2mem %29 = and i32 %.reload, 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = add i64 %3, 4 %33 = add i64 %2, 8 %34 = inttoptr i64 %32 to i32* %35 = load i32, i32* %34, align 4 %36 = inttoptr i64 %33 to i32* store i32 %35, i32* %36, align 4 %37 = add i64 %3, 8 %38 = add i64 %2, 12 %39 = inttoptr i64 %37 to i32* %40 = load i32, i32* %39, align 4 %41 = inttoptr i64 %38 to i32* store i32 %40, i32* %41, align 4 %42 = call i64 @FUNC(i64 %3) %43 = trunc i64 %42 to i32 %44 = add i64 %2, 16 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 %46 = load i32, i32* %14, align 8 %47 = or i32 %46, 4 %48 = bitcast i64* %arg2 to i32* store i32 %47, i32* %48, align 4 br label LBL_8 LBL_8: %49 = call i64 @FUNC(i64 %3, i64 %2) %50 = call i64 @FUNC(i64 %3) %51 = and i64 %49, 4294967295 ret i64 %51 uselistorder i32* %14, { 1, 0 } uselistorder i32 %5, { 1, 4, 0, 5, 3, 2 } uselistorder i64 %3, { 6, 5, 1, 2, 3, 0, 4, 7 } uselistorder i64 %2, { 5, 1, 2, 3, 0, 4 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i32 2, { 0, 2, 1 } uselistorder label LBL_8, { 2, 1, 0, 3 } uselistorder label LBL_6, { 2, 1, 0 } }
0
BinRealVul
read_ttag_18581
read_ttag
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i8* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i8* %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8*, align 8 %sext = mul i64 %arg3, 4294967296 %0 = ashr exact i64 %sext, 32 store i64 %0, i64* %sv_3, align 8 store i8* %arg4, i8** %sv_4, align 8 %1 = and i64 %0, 4294967295 %2 = trunc i64 %0 to i32 %3 = icmp slt i32 %2, 1 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_17, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %4) %7 = trunc i64 %6 to i32 %sext4 = add i64 %sext, -4294967296 %8 = ashr exact i64 %sext4, 32 store i64 %8, i64* %sv_3, align 8 %9 = bitcast i64* %sv_3 to i32* %10 = bitcast i8** %sv_2 to i64* %11 = call i64 @FUNC(i64 %5, i64 %4, i32 %7, i64* nonnull %10, i32* nonnull %9) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = ptrtoint i8* %arg4 to i64 %16 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %15) store i64 %16, i64* %rax.0.reg2mem br label LBL_17 LBL_3: %17 = call i32 @strcmp(i8* %arg4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i32 @strcmp(i8* %arg4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_9, label LBL_5 LBL_5: %22 = load i8*, i8** %sv_2, align 8 %23 = call i32 (i8*, i8*, ...) @sscanf(i8* %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1) %24 = icmp eq i32 %23, 1 br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = load i8*, i8** %sv_2, align 8 %26 = call i32 (i8*, i8*, ...) @sscanf(i8* %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1) %27 = icmp eq i32 %26, 1 %28 = icmp eq i1 %27, false br i1 %28, label LBL_9, label LBL_7 LBL_7: %29 = load i64, i64* %sv_1, align 8 %30 = trunc i64 %29 to i32 %31 = icmp ult i32 %30, 256 br i1 %31, label LBL_8, label LBL_9 LBL_8: %32 = call i64 @FUNC(i64* nonnull %10) %33 = load i64, i64* %sv_1, align 8 %34 = mul i64 %33, 8 %35 = and i64 %34, 34359738360 %36 = add i64 %35, ptrtoint ([6 x i8]** @gv_5 to i64) %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i8* store i8* %39, i8** %sv_2, align 8 store i8* %39, i8** %.reg2mem store i32 1, i32* %sv_0.0.reg2mem br label LBL_15 LBL_9: %40 = load i8*, i8** %sv_4, align 8 %41 = call i32 @strcmp(i8* %40, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0)) %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_11, label LBL_10 LBL_10: %43 = call i32 @strcmp(i8* %40, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0)) %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_13, label LBL_11 LBL_11: %46 = load i8*, i8** %sv_2, align 8 %47 = ptrtoint i8* %46 to i64 %48 = bitcast i8** %sv_4 to i64* store i64 %47, i64* %48, align 8 %49 = call i64 @FUNC(i64 %5, i64 %4, i32 %7, i64* nonnull %10, i32* nonnull %9) %50 = trunc i64 %49 to i32 %51 = icmp slt i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_14, label LBL_12 LBL_12: %53 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %47) %54 = call i64 @FUNC(i64* nonnull %48) store i64 %54, i64* %rax.0.reg2mem br label LBL_17 LBL_13: %55 = load i8*, i8** %sv_2, align 8 %56 = load i8, i8* %55, align 1 %57 = icmp eq i8 %56, 0 %spec.select = select i1 %57, i32 1, i32 3 store i8* %55, i8** %.reg2mem store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_15 LBL_14: %.pr = load i8*, i8** %sv_2, align 8 store i8* %.pr, i8** %.reg2mem store i32 7, i32* %sv_0.0.reg2mem br label LBL_15 LBL_15: %.reload = load i8*, i8** %.reg2mem %58 = ptrtoint i8* %.reload to i64 %59 = icmp eq i8* %.reload, null store i64 %58, i64* %rax.0.reg2mem br i1 %59, label LBL_17, label LBL_16 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %60 = load i8*, i8** %sv_4, align 8 %61 = ptrtoint i8* %60 to i64 %62 = call i64 @FUNC(i64 %5, i64 %61, i64 %58, i32 %sv_0.0.reload) store i64 %62, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %58, { 1, 0 } uselistorder i64 %47, { 1, 0 } uselistorder i64 %5, { 3, 1, 2, 0, 4 } uselistorder i64 %sext, { 1, 0 } uselistorder i8** %sv_4, { 3, 0, 2, 1 } uselistorder i64* %sv_3, { 2, 1, 0 } uselistorder i8** %sv_2, { 1, 5, 0, 4, 3, 2, 6 } uselistorder i64* %sv_1, { 2, 3, 0, 1 } uselistorder i8** %.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1, 5 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64*)* @av_freep, { 1, 0 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @av_log, { 1, 0 } uselistorder i64 (i64, i64, i32, i64*, i32*)* @decode_str, { 1, 0 } uselistorder label LBL_17, { 1, 2, 3, 4, 0 } }
1
BinRealVul
guess_ni_flag_198
guess_ni_flag
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.018.reg2mem = alloca i64 %.reg2mem54 = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_2.1.lcssa.reg2mem = alloca i64 %sv_3.1.lcssa.reg2mem = alloca i64 %.reg2mem52 = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %.reg2mem50 = alloca i32 %storemerge2.reg2mem = alloca i64 %.reg2mem48 = alloca i32 %.pre-phi.reg2mem = alloca i64 %.reg2mem46 = alloca i32 %sv_3.111.reg2mem = alloca i64 %sv_2.112.reg2mem = alloca i64 %sv_1.113.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %.reg2mem44 = alloca i64 %.pre-phi41.reg2mem = alloca i64* %sv_4.0.reg2mem = alloca i64 %sv_5.2.reg2mem = alloca i64 %sv_5.0.reg2mem = alloca i64 %.reg2mem42 = alloca i64 %sv_5.319.reg2mem = alloca i64 %sv_4.120.reg2mem = alloca i64 %storemerge321.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = load i64, i64* %4, align 8 %10 = call i64 @FUNC(i64 %9, i64 %6, i64 0) %.pre38 = add i64 %2, 8 %.pre40 = inttoptr i64 %.pre38 to i64* store i64* %.pre40, i64** %.pre-phi41.reg2mem br label LBL_9 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge321.reg2mem store i64 9223372036854775807, i64* %sv_4.120.reg2mem store i64 0, i64* %sv_5.319.reg2mem br label LBL_3 LBL_3: %sv_5.319.reload = load i64, i64* %sv_5.319.reg2mem %sv_4.120.reload = load i64, i64* %sv_4.120.reg2mem %storemerge321.reload = load i32, i32* %storemerge321.reg2mem %.reload = load i64, i64* %.reg2mem %14 = load i64, i64* %12, align 8 %15 = mul i64 %.reload, 8 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp slt i32 %20, 1 store i64 %sv_5.319.reload, i64* %sv_5.2.reg2mem store i64 %sv_4.120.reload, i64* %sv_4.0.reg2mem br i1 %21, label LBL_7, label LBL_4 LBL_4: %22 = icmp eq i32 %20, 1 %.pre25 = add i64 %18, 8 %.pre27 = inttoptr i64 %.pre25 to i64* %.pre37 = load i64, i64* %.pre27, align 8 store i64 %.pre37, i64* %.reg2mem42 store i64 %sv_5.319.reload, i64* %sv_5.0.reg2mem br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = inttoptr i64 %.pre37 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %24, 4 %26 = load i64, i64* %4, align 8 %27 = call i64 @FUNC(i64 %26, i64 %25, i64 0) %28 = load i64, i64* %4, align 8 %29 = call i64 @FUNC(i64 %28) %30 = and i64 %29, 4294967295 %31 = add i64 %30, %24 %32 = load i64, i64* %.pre27, align 8 %33 = add i64 %32, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp sgt i64 %31, %35 %spec.select = select i1 %36, i64 9223372036854775807, i64 %sv_5.319.reload store i64 %32, i64* %.reg2mem42 store i64 %spec.select, i64* %sv_5.0.reg2mem br label LBL_6 LBL_6: %sv_5.0.reload = load i64, i64* %sv_5.0.reg2mem %.reload43 = load i64, i64* %.reg2mem42 %37 = inttoptr i64 %.reload43 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp slt i64 %sv_5.0.reload, %38 %spec.select4 = select i1 %39, i64 %38, i64 %sv_5.0.reload %40 = sext i32 %20 to i64 %41 = mul i64 %40, 16 %42 = add nsw i64 %41, -16 %43 = add i64 %42, %.reload43 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp sgt i64 %sv_4.120.reload, %45 %spec.select5 = select i1 %46, i64 %45, i64 %sv_4.120.reload store i64 %spec.select4, i64* %sv_5.2.reg2mem store i64 %spec.select5, i64* %sv_4.0.reg2mem br label LBL_7 LBL_7: %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %sv_5.2.reload = load i64, i64* %sv_5.2.reg2mem %47 = add i32 %storemerge321.reload, 1 %48 = sext i32 %47 to i64 %49 = icmp sgt i64 %13, %48 store i64 %48, i64* %.reg2mem store i32 %47, i32* %storemerge321.reg2mem store i64 %sv_4.0.reload, i64* %sv_4.120.reg2mem store i64 %sv_5.2.reload, i64* %sv_5.319.reg2mem br i1 %49, label LBL_3, label LBL_8 LBL_8: %50 = load i64, i64* %4, align 8 %51 = call i64 @FUNC(i64 %50, i64 %6, i64 0) %52 = icmp sgt i64 %sv_5.2.reload, %sv_4.0.reload store i64* %12, i64** %.pre-phi41.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %52, label LBL_27, label LBL_9 LBL_9: %53 = bitcast i64* %rdi to i32* %.pre-phi41.reload = load i64*, i64** %.pre-phi41.reg2mem %sext = mul i64 %1, 4294967296 %54 = ashr exact i64 %sext, 30 %55 = call i64 @FUNC(i64 %54) store i32 %7, i32* %.reg2mem54 store i64 0, i64* %sv_0.018.reg2mem br label LBL_25 LBL_10: %sv_3.111.reload = load i64, i64* %sv_3.111.reg2mem %sv_2.112.reload = load i64, i64* %sv_2.112.reg2mem %sv_1.113.reload = load i64, i64* %sv_1.113.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %.reload45 = load i64, i64* %.reg2mem44 %56 = load i64, i64* %.pre-phi41.reload, align 8 %57 = mul i64 %.reload45, 8 %58 = add i64 %56, %57 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = add i64 %60, 8 %64 = inttoptr i64 %63 to i64* %65 = mul i64 %.reload45, 4 %66 = add i64 %65, %55 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = zext i32 %68 to i64 %70 = sext i32 %62 to i64 %71 = icmp sgt i64 %70, %69 store i32 %68, i32* %.reg2mem46 store i64 %69, i64* %.pre-phi.reg2mem store i32 %68, i32* %.reg2mem48 br i1 %71, label LBL_12, label LBL_14 LBL_11: %72 = add i32 %.reload47, 1 store i32 %72, i32* %67, align 4 %73 = zext i32 %72 to i64 %74 = icmp sgt i64 %70, %73 store i32 %72, i32* %.reg2mem46 store i64 %73, i64* %.pre-phi.reg2mem store i32 %72, i32* %.reg2mem48 br i1 %74, label LBL_12, label LBL_14 LBL_12: %.reload47 = load i32, i32* %.reg2mem46 %75 = load i64, i64* %64, align 8 %76 = sext i32 %.reload47 to i64 %77 = mul i64 %76, 16 %78 = add i64 %77, %75 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = icmp sgt i64 %sv_0.018.reload, %80 br i1 %81, label LBL_11, label LBL_12.LBL_14_crit_edge LBL_13: %.pre = zext i32 %.reload47 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i32 %.reload47, i32* %.reg2mem48 br label LBL_14 LBL_14: %.reload49 = load i32, i32* %.reg2mem48 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %82 = icmp slt i64 %.pre-phi.reload, %70 store i32 %.reload49, i32* %.reg2mem50 store i64 %sv_3.111.reload, i64* %sv_3.0.reg2mem store i64 %sv_1.113.reload, i64* %sv_1.0.reg2mem br i1 %82, label LBL_15, label LBL_18 LBL_15: %83 = add i64 %60, 16 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = load i64, i64* %64, align 8 %87 = sext i32 %.reload49 to i64 %88 = mul i64 %87, 16 %89 = or i64 %88, 8 %90 = add i64 %86, %89 %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 %93 = zext i32 %85 to i64 %94 = call i64 @FUNC(i64 %92, i64 %93, i64 1000000) %95 = icmp slt i64 %sv_1.113.reload, %94 store i64 %sv_1.113.reload, i64* %storemerge2.reg2mem br i1 %95, label LBL_17, label LBL_16 LBL_16: %96 = load i32, i32* %84, align 4 %97 = load i64, i64* %64, align 8 %98 = load i32, i32* %67, align 4 %99 = sext i32 %98 to i64 %100 = mul i64 %99, 16 %101 = add i64 %97, 8 %102 = add i64 %101, %100 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = zext i32 %96 to i64 %106 = call i64 @FUNC(i64 %104, i64 %105, i64 1000000) store i64 %106, i64* %storemerge2.reg2mem br label LBL_17 LBL_17: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %107 = load i64, i64* %64, align 8 %108 = load i32, i32* %67, align 4 %109 = sext i32 %108 to i64 %110 = mul i64 %109, 16 %111 = add i64 %110, %107 %112 = inttoptr i64 %111 to i64* %113 = load i64, i64* %112, align 8 %114 = sub i64 %sv_3.111.reload, %113 %115 = xor i64 %113, %sv_3.111.reload %116 = xor i64 %114, %sv_3.111.reload %117 = and i64 %116, %115 %118 = icmp slt i64 %117, 0 %119 = icmp eq i64 %114, 0 %120 = icmp slt i64 %114, 0 %121 = icmp ne i1 %120, %118 %122 = or i1 %119, %121 %123 = select i1 %122, i64 %sv_3.111.reload, i64 %113 store i32 %108, i32* %.reg2mem50 store i64 %123, i64* %sv_3.0.reg2mem store i64 %storemerge2.reload, i64* %sv_1.0.reg2mem br label LBL_18 LBL_18: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %.reload51 = load i32, i32* %.reg2mem50 %124 = icmp eq i32 %.reload51, 0 store i64 %sv_2.112.reload, i64* %sv_2.0.reg2mem br i1 %124, label LBL_21, label LBL_19 LBL_19: %125 = add i64 %60, 16 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = load i64, i64* %64, align 8 %129 = sext i32 %.reload51 to i64 %130 = mul i64 %129, 16 %131 = add nsw i64 %130, -8 %132 = add i64 %131, %128 %133 = inttoptr i64 %132 to i64* %134 = load i64, i64* %133, align 8 %135 = zext i32 %127 to i64 %136 = call i64 @FUNC(i64 %134, i64 %135, i64 1000000) %137 = icmp sgt i64 %sv_2.112.reload, %136 store i64 %sv_2.112.reload, i64* %sv_2.0.reg2mem br i1 %137, label LBL_21, label LBL_20 LBL_20: %138 = load i32, i32* %126, align 4 %139 = load i64, i64* %64, align 8 %140 = load i32, i32* %67, align 4 %141 = sext i32 %140 to i64 %142 = mul i64 %141, 16 %143 = add i64 %139, -8 %144 = add i64 %143, %142 %145 = inttoptr i64 %144 to i64* %146 = load i64, i64* %145, align 8 %147 = zext i32 %138 to i64 %148 = call i64 @FUNC(i64 %146, i64 %147, i64 1000000) store i64 %148, i64* %sv_2.0.reg2mem br label LBL_21 LBL_21: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %149 = add i32 %storemerge14.reload, 1 %150 = load i32, i32* %53, align 8 %151 = zext i32 %150 to i64 %152 = sext i32 %149 to i64 %153 = icmp slt i64 %152, %151 store i64 %152, i64* %.reg2mem44 store i32 %149, i32* %storemerge14.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.113.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.112.reg2mem store i64 %sv_3.0.reload, i64* %sv_3.111.reg2mem store i32 %150, i32* %.reg2mem52 store i64 %sv_3.0.reload, i64* %sv_3.1.lcssa.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.lcssa.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem br i1 %153, label LBL_10, label LBL_22 LBL_22: %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %sv_2.1.lcssa.reload = load i64, i64* %sv_2.1.lcssa.reg2mem %154 = sub i64 %sv_2.1.lcssa.reload, %sv_1.1.lcssa.reload %155 = icmp slt i64 %154, 2000001 br i1 %155, label LBL_24, label LBL_23 LBL_23: %156 = call i64 @FUNC(i64 %55) store i64 1, i64* %rax.0.reg2mem br label LBL_27 LBL_24: %sv_3.1.lcssa.reload = load i64, i64* %sv_3.1.lcssa.reg2mem %.reload53 = load i32, i32* %.reg2mem52 %157 = add i64 %sv_3.1.lcssa.reload, 1 %158 = icmp eq i64 %sv_3.1.lcssa.reload, 9223372036854775807 %159 = icmp eq i1 %158, false store i32 %.reload53, i32* %.reg2mem54 store i64 %157, i64* %sv_0.018.reg2mem br i1 %159, label LBL_25, label LBL_26 LBL_25: %sv_0.018.reload = load i64, i64* %sv_0.018.reg2mem %.reload55 = load i32, i32* %.reg2mem54 %160 = icmp eq i32 %.reload55, 0 store i64 0, i64* %.reg2mem44 store i32 0, i32* %storemerge14.reg2mem store i64 4611686018427387903, i64* %sv_1.113.reg2mem store i64 -4611686018427387904, i64* %sv_2.112.reg2mem store i64 9223372036854775807, i64* %sv_3.111.reg2mem store i32 0, i32* %.reg2mem52 store i64 9223372036854775807, i64* %sv_3.1.lcssa.reg2mem store i64 -4611686018427387904, i64* %sv_2.1.lcssa.reg2mem store i64 4611686018427387903, i64* %sv_1.1.lcssa.reg2mem br i1 %160, label LBL_22, label LBL_10 LBL_26: %161 = call i64 @FUNC(i64 %55) store i64 0, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_3.1.lcssa.reload, { 1, 0 } uselistorder i64 %114, { 1, 2, 0 } uselistorder i64 %113, { 2, 0, 1 } uselistorder i32 %.reload49, { 1, 0 } uselistorder i32 %.reload47, { 0, 3, 2, 1 } uselistorder i64 %70, { 0, 2, 1 } uselistorder i32* %67, { 0, 2, 1, 4, 3 } uselistorder i64* %64, { 1, 0, 3, 4, 2, 5 } uselistorder i64 %.reload45, { 1, 0 } uselistorder i64 %sv_1.113.reload, { 1, 2, 0 } uselistorder i64 %sv_2.112.reload, { 0, 2, 1 } uselistorder i64 %sv_3.111.reload, { 1, 4, 3, 2, 0 } uselistorder i64 %55, { 1, 2, 0 } uselistorder i64 %sv_5.0.reload, { 1, 0 } uselistorder i64 %.pre37, { 1, 0 } uselistorder i64* %.pre27, { 1, 0 } uselistorder i32 %20, { 1, 0, 2 } uselistorder i64 %sv_4.120.reload, { 1, 2, 0 } uselistorder i64 %sv_5.319.reload, { 2, 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64* %4, { 1, 3, 2, 0, 4 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge321.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_4.120.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_5.319.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem42, { 0, 2, 1 } uselistorder i64* %sv_5.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem44, { 1, 2, 0 } uselistorder i32* %storemerge14.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_1.113.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_2.112.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_3.111.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem46, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %.reg2mem48, { 0, 3, 1, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem52, { 2, 0, 1 } uselistorder i64* %sv_3.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64, i64, i64)* @av_rescale_q, { 3, 2, 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 9223372036854775807, { 0, 1, 4, 3, 2 } uselistorder i64 8, { 5, 4, 6, 0, 3, 1, 7, 2 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 2, 0 } uselistorder i32 0, { 0, 1, 3, 5, 2, 4 } uselistorder i64 16, { 0, 1, 7, 2, 3, 4, 8, 5, 6, 9, 10 } uselistorder label LBL_27, { 2, 1, 0 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_14, { 1, 0, 2 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
regexec_11654
regexec
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = icmp eq i64* %arg3, null %2 = icmp eq i1 %1, false %spec.select = select i1 %2, i64* %arg3, i64* %sv_0 %sv_1.0 = ptrtoint i64* %spec.select to i64 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = bitcast i64* %spec.select to i32* store i32 %5, i32* %6, align 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 16 %8 = add i64 %7, %sv_1.0 %9 = add i64 %8, 16 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %10, align 8 %11 = add i64 %8, 8 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = or i32 %15, %arg4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg2, i64 %17, i64 %sv_1.0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = zext i1 %20 to i64 ret i64 %21 uselistorder i64 %sv_1.0, { 1, 0 } uselistorder i64* %spec.select, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } }
1
BinRealVul
max77686_pmic_dt_parse_pdata_18371
max77686_pmic_dt_parse_pdata
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0)) %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 %2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %7 = bitcast i64* %arg2 to i32* store i32 3, i32* %7, align 4 %8 = mul i64 %1, 8 %9 = and i64 %8, 34359738360 %10 = call i64 @FUNC(i64 %2, i64 %9, i64 0) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = trunc i64 %1 to i32 %14 = bitcast i64* %rsi to i32* %15 = icmp eq i32 %13, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_4: %16 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = mul i64 %indvars.iv.reload, 8 %18 = add i64 %17, ptrtoint ([3 x i8*]* @gv_3 to i64) %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 store i64 %20, i64* %sv_0, align 8 %21 = call i64 @FUNC(i64 %2, i64 %3, i64* nonnull %sv_0, i64 1) %22 = add i64 %17, %10 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = load i32, i32* %14, align 8 %25 = zext i32 %24 to i64 %26 = icmp ult i64 %indvars.iv.next, %25 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %26, label LBL_5, label LBL_6 LBL_6: %27 = ptrtoint i64* %arg2 to i64 %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i64* store i64 %10, i64* %29, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 3, 0, 4 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 8, { 2, 0, 1, 3 } uselistorder i64 (i64, i8*)* @dev_err, { 1, 0 } uselistorder i64 0, { 0, 11, 3, 4, 1, 14, 12, 5, 6, 15, 7, 8, 2, 16, 9, 10, 13 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
ide_test_start_15943
ide_test_start
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: store i32 8, i32* %sv_0, align 4 %21 = ptrtoint i8* %arg1 to i64 %22 = call i64 @FUNC(i64 %21, i32* nonnull %sv_0) %23 = call i64 @FUNC(i64 %22) %24 = load i64, i64* @gv_0, align 8 %25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %26 = call i64 @FUNC() store i64 %26, i64* @gv_2, align 8 ret i64 %26 uselistorder i64 %26, { 1, 0 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
js_proxy_isArray_6890
js_proxy_isArray
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2, i64 1) %sext = mul i64 %0, 4294967296 %1 = icmp eq i64 %sext, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_6 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %arg2, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %8 = ashr exact i64 %sext, 32 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %13 = add nsw i64 %8, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %3, i64 %15) store i64 %16, 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, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 0 } }
0
BinRealVul
blkreplay_co_flush_15002
blkreplay_co_flush
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = add i64 %1, 1 store i64 %2, i64* @gv_0, align 8 %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC() %5 = call i64 @FUNC(i64 %1, i64 %0, i64 %4) %6 = call i64 @FUNC() %7 = and i64 %3, 4294967295 ret i64 %7 }
1
BinRealVul
ssl_init_wbio_buffer_10802
ssl_init_wbio_buffer
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_12 LBL_2: store i64 %4, i64* %arg1, align 8 store i64 %4, i64* %sv_0.0.reg2mem br label LBL_5 LBL_3: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, %0 %11 = icmp eq i1 %10, false store i64 %0, i64* %sv_0.0.reg2mem br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %9) store i64 %12, i64* %8, align 8 store i64 %0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = call i64 @FUNC(i64 %sv_0.0.reload) %14 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 1, i64 2) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %19 = trunc i64 %arg2 to i32 %20 = icmp eq i32 %19, 0 %21 = add i64 %0, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %sv_0.0.reload, %23 br i1 %20, label LBL_10, label LBL_8 LBL_8: store i64 1, i64* %rax.0.reg2mem br i1 %24, label LBL_12, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %23) store i64 %25, i64* %22, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %26 = icmp eq i1 %24, false store i64 1, i64* %rax.0.reg2mem br i1 %26, label LBL_12, label LBL_11 LBL_11: %27 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 %27, i64* %22, align 8 store i64 1, 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 i1 %24, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 3, 2, 4, 0, 1 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %0, { 3, 0, 1, 2, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1, 6, 5 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i64)* @BIO_pop, { 1, 0 } uselistorder label LBL_12, { 3, 2, 1, 0, 5, 4 } }
0
BinRealVul
qemu_new_net_queue_780
qemu_new_net_queue
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 32) %1 = inttoptr i64 %0 to i64* store i64 %arg1, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* store i32 10000, i32* %3, align 4 %4 = add i64 %0, 12 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 ret i64 %0 uselistorder i32 0, { 1, 2, 0 } }
0
BinRealVul
nbd_teardown_connection_14225
nbd_teardown_connection
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %3 = trunc i64 %1 to i32 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4, i32* nonnull %sv_0) %6 = call i32 @shutdown(i32 %3, i32 2) %7 = call i64 @FUNC(i64 %2) %8 = call i64 @FUNC(i64 %4, i64 0, i64 0, i64 0) %9 = call i64 @FUNC(i64 %4) store i32 -1, i32* %arg1, align 4 ret i64 %2 uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
rtnl_message_4569
rtnl_message
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 %arg2, i64* %sv_1, align 8 %5 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg2, i64 %3, i64 %2, i64 %1) %6 = icmp eq i64 %arg2, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.1.reg2mem br i1 %7, label LBL_1, label LBL_15 LBL_1: %8 = ptrtoint i64* %sv_1 to i64 %9 = add i64 %8, -16 %10 = inttoptr i64 %9 to i64* store i64 %4, i64* %sv_0.010.reg2mem store i64 %arg2, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %11 = icmp ult i64 %.reload, 16 store i64 %sv_0.010.reload, i64* %rax.1.reg2mem br i1 %11, label LBL_15, label LBL_3 LBL_3: %12 = inttoptr i64 %sv_0.010.reload to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = icmp ult i64 %.reload, %14 store i64 %14, i64* %rax.1.reg2mem br i1 %15, label LBL_15, label LBL_4 LBL_4: %16 = add i64 %sv_0.010.reload, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = add i64 %sv_0.010.reload, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %sv_0.010.reload, 6 %24 = inttoptr i64 %23 to i16* %25 = load i16, i16* %24, align 2 %26 = add i64 %sv_0.010.reload, 4 %27 = inttoptr i64 %26 to i16* %28 = load i16, i16* %27, align 2 %29 = zext i16 %28 to i64 %30 = call i64 @FUNC(i64 %29) store i64 %19, i64* %10, align 8 %31 = zext i32 %22 to i64 %32 = zext i16 %25 to i64 %33 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %14, i64 %29, i64 %32, i64 %31) store i64 %sv_0.010.reload, i64* @1, align 8 %34 = load i16, i16* %27, align 2 %35 = zext i16 %34 to i64 %36 = mul i64 %35, 8 %37 = add i64 %36, ptrtoint (i64* @gv_2 to i64) %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 store i64 %39, i64* %rax.1.reg2mem store i64 %39, i64* %rax.1.reg2mem switch i64 %sv_0.010.reload, label LBL_14 [ i64 1, label LBL_15 i64 2, label LBL_15 i64 3, label LBL_5 i64 4, label LBL_6 i64 5, label LBL_7 i64 6, label LBL_8 i64 7, label LBL_9 i64 8, label LBL_10 i64 9, label LBL_11 i64 10, label LBL_12 i64 11, label LBL_13 ] LBL_5: %40 = load i32, i32* %21, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %41) store i64 %42, i64* %rax.1.reg2mem br label LBL_15 LBL_6: %43 = load i32, i32* inttoptr (i64 20 to i32*), align 4 %44 = sub i32 0, %43 %45 = call i8* @strerror(i32 %44) %46 = ptrtoint i8* %45 to i64 %47 = load i32, i32* inttoptr (i64 20 to i32*), align 4 %48 = sub i32 0, %47 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 %49, i64 %46, i64 %29, i64 %32, i64 %31) store i64 %50, i64* %rax.1.reg2mem br label LBL_15 LBL_7: %51 = call i64 @FUNC(i64 5) br label LBL_14 LBL_8: %52 = call i64 @FUNC(i64 6) br label LBL_14 LBL_9: %53 = call i64 @FUNC(i64 7) br label LBL_14 LBL_10: %54 = call i64 @FUNC(i64 8) br label LBL_14 LBL_11: %55 = call i64 @FUNC(i64 9) br label LBL_14 LBL_12: %56 = call i64 @FUNC(i64 10) br label LBL_14 LBL_13: %57 = call i64 @FUNC(i64 11) br label LBL_14 LBL_14: %58 = load i32, i32* %12, align 4 %59 = zext i32 %58 to i64 %60 = load i64, i64* %sv_1, align 8 %61 = sub i64 %60, %59 store i64 %61, i64* %sv_1, align 8 %62 = load i32, i32* %12, align 4 %63 = zext i32 %62 to i64 %64 = add i64 %sv_0.010.reload, %63 %65 = icmp eq i64 %61, 0 %66 = icmp eq i1 %65, false store i64 %64, i64* %sv_0.010.reg2mem store i64 %61, i64* %.reg2mem store i64 %63, i64* %rax.1.reg2mem br i1 %66, label LBL_2, label LBL_15 LBL_15: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %14, { 1, 0, 2 } uselistorder i64 %sv_0.010.reload, { 8, 1, 2, 5, 6, 4, 3, 7, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64* %sv_1, { 0, 1, 3, 2 } uselistorder i64* %sv_0.010.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 3, 8, 7, 4, 5, 2, 1, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32* inttoptr (i64 20 to i32*), { 1, 0 } uselistorder i64 8, { 1, 2, 0, 3 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DBG, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_15, { 2, 6, 7, 4, 3, 1, 0, 5 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
iscsi_nop_timed_event_17054
iscsi_nop_timed_event
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 6 store i64 %0, i64* %rdi.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0)) %5 = call i64 @FUNC(i64 ptrtoint ([36 x i8]* @gv_0 to i64)) store i64 ptrtoint ([36 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %6 = call i64 @FUNC(i64 %rdi.0.reload, i64 0, i64 0, i64 0, i64 0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0)) store i64 %9, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %10 = call i64 @FUNC(i64 0) %11 = add i64 %10, 1000 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = and i64 %11, 4294967295 %16 = call i64 @FUNC(i64 %14, i64 %15) %17 = call i64 @FUNC(i64 %0) store i64 %17, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i8*)* @error_report, { 1, 0 } uselistorder [36 x i8]* @gv_0, { 1, 0 } }
1
BinRealVul
do_brk_7554
do_brk
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %arg2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %arg1, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_19 LBL_1: %6 = add i64 %3, %arg1 %7 = icmp ult i64 %6, 4294967296 %8 = icmp ugt i64 %6, %arg1 %or.cond = icmp eq i1 %7, %8 store i64 -22, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_19 LBL_2: %9 = call i64 @FUNC(i64 %2, i64 %arg1, i64 %3) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 -22, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_19 LBL_3: %12 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0, i64 %arg1, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %sext = mul i64 %12, 4294967296 %15 = ashr exact i64 %sext, 32 store i64 %15, i64* %rax.0.reg2mem br label LBL_19 LBL_5: %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_7, label LBL_6 LBL_6: %sext1 = mul i64 %19, 4294967296 %22 = ashr exact i64 %sext1, 32 store i64 %22, i64* %rax.0.reg2mem br label LBL_19 LBL_7: %23 = udiv i64 %arg1, 4096 %24 = call i64 @FUNC(i64 %2) br label LBL_8 LBL_8: %25 = call i64 @FUNC(i64 %2, i64 %arg1, i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2) %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_11, label LBL_9 LBL_9: %27 = inttoptr i64 %25 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp ult i64 %28, %6 %30 = icmp eq i1 %29, false br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = call i64 @FUNC(i64 %2, i64 %arg1, i64 %3) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 store i64 -12, i64* %rax.0.reg2mem br i1 %33, label LBL_8, label LBL_19 LBL_11: %34 = udiv i64 %3, 4096 %35 = call i64 @FUNC(i64 %2, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 -12, i64* %rax.0.reg2mem br i1 %38, label LBL_12, label LBL_19 LBL_12: %39 = add i64 %2, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sext i32 %41 to i64 %43 = load i64, i64* @gv_1, align 8 %44 = icmp ult i64 %43, %42 store i64 -12, i64* %rax.0.reg2mem br i1 %44, label LBL_19, label LBL_13 LBL_13: %45 = call i64 @FUNC(i64 %34) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 store i64 -12, i64* %rax.0.reg2mem br i1 %47, label LBL_14, label LBL_19 LBL_14: %48 = load i64, i64* %sv_0, align 8 %49 = call i64 @FUNC(i64 %2, i64 %48, i64 %arg1, i64 %6, i64 %18, i64 0) %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_18, label LBL_15 LBL_15: %52 = load i64, i64* @gv_2, align 8 %53 = call i64 @FUNC(i64 %52, i64 0) %54 = icmp eq i64 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_17, label LBL_16 LBL_16: %56 = call i64 @FUNC(i64 %34) store i64 -12, i64* %rax.0.reg2mem br label LBL_19 LBL_17: %57 = add i64 %53, 32 %58 = inttoptr i64 %57 to i64* store i64 %2, i64* %58, align 8 %59 = inttoptr i64 %53 to i64* store i64 %arg1, i64* %59, align 8 %60 = add i64 %53, 8 %61 = inttoptr i64 %60 to i64* store i64 %6, i64* %61, align 8 %62 = add i64 %53, 16 %63 = inttoptr i64 %62 to i64* store i64 %23, i64* %63, align 8 %64 = add i64 %53, 24 %65 = inttoptr i64 %64 to i64* store i64 %18, i64* %65, align 8 %66 = call i64 @FUNC(i64 %18) %67 = add i64 %53, 40 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 %69 = load i64, i64* %sv_2, align 8 %70 = load i64, i64* %sv_1, align 8 %71 = load i64, i64* %sv_0, align 8 %72 = call i64 @FUNC(i64 %2, i64 %53, i64 %71, i64 %70, i64 %69) br label LBL_18 LBL_18: %73 = inttoptr i64 %2 to i64* %74 = load i64, i64* %73, align 8 %75 = add i64 %74, %34 store i64 %75, i64* %73, align 8 store i64 %arg1, 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 i64 %34, { 3, 2, 1, 0 } uselistorder i64 %6, { 1, 2, 0, 3, 4 } uselistorder i64 %3, { 0, 2, 3, 4, 1, 5 } uselistorder i64 %2, { 3, 1, 2, 4, 5, 6, 0, 7, 8, 9, 10 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 10, 2, 3, 4, 1, 9, 8, 5, 6, 7 } uselistorder i64 -12, { 4, 1, 2, 3, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 6, 7, 5, 8, 2, 9, 10, 11, 4, 3, 0 } uselistorder label LBL_19, { 7, 8, 1, 2, 3, 0, 9, 10, 4, 5, 6 } uselistorder label LBL_18, { 1, 0 } }
1
BinRealVul
load_cpu_offset_1391
load_cpu_offset
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = call i64 @FUNC() %2 = load i64, i64* @gv_0, align 8 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 %2, i32 %0) ret i64 %3 }
0
BinRealVul
helper_divl_EAX_T0_1645
helper_divl_EAX_T0
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32, i32* bitcast (i128* @gv_0 to i32*), align 8 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 1) unreachable LBL_2: %4 = load i32, i32* @gv_1, align 4 %5 = zext i32 %4 to i64 %6 = mul i64 %5, 4294967296 %7 = load i32, i32* bitcast (i64* @gv_2 to i32*), align 8 %8 = zext i32 %7 to i64 %9 = or i64 %6, %8 %.rhs.trunc = zext i32 %0 to i64 %10 = udiv i64 %9, %.rhs.trunc %11 = icmp ult i64 %10, 4294967296 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 1) unreachable LBL_4: %13 = urem i64 %9, %.rhs.trunc %14 = trunc i64 %13 to i32 %15 = trunc i64 %10 to i32 store i32 %15, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 %14, i32* @gv_1, align 4 ret i64 %13 uselistorder i64 4294967296, { 1, 0 } uselistorder i64 (i64)* @raise_exception, { 1, 0 } }
0
BinRealVul
qemu_run_all_timers_664
qemu_run_all_timers
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32*, i32** @gv_0, align 8 store i32 0, i32* %0, align 4 %1 = load i32*, i32** @gv_0, align 8 %2 = ptrtoint i32* %1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* %4, align 4 %7 = load i32*, i32** @gv_0, align 8 %8 = ptrtoint i32* %7 to i64 %9 = call i64 @FUNC(i64 %8) br label LBL_2 LBL_2: %10 = load i32, i32* @gv_1, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = load i32, i32* @gv_2, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13) br label LBL_4 LBL_4: %15 = load i32, i32* @gv_3, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16) %18 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) ret i64 %20 uselistorder i64 (i64)* @qemu_run_timers, { 2, 1, 0 } }
0
BinRealVul
slice_thread_park_workers_1353
slice_thread_park_workers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, %6 %11 = icmp eq i32 %10, %3 %12 = icmp eq i1 %11, false %13 = add i64 %2, 64 br i1 %12, label LBL_2, label LBL_0.LBL_4_crit_edge LBL_1: %.pre = inttoptr i64 %13 to i64* store i64* %.pre, i64** %.pre-phi.reg2mem br label LBL_4 LBL_2: %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i64* %16 = inttoptr i64 %13 to i64* br label LBL_3 LBL_3: %17 = call i32 @pthread_cond_wait(i64* %15, i64* %16) %18 = load i32, i32* %5, align 4 %19 = load i32, i32* %8, align 4 %20 = add i32 %19, %18 %21 = icmp eq i32 %20, %3 %22 = icmp eq i1 %21, false store i64* %16, i64** %.pre-phi.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_4: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %23 = call i32 @pthread_mutex_unlock(i64* %.pre-phi.reload) %24 = sext i32 %23 to i64 ret i64 %24 uselistorder i64 %13, { 1, 0 } uselistorder i32* %8, { 1, 0 } uselistorder i32* %5, { 1, 0 } uselistorder i64 %2, { 2, 3, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
update_dimensions_3687
update_dimensions
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem25 = alloca i64 %.reg2mem23 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem21 = alloca i32* %.pre-phi14.reg2mem = alloca i64* %.pre-phi12.reg2mem = alloca i32* %.reg2mem = alloca i32 %.pre-phi18.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %sext4 = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext4, 32 %4 = trunc i64 %0 to i32 %5 = icmp eq i32 %4, %1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = trunc i64 %2 to i32 %8 = sdiv i32 %7, 1073741824 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %8, %11 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = trunc i64 %3 to i32 %15 = sdiv i32 %14, 1073741824 %16 = add i64 %0, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %15, %18 store i32 %14, i32* %.pre-phi18.reg2mem br i1 %19, label LBL_5, label LBL_3 LBL_3: %20 = add i64 %0, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_3.LBL_5_crit_edge LBL_4: %.pre17 = trunc i64 %3 to i32 store i32 %.pre17, i32* %.pre-phi18.reg2mem br label LBL_5 LBL_5: %.pre-phi18.reload = load i32, i32* %.pre-phi18.reg2mem %25 = add i64 %0, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, %.pre-phi18.reload store i32 %11, i32* %.reg2mem store i32* %10, i32** %.pre-phi12.reg2mem br i1 %28, label LBL_9, label LBL_6 LBL_6: %29 = call i64 @FUNC(i64 %0, i64 1) %30 = trunc i64 %3 to i32 %31 = and i64 %2, 4294967295 %32 = call i64 @FUNC(i64 %0, i64 %31, i32 %30) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_6.LBL_9_crit_edge, label LBL_8 LBL_7: %.pre10 = add i64 %0, 8 %.pre11 = inttoptr i64 %.pre10 to i32* %.pre20 = load i32, i32* %.pre11, align 4 store i32 %.pre20, i32* %.reg2mem store i32* %.pre11, i32** %.pre-phi12.reg2mem br label LBL_9 LBL_8: %36 = and i64 %32, 4294967295 store i64 %36, i64* %rax.0.reg2mem br label LBL_25 LBL_9: %.pre-phi12.reload = load i32*, i32** %.pre-phi12.reg2mem %.reload = load i32, i32* %.reg2mem %37 = sdiv i32 %.reload, 1073741824 store i32 %37, i32* %.pre-phi12.reload, align 4 %38 = add i64 %0, 12 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = sdiv i32 %40, 1073741824 store i32 %41, i32* %39, align 4 %42 = trunc i64 %arg4 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false %.pre15 = add i64 %0, 16 br i1 %44, label LBL_13, label LBL_10 LBL_10: %45 = inttoptr i64 %.pre15 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, 1 %48 = icmp eq i1 %47, false br i1 %48, label LBL_12, label LBL_11 LBL_11: %49 = add i64 %0, 20 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp slt i32 %51, 2 br i1 %52, label LBL_12, label LBL_13 LBL_12: %53 = add i64 %0, 64 %54 = inttoptr i64 %53 to i32* store i32 0, i32* %54, align 4 %55 = load i32, i32* %.pre-phi12.reload, align 4 %56 = load i32, i32* %39, align 4 %57 = mul i32 %56, 2 %58 = add i32 %55, 1 %59 = add i32 %58, %57 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 4 %62 = call i64 @FUNC(i64 %61) %63 = inttoptr i64 %.pre15 to i64* store i64 %62, i64* %63, align 8 %64 = load i32, i32* %.pre-phi12.reload, align 4 %65 = mul i32 %64, 4 %66 = sext i32 %65 to i64 %67 = call i64 @FUNC(i64 %66) %68 = add i64 %0, 32 %69 = inttoptr i64 %68 to i64* store i64 %67, i64* %69, align 8 store i64* %63, i64** %.pre-phi14.reg2mem store i32* %54, i32** %.reg2mem21 br label LBL_14 LBL_13: %70 = add i64 %0, 64 %71 = inttoptr i64 %70 to i32* store i32 1, i32* %71, align 4 %72 = load i32, i32* %.pre-phi12.reload, align 4 %73 = add i32 %72, 2 %74 = load i32, i32* %39, align 4 %75 = add i32 %74, 2 %76 = sext i32 %75 to i64 %77 = zext i32 %73 to i64 %78 = mul i64 %77, 4294967296 %sext7 = mul i64 %78, %76 %79 = ashr exact i64 %sext7, 30 %80 = call i64 @FUNC(i64 %79) %81 = inttoptr i64 %.pre15 to i64* store i64 %80, i64* %81, align 8 store i64* %81, i64** %.pre-phi14.reg2mem store i32* %71, i32** %.reg2mem21 br label LBL_14 LBL_14: %.reload22 = load i32*, i32** %.reg2mem21 %.pre-phi14.reload = load i64*, i64** %.pre-phi14.reg2mem %82 = load i32, i32* %.pre-phi12.reload, align 4 %83 = sext i32 %82 to i64 %84 = mul i64 %83, 4 %85 = call i64 @FUNC(i64 %84) %86 = add i64 %0, 40 %87 = inttoptr i64 %86 to i64* store i64 %85, i64* %87, align 8 %88 = load i32, i32* %.pre-phi12.reload, align 4 %89 = add i32 %88, 1 %90 = sext i32 %89 to i64 %91 = mul i64 %90, 4 %92 = call i64 @FUNC(i64 %91) %93 = add i64 %0, 48 %94 = inttoptr i64 %93 to i64* store i64 %92, i64* %94, align 8 %95 = call i64 @FUNC(i64 768) %96 = add i64 %0, 56 %97 = inttoptr i64 %96 to i64* store i64 %95, i64* %97, align 8 %98 = load i64, i64* %.pre-phi14.reload, align 8 %99 = icmp eq i64 %98, 0 br i1 %99, label LBL_19, label LBL_15 LBL_15: %100 = load i64, i64* %87, align 8 %101 = icmp eq i64 %100, 0 br i1 %101, label LBL_19, label LBL_16 LBL_16: %102 = load i64, i64* %94, align 8 %103 = icmp eq i64 %102, 0 %104 = icmp eq i64 %95, 0 %or.cond = or i1 %104, %103 br i1 %or.cond, label LBL_19, label LBL_17 LBL_17: %105 = add i64 %0, 32 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = icmp eq i64 %107, 0 %109 = icmp eq i1 %108, false br i1 %109, label LBL_20, label LBL_18 LBL_18: %110 = load i32, i32* %.reload22, align 4 %111 = icmp eq i32 %110, 0 %112 = icmp eq i1 %111, false br i1 %112, label LBL_20, label LBL_19 LBL_19: %113 = call i64 @FUNC(i64 %0) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_25 LBL_20: %114 = load i32, i32* %.pre-phi12.reload, align 4 %115 = sext i32 %114 to i64 %116 = mul i64 %115, 4 %117 = call i64 @FUNC(i64 %116) %118 = inttoptr i64 %95 to i64* store i64 %117, i64* %118, align 8 %119 = load i64, i64* %97, align 8 %120 = inttoptr i64 %119 to i64* %121 = load i64, i64* %120, align 8 %122 = icmp eq i64 %121, 0 %123 = icmp eq i1 %122, false store i64 0, i64* %indvars.iv.reg2mem store i64 %119, i64* %.reg2mem23 store i64 0, i64* %.reg2mem25 br i1 %123, label LBL_22, label LBL_21 LBL_21: %124 = call i64 @FUNC(i64 %0) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_25 LBL_22: %.reload26 = load i64, i64* %.reg2mem25 %.reload24 = load i64, i64* %.reg2mem23 %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %125 = add i64 %.reload24, 8 %126 = inttoptr i64 %125 to i64* %127 = call i32 @pthread_mutex_init(i64* %126, i64* null) %128 = load i64, i64* %97, align 8 %129 = add nuw nsw i64 %.reload26, 48 %130 = add i64 %129, %128 %131 = inttoptr i64 %130 to i64* %132 = call i32 @pthread_cond_init(i64* %131, i64* null) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %133 = icmp ult i64 %indvars.iv.next, 8 br i1 %133, label LBL_22.dec_label_pc_4014c2_crit_edge, label LBL_24 LBL_23: %.pre = load i64, i64* %97, align 8 %134 = load i32, i32* %.pre-phi12.reload, align 4 %135 = sext i32 %134 to i64 %136 = mul i64 %135, 4 %137 = mul nuw nsw i64 %indvars.iv.next, 96 %138 = add i64 %137, %.pre %139 = call i64 @FUNC(i64 %136) %140 = inttoptr i64 %138 to i64* store i64 %139, i64* %140, align 8 %141 = load i64, i64* %97, align 8 %142 = add i64 %141, %137 %143 = inttoptr i64 %142 to i64* %144 = load i64, i64* %143, align 8 %145 = icmp eq i64 %144, 0 %146 = icmp eq i1 %145, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %142, i64* %.reg2mem23 store i64 %137, i64* %.reg2mem25 br i1 %146, label LBL_22, label LBL_21 LBL_24: %147 = load i64, i64* %.pre-phi14.reload, align 8 %148 = add i64 %147, 1 %149 = add i64 %0, 24 %150 = inttoptr i64 %149 to i64* store i64 %148, i64* %150, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %97, { 3, 1, 2, 0, 4 } uselistorder i64 %.pre15, { 0, 2, 1 } uselistorder i32* %39, { 1, 2, 0, 3 } uselistorder i32* %.pre-phi12.reload, { 4, 7, 3, 2, 6, 5, 1, 0 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %0, { 14, 13, 15, 16, 17, 18, 19, 7, 12, 20, 11, 1, 0, 2, 4, 3, 5, 8, 10, 9, 6 } uselistorder i32* %.pre-phi18.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi12.reg2mem, { 0, 2, 1 } uselistorder i64** %.pre-phi14.reg2mem, { 0, 2, 1 } uselistorder i32** %.reg2mem21, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i64* %.reg2mem25, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64 (i64)* @av_mallocz, { 7, 0, 6, 5, 4, 3, 2, 1 } uselistorder i32 2, { 3, 1, 0, 2 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 1, { 3, 0, 2, 1 } uselistorder i64 8, { 0, 3, 1, 4, 2 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i64 32, { 2, 3, 0, 1 } uselistorder label LBL_25, { 1, 0, 2, 3 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
0
BinRealVul
redisAeAttach_13174
redisAeAttach
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 48 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64* @malloc(i32 32) %7 = ptrtoint i64* %6 to i64 store i64 %0, i64* %6, align 8 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* store i64 %5, i64* %9, align 8 %10 = bitcast i64* %rsi to i32* %11 = load i32, i32* %10, align 8 %12 = add i64 %7, 16 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = add i64 %7, 24 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %7, 20 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %0, 8 %19 = inttoptr i64 %18 to i64* store i64 4198710, i64* %19, align 8 %20 = add i64 %0, 16 %21 = inttoptr i64 %20 to i64* store i64 4198717, i64* %21, align 8 %22 = add i64 %0, 24 %23 = inttoptr i64 %22 to i64* store i64 4198724, i64* %23, align 8 %24 = add i64 %0, 32 %25 = inttoptr i64 %24 to i64* store i64 4198731, i64* %25, align 8 %26 = add i64 %0, 40 %27 = inttoptr i64 %26 to i64* store i64 4198738, i64* %27, align 8 store i64 %7, i64* %2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
avalon_parse_results_18831
avalon_parse_results
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rcx.1.ph.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %1 = load i64, i64* %0 %r8 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg5 to i64 store i64 %3, i64* %r8, align 8 %4 = ptrtoint i64* %arg4 to i64 %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = bitcast i64* %r8 to i32* %9 = trunc i64 %3 to i32 %10 = add i32 %9, -64 %11 = icmp slt i32 %10, 0 %12 = trunc i64 %2 to i32 store i32 0, i32* %storemerge6.reg2mem br i1 %11, label LBL_1, label LBL_2 LBL_1: %13 = zext i32 %10 to i64 store i64 %13, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %14 = sext i32 %storemerge6.reload to i64 %15 = add i64 %14, %4 %16 = call i64 @FUNC(i64 %7, i64 %15) %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_8, label LBL_3 LBL_3: store i64 %16, i64* %r8, align 8 %18 = call i64 @FUNC(i64 %5, i64 %7, i64 %6, i64 %15, i64 %16) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = add i64 %6, 16 %22 = call i64 @FUNC(i64 %21) %23 = add i32 %12, 1 %24 = zext i32 %23 to i64 %25 = bitcast i64* %arg2 to i32* store i32 %23, i32* %25, align 4 %26 = icmp eq i32 %12, 0 %27 = icmp eq i1 %26, false %28 = add i64 %6, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i32 %30, 1 store i32 %31, i32* %29, align 4 %32 = call i64 @FUNC(i64 %21) store i64 %24, i64* %rcx.1.ph.reg2mem br i1 %27, label LBL_11, label LBL_7 LBL_5: %33 = load i8, i8* inttoptr (i64 4210757 to i8*), align 1 %34 = icmp eq i8 %33, 0 store i64 %15, i64* %rcx.1.ph.reg2mem br i1 %34, label LBL_11, label LBL_6 LBL_6: %35 = add i64 %6, 16 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %6, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i32 %39, 1 store i32 %40, i32* %38, align 4 %41 = call i64 @FUNC(i64 %35) store i64 %15, i64* %rcx.1.ph.reg2mem br label LBL_11 LBL_7: %42 = call i64 @FUNC(i64 %7, i64 %6, i64 %15) store i64 %6, i64* %rcx.1.ph.reg2mem br label LBL_11 LBL_8: %43 = add i32 %storemerge6.reload, 1 %44 = icmp sgt i32 %43, %10 store i32 %43, i32* %storemerge6.reg2mem br i1 %44, label LBL_9, label LBL_2 LBL_9: %45 = zext i32 %10 to i64 %46 = icmp slt i32 %10, 64 store i64 %45, i64* %rax.0.reg2mem br i1 %46, label LBL_16, label LBL_10 LBL_10: %47 = call i64 @FUNC(i64 %6, i64 %5) store i32 %10, i32* %sv_0.0.reg2mem br label LBL_15 LBL_11: %48 = icmp eq i32 %storemerge6.reload, 0 store i32 64, i32* %sv_0.0.reg2mem br i1 %48, label LBL_15, label LBL_12 LBL_12: %49 = add i32 %storemerge6.reload, 64 %50 = icmp slt i32 %storemerge6.reload, 64 br i1 %50, label LBL_14, label LBL_13 LBL_13: %51 = call i64 @FUNC(i64 %6, i64 %5) store i32 %49, i32* %sv_0.0.reg2mem br label LBL_15 LBL_14: %rcx.1.ph.reload = load i64, i64* %rcx.1.ph.reg2mem %52 = zext i32 %storemerge6.reload to i64 %53 = load i64, i64* %r8, align 8 %54 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %52, i64 %rcx.1.ph.reload, i64 %53, i64 %1) store i32 %49, i32* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %55 = load i32, i32* %8, align 8 %56 = sub i32 %55, %sv_0.0.reload store i32 %56, i32* %arg5, align 4 %57 = sext i32 %sv_0.0.reload to i64 %58 = add i64 %57, %4 %59 = inttoptr i64 %58 to i64* %60 = call i64* @memmove(i64* %arg4, i64* %59, i32 %55) %61 = ptrtoint i64* %60 to i64 store i64 %61, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %49, { 1, 0 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %15, { 2, 1, 0, 3, 4 } uselistorder i32 %storemerge6.reload, { 4, 5, 3, 2, 0, 1 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %10, { 0, 3, 2, 5, 1, 4 } uselistorder i64 %6, { 8, 7, 0, 5, 4, 3, 1, 2, 6 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64* %r8, { 3, 0, 1, 2 } uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.1.ph.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @avalon_inc_nvw, { 1, 0 } uselistorder i32 64, { 1, 3, 0, 2 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i64 (i64)* @mutex_lock, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_16, { 2, 1, 0 } uselistorder label LBL_11, { 3, 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
table_regex_match_19148
table_regex_match
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = inttoptr i64 %arg2 to i8* %1 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false %4 = add i64 %arg2, 4 %spec.select = select i1 %3, i64 %arg2, i64 %4 %spec.select1 = select i1 %3, i32 9, i32 11 %5 = bitcast i64* %sv_0 to %re_pattern_buffer* %6 = inttoptr i64 %spec.select to i8* %7 = call i32 @regcomp(%re_pattern_buffer* nonnull %5, i8* %6, i32 %spec.select1) %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = inttoptr i64 %arg1 to i8* %10 = call i32 @regexec(%re_pattern_buffer* nonnull %5, i8* %9, i32 0, [1 x %_TYPEDEF_regmatch_t] [%_TYPEDEF_regmatch_t { i32 0, i32 undef }], i32 0) %11 = icmp eq i32 %10, 0 %. = zext i1 %11 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 1, 0 } }
1
BinRealVul
do_info_snapshots_843
do_info_snapshots
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rdx.14.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %6 = call i64 @FUNC() %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 %9, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %10 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 ptrtoint (i64* @gv_2 to i64), i64* %storemerge15.reg2mem br label LBL_3 LBL_3: %rdx.14.reload = load i64, i64* %rdx.14.reg2mem %storemerge15.reload = load i64, i64* %storemerge15.reg2mem %11 = inttoptr i64 %storemerge15.reload to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i64 %6, %12 %17 = icmp eq i1 %16, false %or.cond = or i1 %17, %15 store i64 %rdx.14.reload, i64* %rdx.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %12) %19 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %4, i64 %2, i64 %1) store i64 %18, i64* %rdx.0.reg2mem br label LBL_5 LBL_5: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %20 = add i64 %storemerge15.reload, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 %22, i64* %storemerge15.reg2mem store i64 %rdx.0.reload, i64* %rdx.14.reg2mem br i1 %24, label LBL_3, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) %26 = call i64 @FUNC(i64 %6, i64* nonnull %sv_1) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = and i64 %26, 4294967295 %31 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %30, i64 %4, i64 %2, i64 %1) store i64 %31, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %32 = call i64 @FUNC(i64 %6) %33 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %32, i64 %4, i64 %2, i64 %1) %34 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i64 0) %35 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 %34, i64 %4, i64 %2, i64 %1) %36 = icmp sgt i32 %27, 0 %37 = load i64, i64* %sv_1, align 8 store i64 %37, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem store i64 %37, i64* %.lcssa.reg2mem br i1 %36, label LBL_9, label LBL_10 LBL_9: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %38 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i64 %.reload) %39 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 %38, i64 %4, i64 %2, i64 %1) %40 = add nuw nsw i32 %storemerge3.reload, 1 %41 = load i64, i64* %sv_1, align 8 %exitcond = icmp eq i32 %40, %27 store i64 %41, i64* %.reg2mem store i32 %40, i32* %storemerge3.reg2mem store i64 %41, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %42 = call i64 @FUNC(i64 %.lcssa.reload) store i64 %42, 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 %12, { 1, 0, 2 } uselistorder i64 %6, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 2, 0, 1 } uselistorder i64 %5, { 1, 3, 2, 0, 4, 5, 6, 7 } uselistorder i64 %4, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i64* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.14.reg2mem, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64, i64)* @bdrv_snapshot_dump, { 1, 0 } uselistorder i64 (i64)* @bdrv_get_device_name, { 1, 0 } uselistorder i32 0, { 0, 1, 3, 2 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 7, 6, 5, 3, 2, 4, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
prealloc_elems_and_freelist_5835
prealloc_elems_and_freelist
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 12 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, %0 %9 = zext i32 %3 to i64 %10 = call i64 @FUNC(i64 %8, i64 %9) %11 = add i64 %0, 16 %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 store i64 4294967284, i64* %rax.0.reg2mem br i1 %14, label LBL_1, label LBL_4 LBL_1: %15 = add i64 %0, 24 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = load i32, i32* %5, align 4 %21 = load i64, i64* %12, align 8 %22 = call i64 @FUNC(i64 %15, i64 %21, i64 %0, i32 %20) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %23 = load i64, i64* %12, align 8 %24 = call i64 @FUNC(i64 %23) %25 = and i64 %16, 4294967295 store i64 %25, 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* %12, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 3, 0, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
qemu_register_machine_15710
qemu_register_machine
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %3, i64 %2, i64 %1) store i64 %5, i64* %sv_0, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 0 uselistorder i64* %0, { 2, 1, 0 } }
1
BinRealVul
vhost_log_put_15939
vhost_log_put
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_9, label LBL_1 LBL_1: store i64 0, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = bitcast i64* %rdi to i32* %5 = load i32, i32* %4, align 8 %6 = add i32 %5, -1 %7 = bitcast i64* %arg1 to i32* store i32 %6, i32* %7, align 4 %8 = zext i32 %5 to i64 %9 = icmp eq i32 %5, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_9, label LBL_2 LBL_2: %11 = load i64, i64* %3, align 8 %12 = icmp eq i64 %11, 0 %13 = trunc i64 %arg2 to i8 %14 = icmp eq i8 %13, 0 %or.cond = or i1 %14, %12 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %15 = mul i64 %11, 4096 %16 = add i64 %15, -1 %17 = call i64 @FUNC(i64 %0, i64 0, i64 %16) br label LBL_4 LBL_4: %18 = load i64, i64* @gv_0, align 8 %19 = icmp eq i64 %18, %0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = load i64, i64* %3, align 8 %22 = call i64 @FUNC(i64 %21) store i64 0, i64* @gv_0, align 8 br label LBL_8 LBL_6: %23 = load i64, i64* @gv_1, align 8 %24 = icmp eq i64 %23, %0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = add i64 %0, 24 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %0, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = load i64, i64* %3, align 8 %33 = call i64 @FUNC(i64 %32, i64 %31, i32 %28) store i64 0, i64* @gv_1, align 8 br label LBL_8 LBL_8: %34 = call i64 @FUNC(i64 %0) store i64 %34, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %5, { 1, 0, 2 } uselistorder i64* %3, { 1, 0, 2, 3 } uselistorder i64 %0, { 3, 4, 5, 1, 2, 6, 7, 0 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0 } }
1
BinRealVul
init_12227
init
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = call i32 @pthread_mutex_init(i64* nonnull @gv_0, i64* null) %1 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) store i64 %1, i64* @gv_2, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %5 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) store i64 %5, i64* @gv_2, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %9 = call i64 @FUNC() store i64 %9, i64* @gv_2, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) br label LBL_9 LBL_4: %.reload = load i64, i64* %.reg2mem %13 = call i64 @FUNC(i64 %.reload, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i32 @unlink(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) br label LBL_6 LBL_6: %17 = call i64 @FUNC() store i64 %17, i64* @gv_8, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) br label LBL_9 LBL_8: %21 = call i64 @FUNC(i64 0) store i64 %21, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %22 = load i64, i64* @gv_8, align 8 %23 = call i64 @FUNC(i64 %22) %24 = load i64, i64* @gv_2, align 8 %25 = call i64 @FUNC(i64 %24) %26 = call i32 @pthread_mutex_destroy(i64* nonnull @gv_0) store i64 0, i64* @gv_8, align 8 store i64 0, i64* @gv_2, align 8 %27 = call i64 @FUNC(i64 1) store i64 %27, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @future_new_immediate, { 1, 0 } uselistorder i32 1, { 1, 0 } }
1
BinRealVul
ff_h264_remove_all_refs_1814
ff_h264_remove_all_refs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i64 0) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_10, label LBL_5 LBL_5: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5.LBL_8_crit_edge, label LBL_7 LBL_6: %.pre5 = add i64 %2, 16 %.pre6 = inttoptr i64 %.pre5 to i64* store i64* %.pre6, i64** %.pre-phi7.reg2mem br label LBL_8 LBL_7: %17 = call i64 @FUNC(i64 %2, i64 %10) %18 = add i64 %2, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %2, i64 %10, i64 %22) %.pre = load i32, i32* %7, align 4 %24 = icmp eq i32 %.pre, 0 store i64* %19, i64** %.pre-phi7.reg2mem br i1 %24, label LBL_10, label LBL_8 LBL_8: %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_9 LBL_9: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %25 = load i64, i64* %.pre-phi7.reload, align 8 %26 = mul i64 %.reload, 8 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %2, i64 %29, i64 0) %31 = load i64, i64* %.pre-phi7.reload, align 8 %32 = add i64 %31, %26 %33 = inttoptr i64 %32 to i64* store i64 0, i64* %33, align 8 %34 = add i32 %storemerge2.reload, 1 %35 = load i32, i32* %7, align 4 %36 = zext i32 %35 to i64 %37 = sext i32 %34 to i64 %38 = icmp slt i64 %37, %36 store i64 %37, i64* %.reg2mem store i32 %34, i32* %storemerge2.reg2mem br i1 %38, label LBL_9, label LBL_10 LBL_10: store i32 0, i32* %7, align 4 %39 = add i64 %2, 24 %40 = inttoptr i64 %39 to i64* %41 = call i64* @memset(i64* %40, i32 0, i32 128) %42 = ptrtoint i64* %41 to i64 ret i64 %42 uselistorder i64 %26, { 1, 0 } uselistorder i32* %7, { 2, 1, 0, 3 } uselistorder i64 %2, { 2, 3, 1, 6, 7, 0, 5, 4, 8 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 1, 4, 5 } uselistorder i64 16, { 2, 0, 1 } uselistorder label LBL_10, { 0, 2, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
GENERAL_NAME_set0_value_13256
GENERAL_NAME_set0_value
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = and i64 %1, 4294967295 store i64 %2, i64* @0, align 8 %trunc = trunc i64 %1 to i32 switch i32 %trunc, label LBL_7 [ i32 1, label LBL_1 i32 2, label LBL_1 i32 3, label LBL_2 i32 4, label LBL_3 i32 5, label LBL_3 i32 6, label LBL_3 i32 7, label LBL_4 i32 8, label LBL_5 i32 9, label LBL_6 ] LBL_1: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %arg3, i64* %4, align 8 br label LBL_7 LBL_2: %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* store i64 %arg3, i64* %6, align 8 br label LBL_7 LBL_3: %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* store i64 %arg3, i64* %8, align 8 br label LBL_7 LBL_4: %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i64* store i64 %arg3, i64* %10, align 8 br label LBL_7 LBL_5: %11 = add i64 %0, 40 %12 = inttoptr i64 %11 to i64* store i64 %arg3, i64* %12, align 8 br label LBL_7 LBL_6: %13 = add i64 %0, 48 %14 = inttoptr i64 %13 to i64* store i64 %arg3, i64* %14, align 8 br label LBL_7 LBL_7: %15 = bitcast i64* %arg1 to i32* store i32 %trunc, i32* %15, align 4 ret i64 %0 uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 %arg3, { 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
helper_single_step_18679
helper_single_step
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = add i64 %0, 48 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = or i64 %4, 1 store i64 %5, i64* %3, align 8 %6 = call i64 @FUNC(i64 %0, i64 1) ret i64 %6 uselistorder i64 1, { 0, 2, 1 } }
1
BinRealVul
mxf_read_primer_pack_15396
mxf_read_primer_pack
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 24 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %9) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 18 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = load i64, i64* %6, align 8 %15 = call i64 @FUNC(i64 %14, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %16 = and i64 %11, 4294967295 %17 = and i64 %10, 4294967295 %18 = mul nuw i64 %16, %17 %19 = icmp ugt i64 %18, 4294967295 %20 = icmp eq i1 %19, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_5 LBL_3: %21 = trunc i64 %10 to i32 %22 = add i64 %4, 8 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = mul i64 %10, 4294967296 %sext = mul i64 %24, %11 %25 = ashr exact i64 %sext, 32 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %4, 16 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 %29 = icmp eq i64 %26, 0 %30 = icmp eq i1 %29, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %30, label LBL_4, label LBL_5 LBL_4: %31 = call i64 @FUNC(i64 %9, i64 %26, i64 %25) 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 %26, { 1, 0, 2 } uselistorder i64 %10, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967295, { 0, 1, 5, 3, 4, 2 } uselistorder i64 (i64)* @get_be32, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1, 3 } }
1
BinRealVul
bdrv_qed_check_16241
bdrv_qed_check
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: ret i64 4294967201 }
1
BinRealVul
runstate_init_1077
runstate_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i32* %.reg2mem = alloca i32 %0 = call i64* @memset(i64* nonnull @gv_0, i32 0, i32 100) %1 = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8 %2 = icmp eq i32 %1, 10 %3 = icmp eq i1 %2, false store i32 %1, i32* %.reg2mem store i32* bitcast (i32** @gv_1 to i32*), i32** %storemerge2.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %storemerge2.reload = load i32*, i32** %storemerge2.reg2mem %.reload = load i32, i32* %.reg2mem %4 = ptrtoint i32* %storemerge2.reload to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sext i32 %7 to i64 %9 = sext i32 %.reload to i64 %10 = mul nsw i64 %9, 10 %11 = add i64 %10, ptrtoint (i64* @gv_0 to i64) %12 = add i64 %11, %8 %13 = inttoptr i64 %12 to i8* store i8 1, i8* %13, align 1 %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 10 %18 = icmp eq i1 %17, false store i32 %16, i32* %.reg2mem store i32* %15, i32** %storemerge2.reg2mem br i1 %18, label LBL_1, label LBL_2 LBL_2: %19 = call i64 @FUNC(i64* nonnull @gv_2) ret i64 %19 uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32** %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 10, { 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
visit_type_bool_3051
visit_type_bool
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 ret i64 %0 }
0
BinRealVul
get_num_images_17740
get_num_images
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %0 = inttoptr i64 %arg1 to i8* %1 = call %__dirstream* @opendir(i8* %0) %2 = icmp eq %__dirstream* %1, null %3 = icmp eq i1 %2, false store i32 0, i32* %sv_0.0.ph.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %0) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %6 = ptrtoint %dirent* %15 to i64 %7 = add i64 %6, 19 %8 = inttoptr i64 %7 to i8* %9 = call i32 @strcmp(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), i8* %8) %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* %8) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = zext i1 %13 to i32 %spec.select = add i32 %sv_0.0.ph.reload, %14 store i32 %spec.select, i32* %sv_0.0.ph.reg2mem br label LBL_4 LBL_4: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem br label LBL_5 LBL_5: %15 = call %dirent* @readdir(%__dirstream* %1) %16 = icmp eq %dirent* %15, null %17 = icmp eq i1 %16, false br i1 %17, label LBL_2, label LBL_6 LBL_6: %18 = zext i32 %sv_0.0.ph.reload to i64 store i64 %18, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.ph.reload, { 1, 0 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
unserialize_uep_19109
unserialize_uep
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64* @malloc(i32 32) %1 = icmp eq i64* %0, null %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_11 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = bitcast i64* %0 to i32* %5 = ptrtoint i64* %0 to i64 %6 = call i64 @FUNC(i64 %5, i64 0, i64 32) store i32 305419896, i32* %4, align 4 %7 = call i64 @FUNC(i64 %3) %8 = trunc i64 %7 to i32 %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = call i64 @FUNC(i64 %3) %12 = trunc i64 %11 to i32 %13 = add i64 %5, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = call i64 @FUNC(i64 %3) %16 = trunc i64 %15 to i32 %17 = add i64 %5, 12 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = call i64 @FUNC(i64 %3) %20 = trunc i64 %19 to i32 %21 = add i64 %5, 16 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = icmp slt i32 %20, 1 store i64 0, i64* %sv_0.0.reg2mem br i1 %23, label LBL_5, label LBL_2 LBL_2: %24 = mul i32 %20, 8 %25 = call i64* @malloc(i32 %24) %26 = icmp eq i64* %25, null %27 = icmp eq i1 %26, false br i1 %27, label LBL_4, label LBL_3 LBL_3: store i32 1, i32* %arg2, align 4 store i64 %5, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %28 = ptrtoint i64* %25 to i64 %29 = load i32, i32* %22, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = call i64 @FUNC(i64 %28, i64 0, i64 %31) store i64 %28, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %33 = add i64 %5, 24 %34 = inttoptr i64 %33 to i64* store i64 %sv_0.0.reload, i64* %34, align 8 %35 = load i32, i32* %22, align 4 %36 = icmp eq i32 %35, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem store i64 %5, i64* %rax.0.reg2mem br i1 %36, label LBL_11, label LBL_6 LBL_6: %37 = call i64 @FUNC(i64 %3) %38 = trunc i64 %37 to i32 %39 = icmp slt i32 %38, 0 br i1 %39, label LBL_7, label LBL_8 LBL_7: %40 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %arg3) br label LBL_9 LBL_8: %41 = and i64 %37, 4294967295 %42 = call i64 @FUNC(i64 %3, i64 %41) %43 = icmp eq i64 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_10, label LBL_9 LBL_9: store i32 1, i32* %arg2, align 4 store i64 %5, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %45 = mul i64 %.reload, 8 %46 = add i64 %45, %sv_0.0.reload %47 = inttoptr i64 %46 to i64* store i64 %42, i64* %47, align 8 %48 = add i32 %storemerge3.reload, 1 %49 = load i32, i32* %22, align 4 %50 = zext i32 %49 to i64 %51 = sext i32 %48 to i64 %52 = icmp slt i64 %51, %50 store i64 %51, i64* %.reg2mem store i32 %48, i32* %storemerge3.reg2mem store i64 %5, i64* %rax.0.reg2mem br i1 %52, label LBL_6, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %42, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64* %25, { 1, 0 } uselistorder i32* %22, { 2, 0, 1, 3 } uselistorder i64 %5, { 0, 3, 1, 4, 2, 5, 6, 7, 9, 8 } uselistorder i64* %0, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 4, 3 } uselistorder i64 (i64)* @undo_read_4c, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @vim_memset, { 1, 0 } uselistorder i64* (i32)* @malloc, { 2, 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_11, { 0, 3, 1, 4, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
b64decode_5626
b64decode
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.in.reg2mem = alloca i64 %sv_0.1.pre-phi.reg2mem = alloca i8* %sv_1.6.reg2mem = alloca i64 %sv_0.0.ph.in.reg2mem = alloca i64 %sv_1.6.ph.reg2mem = alloca i64 %sv_1.5.reg2mem = alloca i64 %sv_1.4.reg2mem = alloca i64 %sv_1.3.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %arg1) %2 = trunc i64 %1 to i32 %3 = sdiv i32 %2, 8 %4 = mul nsw i32 %3, 3 %5 = ashr i32 %2, 31 %6 = udiv i32 %5, 1073741824 %7 = add i32 %6, %2 %8 = urem i32 %7, 4 %9 = sub nsw i32 1, %6 %10 = add nsw i32 %9, %8 %11 = add i32 %10, %4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) store i64 %13, i64* %arg2, align 8 store i64 %arg1, i64* %sv_1.6.ph.reg2mem store i64 %13, i64* %sv_0.0.ph.in.reg2mem br label LBL_24 LBL_1: %14 = add i64 %sv_1.6.reload, 1 %15 = call i16** @__ctype_b_loc() %16 = load i16*, i16** %15, align 8 %17 = ptrtoint i16* %16 to i64 %18 = zext i8 %161 to i64 %19 = mul i64 %18, 2 %20 = add i64 %19, %17 %21 = inttoptr i64 %20 to i16* %22 = load i16, i16* %21, align 2 %23 = and i16 %22, 8192 %24 = icmp eq i16 %23, 0 store i64 %14, i64* %sv_1.6.reg2mem br i1 %24, label LBL_2, label LBL_25 LBL_2: %25 = icmp slt i8 %161, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_27, label LBL_3 LBL_3: %26 = mul i64 %18, 4 %27 = add i64 %26, ptrtoint (i32** @gv_0 to i64) %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 255 %31 = icmp eq i1 %30, false store i64 %14, i64* %sv_1.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_4, label LBL_27 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %32 = call i16** @__ctype_b_loc() %33 = load i16*, i16** %32, align 8 %34 = ptrtoint i16* %33 to i64 %35 = add i64 %sv_1.0.reload, 1 %36 = inttoptr i64 %sv_1.0.reload to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i64 %39 = mul i64 %38, 2 %40 = add i64 %39, %34 %41 = inttoptr i64 %40 to i16* %42 = load i16, i16* %41, align 2 %43 = and i16 %42, 8192 %44 = icmp eq i16 %43, 0 %45 = icmp eq i1 %44, false store i64 %35, i64* %sv_1.0.reg2mem br i1 %45, label LBL_4, label LBL_5 LBL_5: %46 = icmp eq i8 %37, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %46, label LBL_27, label LBL_6 LBL_6: %47 = mul i64 %38, 4 %48 = add i64 %47, ptrtoint (i32** @gv_0 to i64) %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 255 %52 = icmp eq i1 %51, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %52, label LBL_7, label LBL_27 LBL_7: %53 = mul i32 %29, 4 %54 = udiv i32 %50, 16 %55 = or i32 %54, %53 %56 = trunc i32 %55 to i8 store i8 %56, i8* %sv_0.0.ph, align 1 store i64 %35, i64* %sv_1.1.reg2mem br label LBL_8 LBL_8: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %57 = call i16** @__ctype_b_loc() %58 = load i16*, i16** %57, align 8 %59 = ptrtoint i16* %58 to i64 %60 = add i64 %sv_1.1.reload, 1 %61 = inttoptr i64 %sv_1.1.reload to i8* %62 = load i8, i8* %61, align 1 %63 = zext i8 %62 to i64 %64 = mul i64 %63, 2 %65 = add i64 %64, %59 %66 = inttoptr i64 %65 to i16* %67 = load i16, i16* %66, align 2 %68 = and i16 %67, 8192 %69 = icmp eq i16 %68, 0 %70 = icmp eq i1 %69, false store i64 %60, i64* %sv_1.1.reg2mem br i1 %70, label LBL_8, label LBL_9 LBL_9: %71 = add i64 %sv_0.0.ph.in.reload, 1 %72 = inttoptr i64 %71 to i8* %73 = icmp eq i8 %62, 61 %74 = icmp eq i1 %73, false store i64 %60, i64* %sv_1.2.reg2mem br i1 %74, label LBL_14, label LBL_10 LBL_10: %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %75 = call i16** @__ctype_b_loc() %76 = load i16*, i16** %75, align 8 %77 = ptrtoint i16* %76 to i64 %78 = add i64 %sv_1.2.reload, 1 %79 = inttoptr i64 %sv_1.2.reload to i8* %80 = load i8, i8* %79, align 1 %81 = zext i8 %80 to i64 %82 = mul i64 %81, 2 %83 = add i64 %82, %77 %84 = inttoptr i64 %83 to i16* %85 = load i16, i16* %84, align 2 %86 = and i16 %85, 8192 %87 = icmp eq i16 %86, 0 %88 = icmp eq i1 %87, false store i64 %78, i64* %sv_1.2.reg2mem br i1 %88, label LBL_10, label LBL_11 LBL_11: %89 = icmp eq i8 %80, 61 store i64 %78, i64* %sv_1.3.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %89, label LBL_12, label LBL_27 LBL_12: %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem %90 = call i16** @__ctype_b_loc() %91 = load i16*, i16** %90, align 8 %92 = ptrtoint i16* %91 to i64 %93 = add i64 %sv_1.3.reload, 1 %94 = inttoptr i64 %sv_1.3.reload to i8* %95 = load i8, i8* %94, align 1 %96 = zext i8 %95 to i64 %97 = mul i64 %96, 2 %98 = add i64 %97, %92 %99 = inttoptr i64 %98 to i16* %100 = load i16, i16* %99, align 2 %101 = and i16 %100, 8192 %102 = icmp eq i16 %101, 0 %103 = icmp eq i1 %102, false store i64 %93, i64* %sv_1.3.reg2mem br i1 %103, label LBL_12, label LBL_13 LBL_13: %104 = icmp eq i8 %95, 0 store i8* %72, i8** %sv_0.1.pre-phi.reg2mem store i64 %71, i64* %sv_0.1.in.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %104, label LBL_26, label LBL_27 LBL_14: %105 = icmp slt i8 %62, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %105, label LBL_27, label LBL_15 LBL_15: %106 = mul i64 %63, 4 %107 = add i64 %106, ptrtoint (i32** @gv_0 to i64) %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = icmp eq i32 %109, 255 %111 = icmp eq i1 %110, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %111, label LBL_16, label LBL_27 LBL_16: %112 = mul i32 %50, 16 %113 = udiv i32 %109, 4 %114 = or i32 %113, %112 %115 = trunc i32 %114 to i8 store i8 %115, i8* %72, align 1 store i64 %60, i64* %sv_1.4.reg2mem br label LBL_17 LBL_17: %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem %116 = call i16** @__ctype_b_loc() %117 = load i16*, i16** %116, align 8 %118 = ptrtoint i16* %117 to i64 %119 = add i64 %sv_1.4.reload, 1 %120 = inttoptr i64 %sv_1.4.reload to i8* %121 = load i8, i8* %120, align 1 %122 = zext i8 %121 to i64 %123 = mul i64 %122, 2 %124 = add i64 %123, %118 %125 = inttoptr i64 %124 to i16* %126 = load i16, i16* %125, align 2 %127 = and i16 %126, 8192 %128 = icmp eq i16 %127, 0 %129 = icmp eq i1 %128, false store i64 %119, i64* %sv_1.4.reg2mem br i1 %129, label LBL_17, label LBL_18 LBL_18: %130 = add i64 %sv_0.0.ph.in.reload, 2 %131 = inttoptr i64 %130 to i8* %132 = icmp eq i8 %121, 61 %133 = icmp eq i1 %132, false store i64 %119, i64* %sv_1.5.reg2mem br i1 %133, label LBL_21, label LBL_19 LBL_19: %sv_1.5.reload = load i64, i64* %sv_1.5.reg2mem %134 = call i16** @__ctype_b_loc() %135 = load i16*, i16** %134, align 8 %136 = ptrtoint i16* %135 to i64 %137 = add i64 %sv_1.5.reload, 1 %138 = inttoptr i64 %sv_1.5.reload to i8* %139 = load i8, i8* %138, align 1 %140 = zext i8 %139 to i64 %141 = mul i64 %140, 2 %142 = add i64 %141, %136 %143 = inttoptr i64 %142 to i16* %144 = load i16, i16* %143, align 2 %145 = and i16 %144, 8192 %146 = icmp eq i16 %145, 0 %147 = icmp eq i1 %146, false store i64 %137, i64* %sv_1.5.reg2mem br i1 %147, label LBL_19, label LBL_20 LBL_20: %148 = icmp eq i8 %139, 0 store i8* %131, i8** %sv_0.1.pre-phi.reg2mem store i64 %130, i64* %sv_0.1.in.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %148, label LBL_26, label LBL_27 LBL_21: %149 = icmp slt i8 %121, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %149, label LBL_27, label LBL_22 LBL_22: %150 = mul i64 %122, 4 %151 = add i64 %150, ptrtoint (i32** @gv_0 to i64) %152 = inttoptr i64 %151 to i32* %153 = load i32, i32* %152, align 4 %154 = icmp eq i32 %153, 255 %155 = icmp eq i1 %154, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %155, label LBL_23, label LBL_27 LBL_23: %156 = mul i32 %109, 64 %157 = or i32 %153, %156 %158 = add i64 %sv_0.0.ph.in.reload, 3 %159 = trunc i32 %157 to i8 store i8 %159, i8* %131, align 1 store i64 %119, i64* %sv_1.6.ph.reg2mem store i64 %158, i64* %sv_0.0.ph.in.reg2mem br label LBL_24 LBL_24: %sv_0.0.ph.in.reload = load i64, i64* %sv_0.0.ph.in.reg2mem %sv_1.6.ph.reload = load i64, i64* %sv_1.6.ph.reg2mem %sv_0.0.ph = inttoptr i64 %sv_0.0.ph.in.reload to i8* store i64 %sv_1.6.ph.reload, i64* %sv_1.6.reg2mem br label LBL_25 LBL_25: %sv_1.6.reload = load i64, i64* %sv_1.6.reg2mem %160 = inttoptr i64 %sv_1.6.reload to i8* %161 = load i8, i8* %160, align 1 %162 = icmp eq i8 %161, 0 %163 = icmp eq i1 %162, false store i8* %sv_0.0.ph, i8** %sv_0.1.pre-phi.reg2mem store i64 %sv_0.0.ph.in.reload, i64* %sv_0.1.in.reg2mem br i1 %163, label LBL_1, label LBL_26 LBL_26: %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem %sv_0.1.pre-phi.reload = load i8*, i8** %sv_0.1.pre-phi.reg2mem store i8 0, i8* %sv_0.1.pre-phi.reload, align 1 %164 = sub i64 %sv_0.1.in.reload, %0 store i64 %164, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %161, { 2, 1, 0 } uselistorder i64 %sv_1.6.reload, { 1, 0 } uselistorder i64 %sv_1.5.reload, { 1, 0 } uselistorder i8* %131, { 1, 0 } uselistorder i64 %sv_1.4.reload, { 1, 0 } uselistorder i64 %sv_1.3.reload, { 1, 0 } uselistorder i64 %sv_1.2.reload, { 1, 0 } uselistorder i8* %72, { 1, 0 } uselistorder i64 %sv_1.1.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i32 %2, { 1, 2, 0 } uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.1.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.2.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.3.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.4.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.5.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.6.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph.in.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.1.pre-phi.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %sv_0.1.in.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 12, 2, 1, 9, 4, 3, 10, 11, 6, 5, 8, 7 } uselistorder i1 false, { 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13 } uselistorder i8 0, { 7, 6, 0, 1, 2, 3, 4, 5, 8 } uselistorder i64 2, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder i16** ()* @__ctype_b_loc, { 5, 6, 0, 1, 2, 3, 4 } uselistorder i64 1, { 0, 1, 2, 3, 5, 4, 6, 7 } uselistorder i32 4, { 1, 0, 2 } uselistorder label LBL_27, { 11, 1, 0, 8, 3, 2, 9, 10, 5, 4, 7, 6 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
delete_cpuset_7618
delete_cpuset
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 47 %4 = icmp eq i1 %3, false %5 = bitcast i64* %sv_0 to i8* %6 = inttoptr i64 %arg1 to i8* br i1 %4, label LBL_2, label LBL_1 LBL_1: %7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 4097, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* %6) br label LBL_3 LBL_2: %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 4097, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* %6) br label LBL_3 LBL_3: %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 5) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_3 to i8*), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_0) %14 = call i64 @FUNC(i64 1, i64 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i64* bitcast (i8** @gv_3 to i64*)) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_5: %15 = call i32* @__errno_location() %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 2 store i64 4294967295, i64* %storemerge.reg2mem br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_3 to i8*), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_0) %19 = call i32* @__errno_location() %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i64* bitcast (i8** @gv_3 to i64*)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %6, { 1, 0 } uselistorder i8* %5, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } }
1
BinRealVul
get_diff_limited_q_16902
get_diff_limited_q
define i128 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %sv_0.1.off0.reg2mem = alloca i64 %.pre-phi16.reg2mem = alloca i64* %sv_0.08.reg2mem = alloca i128 %extract.t9.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i128 %.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i128 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i128 %4) %7 = sext i64 %6 to i128 %8 = add i64 %5, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = trunc i64 %2 to i32 %12 = call i128 @__asm_movsd.1(i64 %5) %13 = call i64 @FUNC(i128 %12) %14 = add i64 %5, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 8 %19 = add i64 %18, %5 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i128 @__asm_movsd.1(i64 %21) %23 = call i64 @FUNC(i128 %22) %24 = icmp eq i32 %11, 1 %25 = icmp eq i1 %24, false br i1 %25, label LBL_4, label LBL_1 LBL_1: %26 = inttoptr i64 %10 to i64* %27 = load i64, i64* %26, align 8 %28 = call i128 @__asm_movsd.1(i64 %27) %29 = call i128 @FUNC(i128 %3, i128 %3) call void @FUNC(i128 %28, i128 %29) %30 = icmp ult i32 %11, 2 br i1 %30, label LBL_2, label LBL_3 LBL_2: %31 = load i32, i32* %15, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i32 %31, i32* %.reg2mem store i128 %7, i128* %sv_0.0.reg2mem br i1 %33, label LBL_8, label LBL_3 LBL_3: %34 = load i64, i64* %26, align 8 %35 = call i128 @FUNC(i64 %34) %36 = call i128 @FUNC() %37 = call i64 @__asm_movq.2(i128 %36) %38 = call i128 @FUNC(i64 %37) %39 = call i128 @FUNC(i128 %38, i64 %13) %40 = add i64 %10, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i128 @__asm_movsd.1(i64 %42) %44 = call i128 @FUNC(i128 %43, i128 %39) %45 = call i64 @FUNC(i128 %44) %46 = sext i64 %45 to i128 %.pre = load i32, i32* %15, align 4 store i32 %.pre, i32* %.reg2mem store i128 %46, i128* %sv_0.0.reg2mem br label LBL_8 LBL_4: %47 = icmp eq i32 %11, 2 %48 = icmp eq i1 %47, false store i128 %7, i128* %sv_0.0.ph.reg2mem br i1 %48, label LBL_7, label LBL_5 LBL_5: %49 = add i64 %10, 16 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i128 @__asm_movsd.1(i64 %51) %53 = call i128 @FUNC(i128 %3, i128 %3) call void @FUNC(i128 %52, i128 %53) %54 = icmp ult i32 %11, 3 store i128 %7, i128* %sv_0.0.ph.reg2mem br i1 %54, label LBL_7, label LBL_6 LBL_6: %55 = load i64, i64* %50, align 8 %56 = call i128 @__asm_movsd.1(i64 %55) %57 = call i128 @FUNC(i128 %56) %58 = call i128 @FUNC(i128 %57, i64 %23) %59 = add i64 %10, 24 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = call i128 @__asm_movsd.1(i64 %61) %63 = call i128 @FUNC(i128 %62, i128 %58) %64 = call i64 @FUNC(i128 %63) %65 = sext i64 %64 to i128 store i128 %65, i128* %sv_0.0.ph.reg2mem br label LBL_7 LBL_7: %sv_0.0.ph.reload = load i128, i128* %sv_0.0.ph.reg2mem %extract.t7 = trunc i128 %sv_0.0.ph.reload to i64 store i64 %extract.t7, i64* %extract.t9.reg2mem store i128 %sv_0.0.ph.reload, i128* %sv_0.08.reg2mem br label LBL_10 LBL_8: %sv_0.0.reload = load i128, i128* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %66 = icmp ne i32 %.reload, %11 %or.cond = icmp eq i1 %24, %66 %extract.t = trunc i128 %sv_0.0.reload to i64 store i64 %extract.t, i64* %extract.t9.reg2mem store i128 %sv_0.0.reload, i128* %sv_0.08.reg2mem br i1 %or.cond, label LBL_8.LBL_13_crit_edge, label LBL_10 LBL_9: %sext17 = mul i64 %2, 4294967296 %.pre11 = ashr exact i64 %sext17, 29 %.pre13 = add i64 %.pre11, %5 %.pre15 = inttoptr i64 %.pre13 to i64* store i64* %.pre15, i64** %.pre-phi16.reg2mem store i64 %extract.t, i64* %sv_0.1.off0.reg2mem br label LBL_13 LBL_10: %extract.t9.reload = load i64, i64* %extract.t9.reg2mem %sext = mul i64 %2, 4294967296 %67 = ashr exact i64 %sext, 29 %68 = add i64 %67, %5 %69 = icmp ult i64 %68, %67 %70 = icmp eq i64 %68, 0 %71 = inttoptr i64 %68 to i64* %72 = load i64, i64* %71, align 8 %73 = call i128 @__asm_movsd.1(i64 %72) %74 = call i64 @FUNC(i128 %73) %75 = add i64 %10, 32 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = call i128 @__asm_movsd.1(i64 %77) %79 = call i32 @FUNC(i128 %78) %80 = call i128 @FUNC(i128 %78, i128 %78) %81 = call i128 @FUNC(i32 %79) %82 = call i128 @FUNC(i128 %81) %83 = call i128 @__asm_addsd.3(i128 %82, i64 %74) %84 = call i128 @__asm_movsd.1(i64 %extract.t9.reload) call void @FUNC(i128 %84, i128 %83) %85 = or i1 %69, %70 br i1 %85, label LBL_12, label LBL_11 LBL_11: %86 = call i128 @FUNC(i128 %84, i128 %84) %87 = call i128 @FUNC(i32 %79) %88 = call i128 @__asm_movsd.1(i64 %74) %89 = call i128 @FUNC(i128 %87, i128 %88) %90 = call i64 @FUNC(i128 %89) store i64* %71, i64** %.pre-phi16.reg2mem store i64 %90, i64* %sv_0.1.off0.reg2mem br label LBL_13 LBL_12: %sv_0.08.reload = load i128, i128* %sv_0.08.reg2mem %91 = call i128 @FUNC(i128 %83, i128 %83) %92 = call i128 @FUNC(i32 %79) %93 = call i128 @__asm_movsd.1(i64 %74) %94 = call i128 @FUNC(i128 %93, i128 %92) call void @FUNC(i128 %94, i128 %sv_0.08.reload) store i64* %71, i64** %.pre-phi16.reg2mem store i64 %extract.t9.reload, i64* %sv_0.1.off0.reg2mem br label LBL_13 LBL_13: %sv_0.1.off0.reload = load i64, i64* %sv_0.1.off0.reg2mem %.pre-phi16.reload = load i64*, i64** %.pre-phi16.reg2mem %95 = call i128 @__asm_movsd.1(i64 %sv_0.1.off0.reload) %96 = call i64 @FUNC(i128 %95) store i64 %96, i64* %.pre-phi16.reload, align 8 %97 = icmp eq i32 %11, 2 br i1 %97, label LBL_15, label LBL_14 LBL_14: store i32 %11, i32* %15, align 4 br label LBL_15 LBL_15: %98 = call i128 @__asm_movsd.1(i64 %sv_0.1.off0.reload) ret i128 %98 uselistorder i128 %84, { 1, 0, 2 } uselistorder i128 %83, { 1, 0, 2 } uselistorder i32 %79, { 1, 0, 2 } uselistorder i128 %78, { 2, 1, 0 } uselistorder i64 %74, { 1, 0, 2 } uselistorder i64* %71, { 1, 0, 2 } uselistorder i64 %67, { 1, 0 } uselistorder i32* %15, { 2, 0, 1, 3 } uselistorder i32 %11, { 3, 4, 0, 6, 2, 5, 1 } uselistorder i64 %10, { 4, 2, 3, 0, 1 } uselistorder i128 %7, { 2, 1, 0 } uselistorder i64 %5, { 0, 1, 2, 3, 5, 4 } uselistorder i128 %3, { 3, 2, 0, 1 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i128* %sv_0.0.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i128* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64** %.pre-phi16.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.1.off0.reg2mem, { 0, 2, 1, 3 } uselistorder i128* %0, { 1, 0 } uselistorder i64 29, { 1, 0 } uselistorder i32 2, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
hashciedefgspace_10061
hashciedefgspace
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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0, i64* nonnull %sv_1) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_14 LBL_1: %6 = ptrtoint i64* %arg3 to i64 %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_1, i64 8) %8 = load i64, i64* @gv_0, align 8 %9 = call i64 @FUNC(i64 %8, i64 %0, i64 1, i64* nonnull %sv_0) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_14 LBL_2: %13 = ptrtoint i64* %arg1 to i64 %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %6) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_14 LBL_3: %18 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 %6) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_14 LBL_4: %22 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %6) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_5, label LBL_14 LBL_5: %26 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %6) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_6, label LBL_14 LBL_6: %30 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 %6) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_7, label LBL_14 LBL_7: %34 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0), i64 %6) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_8, label LBL_14 LBL_8: %38 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0), i64 %6) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_9, label LBL_14 LBL_9: %42 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64 %6) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i64 0, i64* %rax.0.reg2mem br i1 %45, label LBL_10, label LBL_14 LBL_10: %46 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i64 %6) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 0, i64* %rax.0.reg2mem br i1 %49, label LBL_11, label LBL_14 LBL_11: %50 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i64 %6) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false store i64 0, i64* %rax.0.reg2mem br i1 %53, label LBL_12, label LBL_14 LBL_12: %54 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_11, i64 0, i64 0), i64 %6) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_13, label LBL_14 LBL_13: %58 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_12, i64 0, i64 0), i64 %6) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false %. = zext i1 %61 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 (i64, i64*, i8*, i64)* @hashdictkey, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64, i64, i64*)* @array_get, { 1, 0 } }
0
BinRealVul
__xen_evtchn_do_upcall_13239
__xen_evtchn_do_upcall
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i32* %4 = call i64 @FUNC() %5 = and i64 %4, 4294967295 br label LBL_1 LBL_1: store i32 0, i32* %3, align 4 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC() %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC() %13 = load i32, i32* %3, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_1, label LBL_2 LBL_2: %16 = zext i32 %13 to i64 ret i64 %16 uselistorder i64 ()* @smp_processor_id, { 1, 0 } }
1
BinRealVul
av_get_double_15595
av_get_double
define i128 @FUNC(i64 %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = load i128, i128* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i8* %arg2 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 1, i64* %sv_2, align 8 %4 = call i128 @FUNC(i64 4607182418800017408) %5 = call i64 @__asm_movsd.1(i128 %4) store i64 %5, i64* %sv_1, align 8 store i32 1, i32* %sv_0, align 4 %6 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %2, i64* nonnull %sv_1, i32* nonnull %sv_0, i64* nonnull %sv_2) %7 = load i64, i64* %sv_2, align 8 %8 = call i128 @FUNC(i128 %1, i128 %1) %9 = call i128 @FUNC(i64 %7) %10 = load i64, i64* %sv_1, align 8 %11 = call i128 @FUNC(i64 %10) %12 = call i128 @FUNC(i128 %11, i128 %9) %13 = load i32, i32* %sv_0, align 4 %14 = call i128 @FUNC(i128 %9, i128 %9) %15 = call i128 @__asm_cvtsi2sd.2(i32 %13) %16 = call i128 @FUNC(i128 %12, i128 %15) ret i128 %16 uselistorder i128 %9, { 2, 1, 0 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i32* %sv_0, { 1, 0, 2 } }
1
BinRealVul
gdth_read_event_13090
gdth_read_event
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = ptrtoint i32* %arg1 to i64 %2 = load i64, i64* %0 %3 = trunc i64 %arg2 to i32 %4 = and i64 %arg2, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %1, i64 %2) %7 = icmp eq i32 %3, -1 %8 = icmp eq i1 %7, false %9 = load i32, i32* @gv_0, align 4 %storemerge4 = select i1 %8, i32 %3, i32 %9 %10 = bitcast i64* %arg3 to i32* store i32 0, i32* %10, align 4 %11 = icmp slt i32 %storemerge4, 100 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %1, i64 %2) store i32 %storemerge4, i32* %storemerge.in.reg2mem br label LBL_7 LBL_2: %13 = sext i32 %storemerge4 to i64 %14 = mul i64 %13, 4 %15 = add i64 %14, ptrtoint (i32** @gv_1 to i64) %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 store i32 %storemerge4, i32* %sv_0.1.reg2mem br i1 %18, label LBL_6, label LBL_3 LBL_3: %19 = load i32, i32* inttoptr (i64 4211188 to i32*), align 4 %20 = icmp eq i32 %storemerge4, %19 store i32 -1, i32* %sv_0.0.reg2mem br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = add i32 %storemerge4, 1 %22 = icmp eq i32 %storemerge4, 99 %23 = icmp eq i1 %22, false %spec.store.select = select i1 %23, i32 %21, i32 0 store i32 %spec.store.select, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem store i32 %17, i32* %10, align 4 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %24 = call i64 @FUNC(i64 %1, i64 %2) store i32 %sv_0.1.reload, i32* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32 %storemerge4, { 3, 4, 2, 1, 6, 0, 5 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @spin_unlock_irqrestore, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
rtp_asf_fix_header_16435
rtp_asf_fix_header
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp ult i32 %0, 54 store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_9, label LBL_1 LBL_1: %2 = call i32 @memcmp(i64* %arg1, i64* nonnull @gv_0, i32 16) %3 = icmp eq i32 %2, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_9 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = add i64 %5, %4 %7 = add i64 %4, 30 store i64 %7, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %8 = add i64 %sv_0.0.reload, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %sv_0.0.reload to i64* %12 = call i32 @memcmp(i64* %11, i64* nonnull @gv_1, i32 16) %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_4 LBL_4: %14 = sub i64 %6, %sv_0.0.reload %15 = icmp ugt i64 %10, %14 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_9, label LBL_5 LBL_5: %16 = add i64 %10, %sv_0.0.reload %17 = sub i64 %6, %16 %18 = icmp ult i64 %17, 24 store i64 %16, i64* %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_9, label LBL_3 LBL_6: %19 = add i64 %sv_0.0.reload, 100 %20 = icmp ult i64 %6, %19 store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_9, label LBL_7 LBL_7: %21 = add i64 %sv_0.0.reload, 92 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %sv_0.0.reload, 96 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %23, %26 %28 = icmp eq i1 %27, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_9, label LBL_8 LBL_8: store i32 0, i32* %22, 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 %sv_0.0.reload, { 6, 5, 4, 3, 2, 0, 1 } uselistorder i64 %6, { 2, 0, 1 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 3, 4, 1, 2, 6, 5 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 6, 2, 3, 0, 1, 5, 4 } }
1
BinRealVul
await_reference_row_18757
await_reference_row
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = urem i32 %1, 2 %3 = ashr i32 %1, 1 %4 = trunc i64 %arg4 to i32 %5 = add i32 %3, %4 %6 = or i32 %2, 8 %7 = add i32 %6, %5 %8 = sub i32 0, %5 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false %11 = select i1 %10, i32 %8, i32 %5 %12 = sub i32 %7, %11 %13 = xor i32 %11, %7 %14 = xor i32 %12, %7 %15 = and i32 %14, %13 %16 = icmp slt i32 %15, 0 %17 = icmp slt i32 %12, 0 %18 = icmp eq i1 %17, %16 %19 = select i1 %18, i32 %7, i32 %11 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %0, i64 %20, i64 0) ret i64 %21 uselistorder i32 %12, { 1, 0 } uselistorder i32 %11, { 1, 0, 2 } uselistorder i32 %7, { 2, 0, 1, 3 } uselistorder i32 %5, { 1, 2, 0 } uselistorder i32 %1, { 1, 0 } }
1
BinRealVul
kvm_arch_put_registers_3603
kvm_arch_put_registers
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %rax.0.in.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %7 = ptrtoint i64* %sv_1 to i64 %sext = mul i64 %1, 4294967296 %8 = ashr exact i64 %sext, 32 store i64 %8, i64* %sv_0, align 8 %9 = add i64 %2, 52 %10 = add i64 %7, -148 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %11 = mul i64 %indvars.iv.reload, 4 %12 = add i64 %9, %11 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %10, %11 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %17 = call i64 @FUNC(i64 %2, i64 1, i64* nonnull %sv_0) store i64 %17, i64* %rax.0.in.reg2mem br label LBL_4 LBL_4: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %11, { 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64*)* @kvm_vcpu_ioctl, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
nfs4_locku_done_8582
nfs4_locku_done
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = ptrtoint i32* %arg2 to i64 %5 = add i64 %4, 8 %6 = call i64 @FUNC(i64 %3, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_8, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = icmp sgt i32 %9, -5 br i1 %12, label LBL_7, label LBL_5 LBL_3: %13 = icmp eq i32 %9, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = add i64 %4, 4 %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 %15) %20 = add i64 %4, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %4, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25, i64 %22) br label LBL_7 LBL_5: %27 = add i64 %4, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %3, i64 %29, i64 0) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, -11 %33 = icmp eq i1 %32, false br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = call i64 @FUNC(i64 %3) br label LBL_7 LBL_7: %35 = and i64 %2, 4294967295 %36 = call i64 @FUNC(i64 %35) store i64 %36, 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 i32 %9, { 2, 1, 0 } uselistorder i64 %4, { 0, 2, 1, 4, 3, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 2, 3, 0 } uselistorder label LBL_5, { 1, 0 } }
0