dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
OVS_REQUIRES_11370
OVS_REQUIRES
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i32* %.pre-phi.reg2mem = alloca i64 %0 = load i32*, i32** @gv_0, align 8 %1 = ptrtoint i32* %0 to i64 %2 = call i64 @FUNC(i64 %1) %3 = load i32*, i32** @gv_0, align 8 %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = load i32*, i32** @gv_0, align 8 %9 = ptrtoint i32* %8 to i64 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = add i64 %9, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 store i64 %9, i64* %.pre-phi.reg2mem br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = add i64 %9, 16 %20 = load i64, i64* @gv_1, align 8 %21 = call i64 @FUNC(i64 %20, i64 %19) %.pre = load i32*, i32** @gv_0, align 8 %.pre7 = ptrtoint i32* %.pre to i64 store i64 %.pre7, i64* %.pre-phi.reg2mem br label LBL_3 LBL_3: %22 = inttoptr i64 %2 to i32* %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %23 = load i64, i64* @gv_1, align 8 %24 = call i64 @FUNC(i64 %23, i64 %.pre-phi.reload) %25 = load i32*, i32** @gv_0, align 8 %26 = ptrtoint i32* %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = load i32, i32* %22, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_5, label LBL_4 LBL_4: %30 = load i32*, i32** @gv_0, align 8 %31 = ptrtoint i32* %30 to i64 %32 = call i64 @FUNC(i64 %31) br label LBL_5 LBL_5: %33 = add i64 %2, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_9, label LBL_6 LBL_6: %37 = add i64 %2, 16 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_8, label LBL_7 LBL_7: %41 = add i64 %2, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = mul i64 %39, 4 %45 = add i64 %44, -4 %46 = add i64 %45, %43 %47 = inttoptr i64 %46 to i32* store i32* %47, i32** %sv_0.0.lcssa.reg2mem br label LBL_8 LBL_8: %sv_0.0.lcssa.reload = load i32*, i32** %sv_0.0.lcssa.reg2mem %48 = load i32, i32* %sv_0.0.lcssa.reload, align 4 %49 = load i64, i64* @gv_1, align 8 %50 = call i64 @FUNC(i64 %49, i32 %48, i64 4294967295, i64 0) %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false %53 = zext i1 %52 to i64 %54 = call i64 @FUNC(i64 %53) %55 = load i32*, i32** @gv_0, align 8 %56 = ptrtoint i32* %55 to i64 %57 = call i64 @FUNC(i64 %50, i64 %56) br label LBL_9 LBL_9: %58 = load i32*, i32** @gv_0, align 8 %59 = ptrtoint i32* %58 to i64 store i32 1, i32* %58, align 4 ret i64 %59 uselistorder i64 %9, { 1, 0, 2, 3 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @ovs_assert, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
vhost_scsi_calc_sgls_9372
vhost_scsi_calc_sgls
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = icmp eq i64* %arg1, null br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 65535) %8 = trunc i64 %7 to i32 %9 = icmp sgt i32 %8, %arg3 br i1 %9, label LBL_3, label LBL_4 LBL_3: %10 = zext i32 %arg3 to i64 %11 = and i64 %7, 4294967295 %12 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %10, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %13 = and i64 %7, 4294967295 store i64 %13, 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 %7, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @pr_err, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
mg_http_parse_19230
mg_http_parse
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = icmp eq i64 %arg1, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %0, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = add i64 %2, %arg1 store i64 %3, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %4 = trunc i64 %0 to i32 %5 = call i64* @memset(i64* %arg3, i32 0, i32 288) %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_4, label LBL_3 LBL_3: %11 = and i64 %0, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_18 LBL_4: %12 = ptrtoint i64* %arg3 to i64 %storemerge.reload = load i64, i64* %storemerge.reg2mem %13 = add i64 %12, 96 %14 = inttoptr i64 %13 to i64* store i64 %arg1, i64* %14, align 8 %15 = add i64 %12, 80 %16 = inttoptr i64 %15 to i64* store i64 %arg1, i64* %16, align 8 %17 = add i64 %12, 64 %18 = inttoptr i64 %17 to i64* store i64 %storemerge.reload, i64* %18, align 8 %sext2 = mul i64 %0, 4294967296 %19 = ashr exact i64 %sext2, 32 %20 = add i64 %12, 104 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = add i64 %12, 112 %23 = inttoptr i64 %22 to i64* store i64 %storemerge.reload, i64* %23, align 8 %24 = add i64 %12, 72 %25 = inttoptr i64 %24 to i64* store i64 -1, i64* %25, align 8 %26 = add i64 %12, 88 %27 = inttoptr i64 %26 to i64* store i64 -1, i64* %27, align 8 %28 = call i64 @FUNC(i64 %arg1, i64 %storemerge.reload, i64* nonnull @gv_0, i64 %12) %29 = add i64 %12, 16 %30 = call i64 @FUNC(i64 %28, i64 %storemerge.reload, i64* nonnull @gv_0, i64 %29) %31 = add i64 %12, 32 %32 = call i64 @FUNC(i64 %30, i64 %storemerge.reload, i64* bitcast ([3 x i8]* @gv_1 to i64*), i64 %31) %33 = add i64 %12, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %36, label LBL_18, label LBL_5 LBL_5: %37 = add i64 %12, 24 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %41, label LBL_6, label LBL_18 LBL_6: %42 = inttoptr i64 %29 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i64* %45 = trunc i64 %39 to i32 %46 = call i64* @memchr(i64* %44, i32 63, i32 %45) %47 = icmp eq i64* %46, null br i1 %47, label LBL_8, label LBL_7 LBL_7: %48 = ptrtoint i64* %46 to i64 %49 = add i64 %48, 1 %50 = add i64 %12, 48 %51 = inttoptr i64 %50 to i64* store i64 %49, i64* %51, align 8 %52 = load i64, i64* %42, align 8 %53 = load i64, i64* %38, align 8 %54 = sub i64 0, %48 %55 = sub i64 %54, 1 %56 = add i64 %52, %55 %57 = add i64 %56, %53 %58 = add i64 %12, 56 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 %60 = load i64, i64* %42, align 8 %61 = sub i64 %48, %60 store i64 %61, i64* %38, align 8 br label LBL_8 LBL_8: %62 = add i64 %12, 128 %63 = call i64 @FUNC(i64 %32, i64 %storemerge.reload, i64 %62, i64 10) %64 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) %65 = icmp eq i64 %64, 0 store i64 %62, i64* %rdx.0.reg2mem br i1 %65, label LBL_10, label LBL_9 LBL_9: %66 = inttoptr i64 %64 to i64* %67 = load i64, i64* %66, align 8 %68 = add i64 %64, 8 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = call i64 @FUNC(i64 %67, i64 %70) store i64 %71, i64* %25, align 8 %72 = add i64 %71, %19 store i64 %72, i64* %27, align 8 store i64 %72, i64* %rdx.0.reg2mem br label LBL_10 LBL_10: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %73 = call i64 @FUNC(i64 %rdx.0.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 5) %74 = trunc i64 %73 to i32 %75 = icmp eq i32 %74, 0 %76 = load i64, i64* %25, align 8 %77 = icmp eq i64 %76, -1 %78 = icmp eq i1 %75, false %79 = icmp eq i1 %77, %78 br i1 %79, label LBL_11, label LBL_14 LBL_11: %80 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0)) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 0 br i1 %82, label LBL_17, label LBL_12 LBL_12: %83 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) %84 = trunc i64 %83 to i32 %85 = icmp eq i32 %84, 0 br i1 %85, label LBL_17, label LBL_13 LBL_13: store i64 0, i64* %25, align 8 store i64 %19, i64* %27, align 8 br label LBL_17 LBL_14: %86 = icmp eq i1 %75, %77 br i1 %86, label LBL_15, label LBL_17 LBL_15: %87 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0)) %88 = trunc i64 %87 to i32 %89 = icmp eq i32 %88, 0 %90 = icmp eq i1 %89, false br i1 %90, label LBL_17, label LBL_16 LBL_16: store i64 0, i64* %25, align 8 store i64 %19, i64* %27, align 8 br label LBL_17 LBL_17: %91 = and i64 %0, 4294967295 store i64 %91, 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 %48, { 1, 0, 2 } uselistorder i64* %46, { 1, 0 } uselistorder i64* %27, { 2, 1, 0, 3 } uselistorder i64* %25, { 2, 1, 3, 0, 4 } uselistorder i64 %19, { 2, 1, 0, 3 } uselistorder i64 %storemerge.reload, { 5, 4, 2, 3, 1, 0 } uselistorder i64 %12, { 2, 3, 4, 5, 0, 1, 7, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %0, { 2, 0, 3, 4, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64, i8*)* @mg_vcasecmp, { 2, 1, 0 } uselistorder i64 (i64, i64, i64*, i64)* @skip, { 2, 1, 0 } uselistorder i64 -1, { 1, 0, 2 } uselistorder i1 false, { 2, 0, 3, 4, 1 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64 %arg1, { 2, 1, 3, 0, 5, 4 } uselistorder label LBL_18, { 2, 1, 0, 3 } uselistorder label LBL_17, { 4, 5, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
crypto_rng_reset_11150
crypto_rng_reset
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 0 %1 = icmp eq i1 %0, false %2 = icmp eq i32 %arg3, 0 %or.cond = or i1 %1, %2 store i64 0, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %3 = zext i32 %arg3 to i64 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_4 LBL_2: %7 = call i64 @FUNC(i64 %4, i64 %3) store i64 %4, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %8 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %9 = call i64 @FUNC(i64 %sv_0.0.reload) %10 = and i64 %8, 4294967295 store i64 %10, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
pcrypt_alloc_9867
pcrypt_alloc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp ult i64 %1, -1000 store i64 %1, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = inttoptr i64 %1 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %4, 16 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 1 %11 = icmp eq i1 %10, false store i64 -22, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = zext i32 %4 to i64 %13 = call i64 @FUNC(i64 %0, i64 %12, i32 %7) store i64 %13, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %7, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %1, { 1, 3, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
evtchn_fifo_percpu_deinit_13653
evtchn_fifo_percpu_deinit
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0, i64 0) ret i64 0 }
0
BinRealVul
sdsnewlen_13271
sdsnewlen
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %0 = call i64 @FUNC(i64 %arg2) %1 = trunc i64 %0 to i8 %2 = sext i8 %1 to i32 %3 = icmp eq i8 %1, 0 %4 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, %3 %sv_1.0 = select i1 %5, i32 1, i32 %2 %6 = zext i32 %sv_1.0 to i64 %7 = call i64 @FUNC(i64 %6) %sext4 = mul i64 %7, 4294967296 %8 = ashr exact i64 %sext4, 32 %9 = add i64 %arg2, 1 %10 = add i64 %9, %8 %11 = call i64 @FUNC(i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_1, label LBL_13 LBL_1: %14 = icmp eq i8* %arg1, inttoptr (i64 -1 to i8*) %15 = icmp eq i1 %14, false store i8* null, i8** %sv_0.0.reg2mem br i1 %15, label LBL_2, label LBL_4 LBL_2: %16 = icmp eq i8* %arg1, null %17 = icmp eq i1 %16, false store i8* %arg1, i8** %sv_0.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = trunc i64 %7 to i32 %19 = inttoptr i64 %11 to i64* %20 = trunc i64 %arg2 to i32 %21 = add i32 %20, 1 %22 = add i32 %21, %18 %23 = call i64* @memset(i64* %19, i32 0, i32 %22) store i8* %arg1, i8** %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %24 = add i64 %8, %11 %25 = add i64 %24, -1 %26 = inttoptr i64 %25 to i8* %sext5 = mul i64 %6, 72057594037927936 %27 = ashr exact i64 %sext5, 56 %28 = and i64 %27, 4294967295 store i64 %28, i64* @1, align 8 %trunc = trunc i64 %27 to i32 switch i32 %trunc, label LBL_10 [ i32 0, label LBL_5 i32 1, label LBL_6 i32 2, label LBL_7 i32 3, label LBL_8 i32 4, label LBL_9 ] LBL_5: %29 = trunc i64 %arg2 to i32 %30 = mul i32 %29, 32 %31 = or i32 %sv_1.0, %30 %32 = trunc i32 %31 to i8 store i8 %32, i8* %26, align 1 br label LBL_10 LBL_6: %33 = add i64 %24, -16 %34 = inttoptr i64 %33 to i64* store i64 %arg2, i64* %34, align 8 %35 = add i64 %24, -8 %36 = inttoptr i64 %35 to i64* store i64 %arg2, i64* %36, align 8 %37 = trunc i32 %sv_1.0 to i8 store i8 %37, i8* %26, align 1 br label LBL_10 LBL_7: %38 = add i64 %24, -16 %39 = inttoptr i64 %38 to i64* store i64 %arg2, i64* %39, align 8 %40 = add i64 %24, -8 %41 = inttoptr i64 %40 to i64* store i64 %arg2, i64* %41, align 8 %42 = trunc i32 %sv_1.0 to i8 store i8 %42, i8* %26, align 1 br label LBL_10 LBL_8: %43 = add i64 %24, -16 %44 = inttoptr i64 %43 to i64* store i64 %arg2, i64* %44, align 8 %45 = add i64 %24, -8 %46 = inttoptr i64 %45 to i64* store i64 %arg2, i64* %46, align 8 %47 = trunc i32 %sv_1.0 to i8 store i8 %47, i8* %26, align 1 br label LBL_10 LBL_9: %48 = add i64 %24, -16 %49 = inttoptr i64 %48 to i64* store i64 %arg2, i64* %49, align 8 %50 = add i64 %24, -8 %51 = inttoptr i64 %50 to i64* store i64 %arg2, i64* %51, align 8 %52 = trunc i32 %sv_1.0 to i8 store i8 %52, i8* %26, align 1 br label LBL_10 LBL_10: %53 = icmp eq i8* %sv_0.0.reload, null %or.cond = or i1 %4, %53 br i1 %or.cond, label LBL_12, label LBL_11 LBL_11: %54 = inttoptr i64 %24 to i64* %55 = bitcast i8* %sv_0.0.reload to i64* %56 = trunc i64 %arg2 to i32 %57 = call i64* @memcpy(i64* %54, i64* %55, i32 %56) br label LBL_12 LBL_12: %58 = add i64 %24, %arg2 %59 = inttoptr i64 %58 to i8* store i8 0, i8* %59, align 1 store i64 %24, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %27, { 1, 0 } uselistorder i8* %26, { 4, 3, 2, 1, 0 } uselistorder i64 %24, { 0, 1, 10, 9, 8, 7, 6, 5, 4, 3, 2, 11 } uselistorder i64 %7, { 1, 0 } uselistorder i32 %sv_1.0, { 1, 2, 3, 4, 0, 5 } uselistorder i1 %4, { 1, 0 } uselistorder i8 %1, { 1, 0 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 -8, { 3, 2, 1, 0 } uselistorder i64 -16, { 3, 2, 1, 0 } uselistorder i8* null, { 1, 2, 0 } uselistorder i32 1, { 6, 4, 5, 1, 0, 7, 2, 3 } uselistorder i64 %arg2, { 0, 13, 11, 12, 9, 10, 7, 8, 5, 6, 4, 3, 1, 2, 14 } uselistorder i8* %arg1, { 0, 1, 3, 2 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
smp_proc_enc_info_12804
smp_proc_enc_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %1, i64 %0, i64 16) %4 = call i64 @FUNC(i64 %1, i64 0) ret i64 %4 }
1
BinRealVul
__usb_queue_reset_device_9213
__usb_queue_reset_device
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, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %1) %6 = call i64 @FUNC(i64 %1) br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) ret i64 %7 uselistorder i64 %1, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } }
0
BinRealVul
get_video_frame_14632
get_video_frame
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %zf.0.reg2mem = alloca i1 %pf.0.in.in.reg2mem = alloca i8 %cf.0.reg2mem = alloca i1 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i32* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_15 LBL_1: %6 = icmp eq i32 %3, 0 store i64 %2, i64* %sv_0.0.reg2mem br i1 %6, label LBL_14, label LBL_2 LBL_2: %7 = trunc i64 %2 to i8 %8 = call i8 @llvm.ctpop.i8(i8 %7), !range !15 %9 = urem i8 %8, 2 %10 = icmp eq i8 %9, 0 %11 = call i128 @FUNC(i64 9221120237041090560) %12 = call i64 @__asm_movsd.1(i128 %11) %13 = call i128 @FUNC(i64 %0) call void @FUNC(i128 %13, i64 4890909195324358656) br i1 %10, label LBL_4, label LBL_3 LBL_3: call void @FUNC(i128 %13, i64 4890909195324358656) br label LBL_4 LBL_4: %14 = add i64 %1, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i128 @FUNC(i64 %18) %20 = call i128 @FUNC(i64 %0) %21 = call i128 @FUNC(i128 %19, i128 %20) %22 = call i64 @__asm_movsd.1(i128 %21) %23 = load i64, i64* %15, align 8 %24 = add i64 %1, 24 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26, i64 %23, i64 %0) %28 = trunc i64 %27 to i32 %29 = add i64 %0, 8 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %32 = icmp eq i32 %31, 0 %33 = icmp slt i32 %31, 0 %34 = trunc i32 %31 to i8 %35 = call i8 @llvm.ctpop.i8(i8 %34), !range !15 %36 = icmp eq i1 %33, false %37 = icmp eq i1 %32, false %38 = icmp eq i1 %36, %37 store i1 false, i1* %cf.0.reg2mem store i8 %35, i8* %pf.0.in.in.reg2mem store i1 %32, i1* %zf.0.reg2mem br i1 %38, label LBL_7, label LBL_5 LBL_5: %39 = load i32, i32* @gv_0, align 4 %40 = icmp eq i32 %39, 0 store i64 %2, i64* %sv_0.0.reg2mem br i1 %40, label LBL_14, label LBL_6 LBL_6: %41 = call i64 @FUNC(i64 %1) %42 = trunc i64 %41 to i32 %43 = add i32 %42, -1 %44 = icmp eq i32 %42, 0 %45 = icmp eq i32 %43, 0 %46 = trunc i32 %43 to i8 %47 = call i8 @llvm.ctpop.i8(i8 %46), !range !15 store i1 %44, i1* %cf.0.reg2mem store i8 %47, i8* %pf.0.in.in.reg2mem store i1 false, i1* %zf.0.reg2mem store i64 %2, i64* %sv_0.0.reg2mem br i1 %45, label LBL_14, label LBL_7 LBL_7: %zf.0.reload = load i1, i1* %zf.0.reg2mem %pf.0.in.in.reload = load i8, i8* %pf.0.in.in.reg2mem %cf.0.reload = load i1, i1* %cf.0.reg2mem %pf.0.in = urem i8 %pf.0.in.in.reload, 2 %pf.0 = icmp eq i8 %pf.0.in, 0 %48 = call i128 @FUNC(i64 %23) call void @FUNC(i128 %48, i64 4890909195324358656) br i1 %pf.0, label LBL_9, label LBL_8 LBL_8: call void @FUNC(i128 %48, i64 4890909195324358656) store i64 %2, i64* %sv_0.0.reg2mem br i1 %zf.0.reload, label LBL_14, label LBL_9 LBL_9: %49 = call i128 @FUNC(i64 %1) %50 = call i128 @FUNC(i128 %49) %51 = call i128 @FUNC(i64 %22) %52 = call i128 @FUNC(i128 %51, i128 %50) %53 = call i64 @__asm_movsd.1(i128 %52) %54 = call i128 @FUNC(i64 %53) call void @FUNC(i128 %54, i64 %53) store i64 %2, i64* %sv_0.0.reg2mem br i1 %pf.0, label LBL_14, label LBL_10 LBL_10: %55 = call i128 @FUNC(i64 %53) %56 = call i128 @FUNC(i64 9223372036854775807) %57 = call i128 @FUNC(i128 %56, i128 %55) %58 = call i128 @FUNC(i64 4591870180066957722) call void @FUNC(i128 %58, i128 %57) %59 = or i1 %cf.0.reload, %zf.0.reload store i64 %2, i64* %sv_0.0.reg2mem br i1 %59, label LBL_14, label LBL_11 LBL_11: %60 = add i64 %1, 32 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = call i128 @FUNC(i64 %62) %64 = call i128 @FUNC(i64 %53) %65 = call i128 @FUNC(i128 %64) %66 = call i128 @FUNC(i128 %65, i128 %63) %67 = call i128 @FUNC(i128 %64, i128 %64) call void @FUNC(i128 %67, i128 %66) %68 = bitcast i64* %rdi to i32* %69 = load i32, i32* %68, align 8 %70 = add i64 %1, 8 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %69, %72 %74 = icmp eq i1 %73, false store i64 %2, i64* %sv_0.0.reg2mem br i1 %74, label LBL_14, label LBL_12 LBL_12: %75 = add i64 %1, 12 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 store i64 %2, i64* %sv_0.0.reg2mem br i1 %78, label LBL_14, label LBL_13 LBL_13: %79 = add i64 %1, 4 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = add i32 %81, 1 store i32 %82, i32* %80, align 4 %83 = call i64 @FUNC(i64 %0) store i64 0, i64* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %84 = and i64 %sv_0.0.reload, 4294967295 store i64 %84, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i128 %64, { 2, 1, 0 } uselistorder i64 %53, { 0, 1, 3, 2 } uselistorder i1 %pf.0, { 1, 0 } uselistorder i32 %43, { 1, 0 } uselistorder i32 %31, { 2, 1, 0 } uselistorder i64 %2, { 3, 4, 5, 6, 2, 0, 1, 8, 7, 9 } uselistorder i64 %1, { 3, 2, 1, 4, 5, 0, 6, 7, 8 } uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 5, 6, 7, 8, 3, 1, 2, 9 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i1 false, { 3, 0, 1, 4, 2, 5 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
mov_read_wave_1797
mov_read_wave
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.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.shrunk.reg2mem br i1 %6, label LBL_1, label LBL_9 LBL_1: %7 = icmp ult i64 %arg3, 1073741825 store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_2, label LBL_9 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %0, 4294967296 %9 = ashr exact i64 %sext, 29 %10 = add nsw i64 %9, -8 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %10, %13 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %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 ne i32 %20, 1 %22 = icmp eq i32 %20, 2 %23 = icmp eq i1 %22, false %or.cond = icmp eq i1 %21, %23 br i1 %or.cond, label LBL_5, label LBL_3 LBL_3: %24 = add i64 %18, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %arg3, 32 %29 = load i64, i64* %17, align 8 %30 = call i64 @FUNC(i64 %28) %31 = add i64 %29, 8 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = load i64, i64* %17, align 8 %34 = add i64 %33, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 %38 = icmp eq i1 %37, false store i64 4294967284, i64* %rax.0.shrunk.reg2mem br i1 %38, label LBL_4, label LBL_9 LBL_4: %39 = trunc i64 %arg3 to i32 %40 = add i64 %33, 16 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i64, i64* %17, align 8 %43 = add i64 %42, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %8, i64 %45, i64 %arg3) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false store i64 %46, i64* %rax.0.shrunk.reg2mem br i1 %49, label LBL_8, label LBL_9 LBL_5: %50 = icmp ult i64 %arg3, 9 br i1 %50, label LBL_7, label LBL_6 LBL_6: %51 = call i64 @FUNC(i64 %0, i64 %8, i64 %arg3) %52 = trunc i64 %51 to i32 %53 = icmp slt i32 %52, 0 %54 = icmp eq i1 %53, false store i64 %51, i64* %rax.0.shrunk.reg2mem br i1 %54, label LBL_8, label LBL_9 LBL_7: %55 = call i64 @FUNC(i64 %8, i64 %arg3) br label LBL_8 LBL_8: store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_9 LBL_9: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %0, { 3, 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 1, 2, 3, 4, 5 } uselistorder i1 false, { 2, 3, 4, 0, 5, 1 } uselistorder i64 %arg3, { 6, 5, 4, 0, 1, 2, 3 } uselistorder label LBL_9, { 5, 0, 1, 2, 3, 4 } }
0
BinRealVul
mipsnet_receive_3375
mipsnet_receive
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %arg3) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp ult i64 %arg3, 1024 %or.cond = icmp eq i1 %7, %6 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %8 = add i64 %1, 1040 %9 = inttoptr i64 %8 to i32* store i32 1, i32* %9, align 4 %10 = inttoptr i64 %1 to i64* %11 = trunc i64 %arg3 to i32 %12 = call i64* @memcpy(i64* %10, i64* %arg2, i32 %11) %13 = add i64 %1, 1024 %14 = inttoptr i64 %13 to i64* store i64 %arg3, i64* %14, align 8 %15 = add i64 %1, 1032 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 %17 = add i64 %1, 1044 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = or i32 %19, 1 store i32 %20, i32* %18, align 4 %21 = call i64 @FUNC(i64 %1) store i64 %arg3, 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* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 1024, { 1, 0 } uselistorder i64 %arg3, { 0, 2, 3, 1, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
update_irq_15340
update_irq
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp sgt i32 %3, 1 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = icmp eq i32 %3, 0 %9 = icmp eq i1 %8, false %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 = add i64 %14, 32 %spec.select = select i1 %9, i64 %15, i64 %14 store i64 %spec.select, i64* %sv_0.0.in.in.reg2mem br label LBL_4 LBL_3: %16 = call i64 @FUNC(i64 %2) %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %sext = mul i64 %16, 4294967296 %22 = ashr exact i64 %sext, 30 %23 = add i64 %22, %21 store i64 %23, i64* %sv_0.0.in.in.reg2mem br label LBL_4 LBL_4: %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %sv_0.0.in = inttoptr i64 %sv_0.0.in.in.reload to i32* %sv_0.0 = load i32, i32* %sv_0.0.in, align 4 %24 = call i64 @FUNC(i64 %2) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 %24, i64* %rax.0.reg2mem br i1 %26, label LBL_7, label LBL_5 LBL_5: %27 = call i64 @FUNC() %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 %27, i64* %rax.0.reg2mem br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = zext i32 %sv_0.0 to i64 %31 = call i64 @FUNC(i64 %30) store i64 %31, 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 %2, { 1, 3, 2, 0 } uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
check_request_for_cacheability_5467
check_request_for_cacheability
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i8* %1 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.ph.reg2mem = alloca i8* %.reg2mem50 = alloca i8* %sv_0.08.reg2mem = alloca i64 %.reg2mem48 = alloca i64 %.reg2mem46 = alloca i32 %sv_1.0.ph13.reg2mem = alloca i32 %sv_0.0.ph14.reg2mem = alloca i64 %.reg2mem44 = alloca i64 %.reg2mem = alloca i32 %2 = load i64, i64* %1 %3 = load i8*, i8** %0 %4 = trunc i64 %2 to i32 %5 = urem i32 %4, 4 %6 = icmp eq i32 %5, 2 store i64 2, i64* %rax.0.reg2mem br i1 %6, label LBL_31, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = call i64 @FUNC(i64 %8) %10 = inttoptr i64 %8 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = zext i32 %14 to i64 store i64 %17, i64* %rax.0.reg2mem br label LBL_31 LBL_3: %18 = ptrtoint i8* %3 to i64 %sext = mul i64 %9, 4294967296 %19 = ashr exact i64 %sext, 32 %20 = ptrtoint i64* %arg2 to i64 %21 = add i64 %19, %20 %22 = bitcast i64* %arg1 to i32* %23 = or i32 %4, 2 %24 = and i32 %4, -6 store i32 %14, i32* %.reg2mem store i64 %11, i64* %.reg2mem44 store i64 %21, i64* %sv_0.0.ph14.reg2mem store i32 0, i32* %sv_1.0.ph13.reg2mem br label LBL_5 LBL_4: %25 = load i64, i64* %10, align 8 %26 = add nsw i64 %33, 8 %27 = add i64 %26, %25 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i32 %29, i32* %.reg2mem store i64 %25, i64* %.reg2mem44 store i64 %44, i64* %sv_0.0.ph14.reg2mem store i32 1, i32* %sv_1.0.ph13.reg2mem br i1 %31, label LBL_5, label LBL_30 LBL_5: %sv_1.0.ph13.reload = load i32, i32* %sv_1.0.ph13.reg2mem %sv_0.0.ph14.reload = load i64, i64* %sv_0.0.ph14.reg2mem %.reload45 = load i64, i64* %.reg2mem44 %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %.reg2mem46 store i64 %.reload45, i64* %.reg2mem48 store i64 %sv_0.0.ph14.reload, i64* %sv_0.08.reg2mem br label LBL_6 LBL_6: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %.reload49 = load i64, i64* %.reg2mem48 %.reload47 = load i32, i32* %.reg2mem46 %32 = sext i32 %.reload47 to i64 %33 = mul nsw i64 %32, 12 %34 = add i64 %33, %.reload49 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = sext i32 %36 to i64 %38 = add i64 %sv_0.08.reload, %37 %39 = add i64 %34, 4 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sext i32 %41 to i64 %43 = add nsw i64 %42, 1 %44 = add i64 %43, %38 %45 = call i64 @FUNC(i64 %sv_0.08.reload, i64 %38, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 6) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 br i1 %47, label LBL_9, label LBL_7 LBL_7: %sext4 = mul i64 %45, 4294967296 %48 = ashr exact i64 %sext4, 32 %49 = add i64 %48, %sv_0.08.reload %50 = sub i64 %38, %49 %51 = icmp slt i64 %50, 8 br i1 %51, label LBL_9, label LBL_8 LBL_8: %52 = inttoptr i64 %49 to i8* %53 = call i32 @strncasecmp(i8* %52, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 8) %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_9, label LBL_4 LBL_9: %56 = call i64 @FUNC(i64 %sv_0.08.reload, i64 %38, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 13) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 br i1 %58, label LBL_12, label LBL_10 LBL_10: store i32 %23, i32* %22, align 4 br label LBL_11 LBL_11: %59 = load i64, i64* %10, align 8 %60 = add nsw i64 %33, 8 %61 = add i64 %60, %59 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i32 %63, i32* %.reg2mem46 store i64 %59, i64* %.reg2mem48 store i64 %44, i64* %sv_0.08.reg2mem br i1 %65, label LBL_6, label LBL_29 LBL_12: %66 = call i64 @FUNC(i64 %sv_0.08.reload, i64 %38, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 13) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_13, label LBL_11 LBL_13: %70 = icmp ugt i64 %38, %18 %71 = icmp eq i1 %70, false store i64 %18, i64* %.pre-phi.reg2mem br i1 %71, label LBL_18, label LBL_15 LBL_14: %72 = ptrtoint i8* %.reload51 to i64 %73 = add i64 %72, 1 %74 = inttoptr i64 %73 to i8* %75 = icmp ugt i64 %38, %73 %76 = icmp eq i1 %75, false store i8* %74, i8** %.reg2mem50 store i8* %74, i8** %.ph.reg2mem br i1 %76, label LBL_17, label LBL_15 LBL_15: %.reload51 = load i8*, i8** %.reg2mem50 %77 = load i8, i8* %.reload51, align 1 store i8* %.reload51, i8** %.ph.reg2mem store i8* %.reload51, i8** %.ph.reg2mem switch i8 %77, label LBL_16 [ i8 61, label LBL_17 i8 44, label LBL_17 ] LBL_16: %78 = call i16** @__ctype_b_loc() %79 = load i16*, i16** %78, align 8 %80 = ptrtoint i16* %79 to i64 %81 = load i8, i8* %.reload51, align 1 %82 = zext i8 %81 to i64 %83 = mul i64 %82, 2 %84 = add i64 %83, %80 %85 = inttoptr i64 %84 to i16* %86 = load i16, i16* %85, align 2 %87 = and i16 %86, 8192 %88 = icmp eq i16 %87, 0 store i8* %.reload51, i8** %.ph.reg2mem br i1 %88, label LBL_14, label LBL_17 LBL_17: %.ph.reload = load i8*, i8** %.ph.reg2mem %.pre = ptrtoint i8* %.ph.reload to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_18 LBL_18: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %89 = sub i64 %.pre-phi.reload, %18 %90 = icmp eq i64 %89, 7 %91 = icmp eq i1 %90, false br i1 %91, label LBL_20, label LBL_19 LBL_19: %92 = call i32 @strncasecmp(i8* %3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i32 7) %93 = icmp eq i32 %92, 0 br i1 %93, label LBL_25, label LBL_20 LBL_20: %94 = icmp eq i64 %89, 8 %95 = icmp eq i1 %94, false br i1 %95, label LBL_22, label LBL_21 LBL_21: %96 = call i32 @strncasecmp(i8* %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 8) %97 = icmp eq i32 %96, 0 br i1 %97, label LBL_25, label LBL_22 LBL_22: %98 = icmp eq i64 %89, 9 %99 = icmp eq i1 %98, false br i1 %99, label LBL_26, label LBL_23 LBL_23: %100 = call i32 @strncasecmp(i8* %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i32 9) %101 = icmp eq i32 %100, 0 br i1 %101, label LBL_25, label LBL_24 LBL_24: %102 = call i32 @strncasecmp(i8* %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i32 9) %103 = icmp eq i32 %102, 0 %104 = icmp eq i1 %103, false br i1 %104, label LBL_26, label LBL_25 LBL_25: store i32 %23, i32* %22, align 4 br label LBL_11 LBL_26: br i1 %95, label LBL_11, label LBL_27 LBL_27: %105 = call i32 @strncasecmp(i8* %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i32 8) %106 = icmp eq i32 %105, 0 %107 = icmp eq i1 %106, false br i1 %107, label LBL_11, label LBL_28 LBL_28: store i32 %24, i32* %22, align 4 br label LBL_11 LBL_29: %108 = zext i32 %63 to i64 %109 = icmp eq i32 %sv_1.0.ph13.reload, 0 store i64 %108, i64* %rax.0.reg2mem br i1 %109, label LBL_31, label LBL_30 LBL_30: store i32 %23, i32* %22, align 4 store i64 %7, i64* %rax.0.reg2mem br label LBL_31 LBL_31: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %.reload51, { 0, 3, 1, 2, 5, 4 } uselistorder i32 %63, { 1, 0, 2 } uselistorder i64 %38, { 3, 1, 4, 5, 2, 6, 0 } uselistorder i64 %33, { 2, 1, 0 } uselistorder i64 %sv_0.08.reload, { 2, 0, 3, 1, 4 } uselistorder i64 %18, { 2, 0, 1 } uselistorder i64* %10, { 2, 1, 0 } uselistorder i32 %4, { 2, 1, 0 } uselistorder i8* %3, { 1, 2, 3, 4, 5, 0 } uselistorder i32* %.reg2mem46, { 1, 0, 2 } uselistorder i64* %.reg2mem48, { 1, 0, 2 } uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 } uselistorder i8** %.ph.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 (i8*, i8*, i32)* @strncasecmp, { 5, 0, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i8*, i64)* @http_header_match2, { 2, 1, 0 } uselistorder i1 false, { 3, 4, 5, 6, 7, 8, 2, 9, 11, 10, 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_31, { 2, 3, 0, 1 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_17, { 1, 3, 2, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 4, 3, 2, 1, 5, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
ttusbdecfe_dvbs_diseqc_send_master_cmd_8946
ttusbdecfe_dvbs_diseqc_send_master_cmd
define i64 @FUNC(i64* %arg1, i32* %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 i32 %3 = icmp ult i32 %2, 7 store i64 4294967274, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i32* %arg2 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i64* %7 = call i64* @memcpy(i64* nonnull %sv_0, i64* %6, i32 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
parse_uint32_14106
parse_uint32
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = inttoptr i64 %arg3 to i8* %4 = call i32 @strncasecmp(i8* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i32 2) %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = select i1 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0) %8 = call i32 (i8*, i8*, ...) @sscanf(i8* %3, i8* %7) %9 = icmp eq i32 %8, 1 %storemerge = select i1 %9, i64 0, i64 4294967274 ret i64 %storemerge }
1
BinRealVul
float_number_5069
float_number
define i64 @FUNC() local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem8 = alloca i64 %.reg2mem6 = alloca i64* %.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %sv_1 = alloca i64, align 8 %0 = ptrtoint i64* %sv_1 to i64 %1 = bitcast i8** %sv_0 to i8* call void @FUNC(i8* nonnull %1, i64 0, i64 15) store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8 %2 = call i128 @FUNC(i64 4629760934056862679) %3 = call i64 @__asm_movsd.1(i128 %2) %4 = call i128 @FUNC(i64 4597166413228745425) %5 = call i64 @__asm_movsd.1(i128 %4) %6 = call i128 @FUNC(i64 -4593654290910964728) %7 = call i64 @__asm_movsd.1(i128 %6) %8 = call i128 @FUNC(i64 -4743512124597555068) %9 = call i64 @__asm_movsd.1(i128 %8) %10 = add i64 %0, -16 %11 = add i64 %0, -176 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %.reg2mem store i64* %12, i64** %.reg2mem6 store i64 %10, i64* %.reg2mem8 store i32 0, i32* %storemerge2.reg2mem store i64 %13, i64* %.lcssa.reg2mem br i1 %15, label LBL_1, label LBL_4 LBL_1: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload9 = load i64, i64* %.reg2mem8 %.reload = load i64, i64* %.reg2mem %16 = call i64 @FUNC(i64 %.reload, i64 4198774) %17 = call i64 @FUNC(i64 %16) %18 = and i64 %17, 4294967295 %19 = call i64 @FUNC(i64 %18) %20 = call i128 @FUNC(i64 %17) %21 = call i64 @FUNC(i128 %20) %22 = add i64 %.reload9, -152 %23 = icmp eq i64 %22, 0 %24 = trunc i64 %22 to i8 %25 = call i8 @llvm.ctpop.i8(i8 %24), !range !42 %26 = urem i8 %25, 2 %27 = icmp eq i8 %26, 0 %28 = inttoptr i64 %22 to i64* %29 = load i64, i64* %28, align 8 %30 = call i128 @FUNC(i64 %29) %31 = call i128 @__asm_movq.2(i64 %21) call void @FUNC(i128 %31, i128 %30) %32 = icmp eq i1 %27, false %33 = call i128 @__asm_movq.2(i64 %21) call void @FUNC(i128 %33, i128 %30) %narrow = icmp eq i1 %23, %32 %34 = zext i1 %narrow to i64 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %.reload9, -144 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 8 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_3, label LBL_2 LBL_2: %.reload7 = load i64*, i64** %.reg2mem6 %41 = call i64 @FUNC(i64 %16) %42 = load i64, i64* %.reload7, align 8 %43 = call i64 @FUNC(i64 %41) %44 = inttoptr i64 %43 to i8* %45 = inttoptr i64 %42 to i8* %46 = call i32 @strcmp(i8* %44, i8* %45) %47 = icmp eq i32 %46, 0 %48 = zext i1 %47 to i64 %49 = call i64 @FUNC(i64 %48) %50 = call i64 @FUNC(i64 %41) br label LBL_3 LBL_3: %51 = call i64 @FUNC(i64 %17) %52 = add i32 %storemerge2.reload, 1 %53 = sext i32 %52 to i64 %54 = mul nsw i64 %53, 24 %55 = add i64 %54, %10 %56 = add i64 %55, -160 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = icmp eq i64 %58, 0 %60 = icmp eq i1 %59, false store i64 %58, i64* %.reg2mem store i64* %57, i64** %.reg2mem6 store i64 %55, i64* %.reg2mem8 store i32 %52, i32* %storemerge2.reg2mem store i64 %58, i64* %.lcssa.reg2mem br i1 %60, label LBL_1, label LBL_4 LBL_4: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i128 %30, { 1, 0 } uselistorder i64 %22, { 2, 1, 0 } uselistorder i64 %21, { 1, 0 } uselistorder i64 %17, { 0, 2, 1 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64** %.reg2mem6, { 2, 0, 1 } uselistorder i64* %.reg2mem8, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @QDECREF, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64)* @g_assert, { 2, 1, 0 } uselistorder i32 0, { 4, 5, 0, 1, 6, 2, 3 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder i32 1, { 11, 10, 9, 6, 5, 4, 3, 2, 7, 8, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
do_405_check_sat_13983
do_405_check_sat
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = load i32, i32* @gv_1, align 4 %2 = xor i32 %1, %0 %3 = icmp slt i32 %2, 0 %4 = zext i1 %3 to i64 %5 = icmp eq i1 %3, false %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = load i32, i32* bitcast (i64* @gv_2 to i32*), align 8 %8 = xor i32 %7, %1 %9 = icmp sgt i32 %8, -1 %10 = zext i1 %9 to i64 %11 = icmp eq i1 %9, false %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = zext i32 %1 to i64 %14 = icmp slt i32 %1, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: store i32 -2147483648, i32* bitcast (i64* @gv_2 to i32*), align 8 store i64 %13, i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i32 2147483647, i32* bitcast (i64* @gv_2 to i32*), align 8 store i64 %13, 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 %13, { 1, 0 } uselistorder i32 %1, { 3, 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i1 false, { 2, 3, 0, 4, 1 } }
1
BinRealVul
view_scroll_17832
view_scroll
define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.3.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_1.014.reg2mem = alloca i32 %sv_0.015.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 16 %6 = icmp eq i64 %5, %3 %7 = trunc i64 %2 to i32 %8 = sub i32 0, %7 %9 = add i32 %7, %arg4 store i32 0, i32* %arg3, align 4 %10 = icmp eq i32 %9, 0 %11 = icmp slt i32 %9, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %10, false %14 = icmp eq i1 %12, %13 store i32 %9, i32* %sv_1.1.reg2mem store i32 %8, i32* %sv_0.1.reg2mem br i1 %14, label LBL_1, label LBL_9 LBL_1: %15 = icmp eq i1 %6, false %16 = add i64 %4, 24 %17 = inttoptr i64 %16 to i64* %18 = add i64 %4, 4 %19 = inttoptr i64 %18 to i32* %20 = add i64 %3, 8 %21 = inttoptr i64 %20 to i64* store i32 %8, i32* %sv_0.015.reg2mem store i32 %9, i32* %sv_1.014.reg2mem br label LBL_2 LBL_2: %sv_1.014.reload = load i32, i32* %sv_1.014.reg2mem %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %22 = call i64 @FUNC(i64 %4, i64 %3) br i1 %15, label LBL_6, label LBL_3 LBL_3: %23 = load i64, i64* %17, align 8 %24 = icmp eq i64 %23, %3 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_4 LBL_4: %26 = load i32, i32* %19, align 4 %27 = zext i32 %26 to i64 %28 = sext i32 %sv_1.014.reload to i64 %29 = icmp slt i64 %28, %27 br i1 %29, label LBL_6, label LBL_5 LBL_5: store i32 %26, i32* %arg3, align 4 %30 = load i32, i32* %19, align 4 %31 = add i32 %30, %sv_0.015.reload store i32 0, i32* %sv_1.1.reg2mem store i32 %31, i32* %sv_0.1.reg2mem br label LBL_9 LBL_6: %32 = trunc i64 %22 to i32 %33 = sub i32 %sv_1.014.reload, %32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = add i32 %sv_1.014.reload, %sv_0.015.reload store i32 %sv_1.014.reload, i32* %arg3, align 4 store i32 0, i32* %sv_1.1.reg2mem store i32 %36, i32* %sv_0.1.reg2mem br label LBL_9 LBL_8: %37 = add i32 %sv_0.015.reload, %32 %38 = load i64, i64* %21, align 8 store i64 %38, i64* %arg2, align 8 %39 = icmp eq i32 %33, 0 %40 = icmp eq i1 %39, false store i32 %37, i32* %sv_0.015.reg2mem store i32 %33, i32* %sv_1.014.reg2mem store i32 %33, i32* %sv_1.1.reg2mem store i32 %37, i32* %sv_0.1.reg2mem br i1 %40, label LBL_2, label LBL_9 LBL_9: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %41 = add i64 %3, 16 %42 = inttoptr i64 %41 to i64* store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br label LBL_12 LBL_10: store i64 %51, i64* %arg2, align 8 %43 = call i64 @FUNC(i64 %4, i64 %3) %44 = trunc i64 %43 to i32 %45 = sub i32 %sv_0.2.reload, %44 %46 = add i32 %sv_1.2.reload, %44 %47 = icmp slt i32 %46, 1 store i32 %46, i32* %sv_1.2.reg2mem store i32 %45, i32* %sv_0.2.reg2mem br i1 %47, label LBL_12, label LBL_11 LBL_11: %48 = add i32 %sv_0.2.reload, %sv_1.2.reload store i32 %46, i32* %arg3, align 4 store i32 %48, i32* %sv_0.3.reg2mem br label LBL_14 LBL_12: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %49 = icmp slt i32 %sv_1.2.reload, 0 %50 = icmp eq i1 %49, false store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem br i1 %50, label LBL_14, label LBL_13 LBL_13: %51 = load i64, i64* %42, align 8 %52 = icmp eq i64 %51, 0 %53 = icmp eq i1 %52, false store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem br i1 %53, label LBL_10, label LBL_14 LBL_14: %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %54 = icmp eq i1 %6, false %55 = icmp eq i32 %sv_0.3.reload, 0 %or.cond = or i1 %54, %55 br i1 %or.cond, label LBL_23, label LBL_15 LBL_15: %56 = add i64 %4, 8 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = icmp eq i64 %58, 0 br i1 %59, label LBL_23, label LBL_16 LBL_16: %60 = sub i64 0, %1 %61 = and i64 %60, 4294967295 %62 = sext i32 %sv_0.3.reload to i64 %63 = icmp slt i64 %61, %62 %64 = and i64 %1, 4294967295 %65 = icmp sgt i64 %64, %62 %or.cond5 = icmp eq i1 %63, %65 br i1 %or.cond5, label LBL_18, label LBL_17 LBL_17: %66 = call i64 @FUNC(i64 %4) br label LBL_23 LBL_18: %67 = call i64 @FUNC(i64 %58, i64 1) %68 = load i64, i64* %57, align 8 %69 = zext i32 %sv_0.3.reload to i64 %70 = call i64 @FUNC(i64 %68, i64 %69) %71 = load i64, i64* %57, align 8 %72 = call i64 @FUNC(i64 %71, i64 0) %73 = trunc i64 %arg5 to i32 %74 = icmp eq i32 %73, 0 br i1 %74, label LBL_22, label LBL_19 LBL_19: %75 = icmp slt i32 %sv_0.3.reload, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_21, label LBL_20 LBL_20: %77 = sub i32 0, %sv_0.3.reload %78 = zext i32 %77 to i64 %79 = call i64 @FUNC(i64 %4, i64 %78) br label LBL_22 LBL_21: %80 = call i64 @FUNC(i64 %4, i64 %69) br label LBL_22 LBL_22: %81 = load i64, i64* %57, align 8 %82 = call i64 @FUNC(i64 %81) br label LBL_23 LBL_23: %83 = sub i32 0, %sv_0.3.reload %84 = icmp slt i32 %83, 0 %85 = icmp eq i1 %84, false %86 = select i1 %85, i32 %83, i32 %sv_0.3.reload %87 = zext i32 %86 to i64 ret i64 %87 uselistorder i32 %sv_0.3.reload, { 2, 3, 5, 6, 4, 0, 1 } uselistorder i64 %51, { 1, 0 } uselistorder i32 %46, { 1, 0, 2 } uselistorder i32 %sv_0.015.reload, { 0, 2, 1 } uselistorder i32 %sv_1.014.reload, { 2, 3, 1, 0 } uselistorder i32 %9, { 1, 0, 2, 3 } uselistorder i32 %8, { 1, 0 } uselistorder i1 %6, { 1, 0 } uselistorder i64 %4, { 3, 2, 1, 4, 0, 7, 6, 5, 8 } uselistorder i64 %3, { 1, 2, 0, 4, 3, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.015.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.014.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @scrollok, { 1, 0 } uselistorder i64 (i64, i64)* @view_get_linecount, { 1, 0 } uselistorder i1 false, { 4, 5, 3, 6, 7, 10, 8, 9, 2, 0, 1 } uselistorder i32* %arg3, { 1, 2, 0, 3 } uselistorder i64* %arg2, { 1, 0, 2 } uselistorder label LBL_9, { 0, 2, 3, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
sqlite3Fts5UnicodeAscii_5724
sqlite3Fts5UnicodeAscii
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %storemerge4.reg2mem store i32 0, i32* %sv_0.13.reg2mem br label LBL_1 LBL_1: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %2 = sext i32 %storemerge4.reload to i64 %3 = mul i64 %2, 4 %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = urem i32 %6, 32 %8 = zext i32 %7 to i64 %9 = add i64 %8, %1 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = ashr i32 %6, 5 %13 = add i32 %12, %sv_0.13.reload %14 = icmp slt i32 %sv_0.13.reload, 128 %15 = icmp slt i32 %sv_0.13.reload, %13 %or.cond1 = icmp eq i1 %14, %15 store i32 %sv_0.13.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %or.cond1, label LBL_2, label LBL_5 LBL_2: %16 = sext i32 %sv_0.13.reload to i64 %17 = sext i32 %13 to i64 store i64 %16, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %18 = add i64 %indvars.iv.reload, %0 %19 = inttoptr i64 %18 to i8* store i8 %11, i8* %19, align 1 %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1 %20 = icmp slt i64 %indvars.iv.next, 128 %21 = icmp slt i64 %indvars.iv.next, %17 %or.cond = icmp eq i1 %20, %21 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %or.cond, label LBL_3, label LBL_4 LBL_4: %22 = trunc i64 %indvars.iv.next to i32 store i32 %22, i32* %sv_0.0.lcssa.reg2mem br label LBL_5 LBL_5: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %23 = add i32 %storemerge4.reload, 1 %24 = icmp slt i32 %sv_0.0.lcssa.reload, 128 store i32 %23, i32* %storemerge4.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.13.reg2mem br i1 %24, label LBL_1, label LBL_6 LBL_6: %25 = bitcast i64* %arg2 to i8* store i8 0, i8* %25, align 1 ret i64 %0 uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i64 %indvars.iv.next, { 1, 0, 2, 3 } uselistorder i32 %6, { 1, 0 } uselistorder i32 %sv_0.13.reload, { 3, 0, 1, 2, 4 } uselistorder i64 %0, { 1, 0 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 128, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
idct4row_15738
idct4row
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i32 %9, %3 %14 = mul i32 %13, 300 %15 = add i32 %14, 8192 %16 = sub i32 %3, %9 %17 = mul i32 %16, 300 %18 = add i32 %17, 8192 %19 = mul i32 %6, 100 %20 = mul i32 %12, 200 %21 = add i32 %20, %19 %22 = mul i32 %6, 200 %23 = mul i32 %12, -100 %24 = add i32 %23, %22 %25 = add i32 %21, %15 %26 = ashr i32 %25, 14 %27 = bitcast i64* %arg1 to i32* store i32 %26, i32* %27, align 4 %28 = add i32 %18, %24 %29 = ashr i32 %28, 14 store i32 %29, i32* %5, align 4 %30 = sub i32 %18, %24 %31 = ashr i32 %30, 14 store i32 %31, i32* %8, align 4 %32 = sub i32 %15, %21 %33 = ashr i32 %32, 14 store i32 %33, i32* %11, align 4 ret i64 %10 uselistorder i32 %24, { 1, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %9, { 1, 0 } uselistorder i32 %3, { 1, 0 } }
1
BinRealVul
mailesmtp_starttls_6134
mailesmtp_starttls
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_8 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, -1 %9 = icmp eq i1 %8, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_8 LBL_2: %10 = call i64 @FUNC(i64 %5) %11 = add i64 %5, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 store i64 4294967293, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_8 LBL_3: %17 = trunc i64 %10 to i32 %18 = icmp eq i32 %17, 454 store i64 4294967292, i64* %rax.0.reg2mem br i1 %18, label LBL_8, label LBL_4 LBL_4: %19 = icmp sgt i32 %17, 454 br i1 %19, label LBL_7, label LBL_5 LBL_5: %20 = icmp eq i32 %17, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %20, label LBL_8, label LBL_6 LBL_6: %21 = icmp eq i32 %17, 220 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_8 LBL_7: store i64 4294967291, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 3, 1, 2, 4, 5, 6 } uselistorder i32 454, { 1, 0 } uselistorder label LBL_8, { 6, 2, 0, 1, 3, 4, 5 } }
0
BinRealVul
build_vlc_14665
build_vlc
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %2 = ptrtoint i64* %sv_9 to i64 %3 = call i64 @FUNC(i64 %1) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 4 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = mul nuw nsw i64 %indvars.iv.reload, 20 %9 = add i64 %8, %2 %10 = add i64 %9, -10288 %11 = inttoptr i64 %10 to i32* store i32 %7, i32* %11, align 4 %12 = add i64 %9, -10284 %13 = inttoptr i64 %12 to i32* %14 = trunc i64 %indvars.iv.reload to i32 store i32 %14, i32* %13, align 4 %15 = add i64 %9, -10280 %16 = inttoptr i64 %15 to i32* store i32 -2, i32* %16, align 4 %17 = add i64 %9, -10276 %18 = inttoptr i64 %17 to i32* store i32 %14, i32* %18, align 4 %19 = add i64 %9, -10272 %20 = inttoptr i64 %19 to i32* store i32 %14, i32* %20, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %21 = add i64 %2, -10288 store i32 256, i32* %sv_3.0.reg2mem store i32 0, i32* %sv_4.0.reg2mem br label LBL_3 LBL_3: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem br label LBL_4 LBL_4: %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %22 = sext i32 %sv_3.1.reload to i64 %23 = mul nsw i64 %22, 20 %24 = add i64 %23, %2 %25 = add i64 %24, -10288 %26 = inttoptr i64 %25 to i32* store i32 -1, i32* %26, align 4 store i32 %sv_4.0.reload, i32* %sv_2.0.reg2mem store i32 %sv_3.1.reload, i32* %sv_1.0.reg2mem store i32 %sv_3.1.reload, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %27 = sext i32 %sv_2.0.reload to i64 %28 = mul nsw i64 %27, 20 %29 = add i64 %28, %21 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %32, label LBL_8, label LBL_6 LBL_6: %33 = sext i32 %sv_1.0.reload to i64 %34 = mul nsw i64 %33, 20 %35 = add i64 %34, %21 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = sext i32 %31 to i64 %40 = icmp slt i64 %39, %38 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %40, label LBL_7, label LBL_8 LBL_7: %41 = sext i32 %sv_0.0.reload to i64 %42 = mul nsw i64 %41, 20 %43 = add i64 %42, %21 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = zext i32 %45 to i64 %47 = icmp slt i64 %39, %46 %sv_0.0.stack_var_-24.0 = select i1 %47, i32 %sv_0.0.reload, i32 %sv_2.0.reload %sv_2.0.stack_var_-32.0 = select i1 %47, i32 %sv_2.0.reload, i32 %sv_0.0.reload store i32 %sv_0.0.stack_var_-24.0, i32* %sv_1.1.reg2mem store i32 %sv_2.0.stack_var_-32.0, i32* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %48 = add i32 %sv_2.0.reload, 1 %49 = icmp eq i32 %48, %sv_3.1.reload %50 = icmp eq i1 %49, false store i32 %48, i32* %sv_2.0.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem br i1 %50, label LBL_5, label LBL_9 LBL_9: %51 = icmp eq i32 %sv_1.1.reload, %sv_3.1.reload br i1 %51, label LBL_11, label LBL_10 LBL_10: %52 = sext i32 %sv_0.1.reload to i64 %53 = mul nsw i64 %52, 20 %54 = add i64 %53, %21 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = sext i32 %sv_1.1.reload to i64 %58 = mul nsw i64 %57, 20 %59 = add i64 %58, %21 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 store i32 0, i32* %55, align 4 store i32 0, i32* %60, align 4 %62 = add i32 %61, %56 store i32 %62, i32* %26, align 4 %63 = add i64 %24, -10284 %64 = inttoptr i64 %63 to i32* store i32 -1, i32* %64, align 4 %65 = add i64 %24, -10280 %66 = inttoptr i64 %65 to i32* store i32 %sv_3.1.reload, i32* %66, align 4 %67 = add i64 %24, -10276 %68 = inttoptr i64 %67 to i32* store i32 %sv_1.1.reload, i32* %68, align 4 %69 = add i64 %24, -10272 %70 = inttoptr i64 %69 to i32* store i32 %sv_0.1.reload, i32* %70, align 4 %71 = add i32 %sv_3.1.reload, 1 store i32 %71, i32* %sv_3.1.reg2mem br label LBL_4 LBL_11: %72 = add i32 %sv_4.0.reload, 1 %73 = add i32 %sv_3.1.reload, -256 %74 = icmp eq i32 %72, %73 store i32 %sv_3.1.reload, i32* %sv_3.0.reg2mem store i32 %72, i32* %sv_4.0.reg2mem br i1 %74, label LBL_3, label LBL_12 LBL_12: %75 = add i32 %sv_3.1.reload, -1 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i64* nonnull %sv_5, i64* nonnull %sv_6, i64* nonnull %sv_7, i64* nonnull %sv_8, i64 %76, i64 0) %78 = call i64 @FUNC(i64 %1, i64 10, i32 0, i64* nonnull %sv_6, i64 2, i64 2) ret i64 %78 uselistorder i32 %sv_1.1.reload, { 2, 0, 1, 3 } uselistorder i32 %sv_0.1.reload, { 1, 0, 2 } uselistorder i32 %sv_2.0.reload, { 1, 3, 2, 0 } uselistorder i32 %sv_1.0.reload, { 0, 2, 1 } uselistorder i32 %sv_0.0.reload, { 4, 3, 2, 0, 1 } uselistorder i32 %sv_3.1.reload, { 8, 9, 7, 6, 5, 3, 4, 0, 1, 2 } uselistorder i32 %sv_4.0.reload, { 1, 0 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.1.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64 2, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i64 -10280, { 1, 0 } uselistorder i64 -10288, { 2, 0, 1 } uselistorder i64 20, { 1, 2, 3, 4, 5, 6, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ptrace_freeze_traced_9239
ptrace_freeze_traced
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %storemerge.in.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %4) %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %4) %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 1 store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* store i32 2, i32* %16, align 4 store i64 1, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %17 = load i64, i64* %6, align 8 %18 = call i64 @FUNC(i64 %17) store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem br label LBL_5 LBL_5: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem ret i64 %storemerge.in.reload uselistorder i64 %4, { 0, 1, 3, 2 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
io_sq_offload_start_13281
io_sq_offload_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
bm_ellipse_12798
bm_ellipse
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %sv_0.329.reg2mem = alloca i64 %sv_1.230.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i64 %sv_4.2.reg2mem = alloca i64 %sv_5.2.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_6.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_6.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_4.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_5.1.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %sext5 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext5, 32 %2 = trunc i64 %arg4 to i32 %sext6 = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext6, 32 %4 = sub i64 %arg4, %arg2 %5 = trunc i64 %4 to i32 %6 = sub i32 0, %5 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false %9 = select i1 %8, i32 %6, i32 %5 %10 = sub i64 %arg5, %arg3 %11 = trunc i64 %10 to i32 %12 = sub i32 0, %11 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false %15 = select i1 %14, i32 %12, i32 %11 %16 = urem i32 %15, 2 %17 = mul i32 %15, %15 %18 = mul i32 %9, 4 %19 = sub i32 4, %18 %20 = mul i32 %19, %17 %21 = sext i32 %20 to i64 %22 = add nuw nsw i32 %16, 1 %23 = mul i32 %9, %9 %24 = mul i32 %23, 4 %25 = mul i32 %24, %22 %26 = sext i32 %25 to i64 %27 = mul nuw i32 %16, %23 %28 = sext i32 %27 to i64 %29 = add nsw i64 %21, %28 %30 = add nsw i64 %29, %26 %31 = icmp sgt i32 %0, %2 %32 = trunc i64 %3 to i32 %33 = add i32 %9, %32 %34 = sext i32 %33 to i64 %sv_5.0.in = select i1 %31, i64 %sext6, i64 %sext %sv_4.0 = select i1 %31, i64 %34, i64 %3 %sv_5.0 = ashr exact i64 %sv_5.0.in, 32 %35 = trunc i64 %1 to i32 %36 = trunc i64 %arg5 to i32 %37 = icmp sgt i32 %35, %36 %spec.select = select i1 %37, i64 %arg5, i64 %1 %38 = add i32 %15, 1 %39 = icmp slt i32 %38, 0 %40 = zext i1 %39 to i32 %41 = add i32 %38, %40 %42 = ashr i32 %41, 1 %43 = trunc i64 %spec.select to i32 %44 = add i32 %42, %43 %45 = sext i32 %44 to i64 %46 = sub i32 %44, %16 %47 = sext i32 %46 to i64 %48 = mul i32 %23, 8 %49 = mul i32 %17, 8 %50 = sext i32 %48 to i64 %51 = sext i32 %49 to i64 store i64 %sv_5.0, i64* %sv_5.1.reg2mem store i64 %45, i64* %sv_0.1.reg2mem store i64 %sv_4.0, i64* %sv_4.1.reg2mem store i64 %47, i64* %sv_1.0.reg2mem store i64 %21, i64* %sv_3.0.reg2mem store i64 %26, i64* %sv_6.0.reg2mem store i64 %30, i64* %sv_2.0.reg2mem br label LBL_1 LBL_1: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_6.0.reload = load i64, i64* %sv_6.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_4.1.reload = load i64, i64* %sv_4.1.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_5.1.reload = load i64, i64* %sv_5.1.reg2mem %52 = mul i64 %sv_2.0.reload, 2 %53 = icmp sgt i64 %52, %sv_6.0.reload store i64 %52, i64* %.pre-phi.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %sv_6.0.reload, i64* %sv_6.1.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem br i1 %53, label LBL_3, label LBL_2 LBL_2: %54 = mul i64 %sv_0.1.reload, 4294967296 %sext18 = add i64 %54, 4294967296 %55 = ashr exact i64 %sext18, 32 %56 = mul i64 %sv_1.0.reload, 4294967296 %sext19 = add i64 %56, -4294967296 %57 = ashr exact i64 %sext19, 32 %58 = add i64 %sv_6.0.reload, %50 %59 = add i64 %sv_2.0.reload, %58 %.pre = mul i64 %59, 2 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %55, i64* %sv_0.2.reg2mem store i64 %57, i64* %sv_1.1.reg2mem store i64 %58, i64* %sv_6.1.reg2mem store i64 %59, i64* %sv_2.1.reg2mem br label LBL_3 LBL_3: %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %sv_6.1.reload = load i64, i64* %sv_6.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %60 = icmp sge i64 %52, %sv_3.0.reload %61 = icmp slt i64 %sv_6.1.reload, %.pre-phi.reload %or.cond = or i1 %60, %61 store i64 %sv_5.1.reload, i64* %sv_5.2.reg2mem store i64 %sv_4.1.reload, i64* %sv_4.2.reg2mem store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem br i1 %or.cond, label LBL_4, label LBL_5 LBL_4: %62 = mul i64 %sv_5.1.reload, 4294967296 %sext20 = add i64 %62, 4294967296 %63 = ashr exact i64 %sext20, 32 %64 = mul i64 %sv_4.1.reload, 4294967296 %sext21 = add i64 %64, -4294967296 %65 = ashr exact i64 %sext21, 32 %66 = add i64 %sv_3.0.reload, %51 %67 = add i64 %sv_2.1.reload, %66 store i64 %63, i64* %sv_5.2.reg2mem store i64 %65, i64* %sv_4.2.reg2mem store i64 %66, i64* %sv_3.1.reg2mem store i64 %67, i64* %sv_2.2.reg2mem br label LBL_5 LBL_5: %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem %sv_4.2.reload = load i64, i64* %sv_4.2.reg2mem %sv_5.2.reload = load i64, i64* %sv_5.2.reg2mem %68 = trunc i64 %sv_5.2.reload to i32 %69 = trunc i64 %sv_4.2.reload to i32 %70 = icmp sgt i32 %68, %69 store i64 %sv_5.2.reload, i64* %sv_5.1.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.1.reg2mem store i64 %sv_4.2.reload, i64* %sv_4.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem store i64 %sv_3.1.reload, i64* %sv_3.0.reg2mem store i64 %sv_6.1.reload, i64* %sv_6.0.reg2mem store i64 %sv_2.2.reload, i64* %sv_2.0.reg2mem br i1 %70, label LBL_6, label LBL_1 LBL_6: %71 = sub i64 %sv_0.2.reload, %sv_1.1.reload %72 = and i64 %71, 4294967295 %73 = sext i32 %15 to i64 %74 = icmp slt i64 %72, %73 store i64 %sv_1.1.reload, i64* %sv_1.230.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.329.reg2mem store i64 %72, i64* %.lcssa.reg2mem br i1 %74, label LBL_7, label LBL_8 LBL_7: %sv_0.329.reload = load i64, i64* %sv_0.329.reg2mem %sv_1.230.reload = load i64, i64* %sv_1.230.reg2mem %75 = mul i64 %sv_0.329.reload, 4294967296 %sext24 = add i64 %75, 4294967296 %76 = ashr exact i64 %sext24, 32 %77 = mul i64 %sv_1.230.reload, 4294967296 %sext27 = add i64 %77, -4294967296 %78 = ashr exact i64 %sext27, 32 %79 = sub nsw i64 %76, %78 %80 = and i64 %79, 4294967295 %81 = icmp slt i64 %80, %73 store i64 %78, i64* %sv_1.230.reg2mem store i64 %76, i64* %sv_0.329.reg2mem store i64 %80, i64* %.lcssa.reg2mem br i1 %81, label LBL_7, label LBL_8 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %73, { 1, 0 } uselistorder i64 %sv_5.2.reload, { 1, 0 } uselistorder i64 %sv_4.2.reload, { 1, 0 } uselistorder i64 %sv_6.1.reload, { 1, 0 } uselistorder i64 %sv_2.1.reload, { 1, 0 } uselistorder i64 %52, { 2, 0, 1 } uselistorder i64 %sv_5.1.reload, { 1, 0 } uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i64 %sv_4.1.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %sv_3.0.reload, { 2, 0, 1 } uselistorder i64 %sv_6.0.reload, { 2, 0, 1 } uselistorder i64 %sv_2.0.reload, { 1, 0, 2 } uselistorder i32 %23, { 0, 2, 1 } uselistorder i32 %16, { 1, 2, 0 } uselistorder i32 %15, { 2, 3, 4, 1, 0 } uselistorder i32 %9, { 1, 2, 3, 0 } uselistorder i64 %sext6, { 1, 0 } uselistorder i64* %sv_5.1.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_4.1.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_6.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_6.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_5.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_4.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.230.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.329.reg2mem, { 2, 0, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 4, { 0, 2, 1 } uselistorder i64 32, { 1, 2, 3, 4, 5, 6, 0, 7, 8 } uselistorder i64 4294967296, { 0, 9, 1, 2, 10, 3, 4, 11, 5, 6, 7, 8 } uselistorder i64 %arg4, { 1, 0, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
io_destroy_4873
io_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* @gv_0, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %4, 8 %6 = call i64 @FUNC(i64 %5) %7 = inttoptr i64 %arg1 to i32* store i32 1, i32* %7, align 4 store i64 %4, i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %8 = inttoptr i64 %storemerge.reload to i64* %9 = load i64, i64* %8, align 8 %10 = icmp ne i64 %9, 0 %11 = icmp eq i64 %9, %arg1 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 %13 = add i64 %9, 8 store i64 %13, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_2: %14 = icmp eq i64 %9, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = add i64 %arg1, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 store i64 %17, i64* %8, align 8 br label LBL_4 LBL_4: %18 = trunc i64 %1 to i32 %19 = call i64 @FUNC(i64 %5) %20 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %arg1) %21 = icmp eq i32 %18, 0 %22 = zext i1 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %arg1) br label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %arg1) %28 = call i64 @FUNC(i64 %arg1) %29 = add i64 %arg1, 16 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64 %arg1) ret i64 %31 uselistorder i64 %9, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @put_ioctx, { 1, 0 } uselistorder i64 %arg1, { 6, 5, 4, 3, 2, 7, 1, 0, 8 } }
0
BinRealVul
WriteMSLImage_6367
WriteMSLImage
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = icmp eq i32* %arg1, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 305419896 br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 50, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %7 = icmp eq i64* %arg2, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %9 = trunc i64 %2 to i32 %10 = icmp eq i32 %9, 305419896 br i1 %10, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %11 = ptrtoint i64* %arg2 to i64 %12 = add i64 %11, 24 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_10, label LBL_9 LBL_9: %16 = add i64 %11, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0), i64 %18) br label LBL_10 LBL_10: %20 = add i64 %11, 8 %21 = call i64 @FUNC(i64 %11, i64 0, i64 0, i64 1, i64 %20) store i64 %21, i64* %sv_0, align 8 %22 = ptrtoint i32* %arg1 to i64 %23 = call i64 @FUNC(i64 %22, i64* nonnull %sv_0, i64 %20) ret i64 %23 uselistorder i64 %11, { 1, 0, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 } uselistorder i64* %arg2, { 1, 0 } }
0
BinRealVul
isdn_capi_rec_hl_msg_10766
isdn_capi_rec_hl_msg
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 128 %7 = add nsw i32 %6, -1 %8 = udiv i32 %5, 256 %9 = urem i32 %8, 128 %10 = zext i32 %9 to i64 %11 = zext i32 %7 to i64 %12 = call i64 @FUNC(i64 %11, i64 %10) %13 = trunc i64 %1 to i32 %14 = icmp eq i32 %13, 1 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %2) store i64 %16, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
init_new_context_11205
init_new_context
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = bitcast i64* %arg2 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* store i32 -1, i32* %6, align 4 br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 %0) ret i64 0 uselistorder i64 %0, { 1, 0 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
__cil_build_ast_last_child_helper_12355
__cil_build_ast_last_child_helper
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem5 = alloca i32 %.reg2mem3 = alloca i32 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = bitcast i64* %rsi to i32* %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 store i64 %9, i64* %arg2, align 8 %10 = icmp eq i32 %2, 2 %11 = icmp eq i1 %10, false store i32 %2, i32* %.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: store i64 0, i64* %8, align 8 %.pre = load i32, i32* %6, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %12 = icmp eq i32 %.reload, 3 %13 = icmp eq i1 %12, false store i32 %.reload, i32* %.reg2mem3 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = add i64 %5, 16 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %.pre1 = load i32, i32* %6, align 8 store i32 %.pre1, i32* %.reg2mem3 br label LBL_5 LBL_5: %.reload4 = load i32, i32* %.reg2mem3 %16 = icmp eq i32 %.reload4, 4 %17 = icmp eq i1 %16, false store i32 %.reload4, i32* %.reg2mem5 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = add i64 %5, 24 %19 = inttoptr i64 %18 to i64* store i64 0, i64* %19, align 8 %.pre2 = load i32, i32* %6, align 8 store i32 %.pre2, i32* %.reg2mem5 br label LBL_7 LBL_7: %.reload6 = load i32, i32* %.reg2mem5 %20 = icmp eq i32 %.reload6, 5 %21 = icmp eq i1 %20, false br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = add i64 %5, 32 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 br label LBL_9 LBL_9: %24 = ptrtoint i64* %arg1 to i64 %25 = add i64 %24, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) br label LBL_10 LBL_10: ret i64 0 uselistorder i64 %5, { 2, 1, 0, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem3, { 0, 2, 1 } uselistorder i32* %.reg2mem5, { 0, 2, 1 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
virtio_balloon_class_init_3549
virtio_balloon_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 store i64 %1, i64* %arg1, align 8 %2 = add i64 %0, 8 %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 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 4198662, i64* %7, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* store i64 4198669, i64* %9, align 8 %10 = add i64 %0, 32 %11 = inttoptr i64 %10 to i64* store i64 4198676, i64* %11, align 8 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i64* store i64 4198683, i64* %13, align 8 %14 = add i64 %0, 48 %15 = inttoptr i64 %14 to i64* store i64 4198690, i64* %15, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 } }
0
BinRealVul
intel_dp_aux_native_read_17704
intel_dp_aux_native_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i8, align 1 %1 = call i64 @FUNC(i64 %0) store i8 0, i8* %sv_2, align 1 %2 = add i64 %arg4, 1 %3 = and i64 %2, 4294967295 %4 = bitcast i32* %sv_1 to i64* %5 = call i64 @FUNC(i64 %0, i8* nonnull %sv_2, i32 4, i64* nonnull %4, i64 %3) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i32 %6, i32* %.reg2mem store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %8, label LBL_1, label LBL_6 LBL_1: %.reload = load i32, i32* %.reg2mem %9 = icmp slt i32 %.reload, 0 %10 = icmp eq i1 %9, false store i32 %.reload, i32* %rax.0.shrunk.reg2mem br i1 %10, label LBL_2, label LBL_6 LBL_2: %11 = load i32, i32* %sv_1, align 4 %12 = urem i32 %11, 4 %13 = icmp eq i32 %12, 1 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = add i32 %.reload, -1 %16 = call i64* @memcpy(i64* %arg3, i64* nonnull %sv_0, i32 %15) store i32 %15, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_4: %17 = icmp eq i32 %12, 2 %18 = icmp eq i1 %17, false store i32 2, i32* %rax.0.shrunk.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 100) %20 = call i64 @FUNC(i64 %0, i8* nonnull %sv_2, i32 4, i64* nonnull %4, i64 %3) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i32 %21, i32* %.reg2mem store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %23, label LBL_1, label LBL_6 LBL_6: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %12, { 1, 0 } uselistorder i32 %.reload, { 2, 0, 1 } uselistorder i64* %4, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i8* %sv_2, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 3, 5, 2, 4 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder i32 0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i32, i64*, i64)* @intel_dp_aux_ch, { 1, 0 } uselistorder i32 4, { 2, 0, 1 } uselistorder label LBL_6, { 0, 2, 4, 1, 3 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
mfra_dump_10751
mfra_dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi.02.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %2 = inttoptr i64 %arg2 to %_IO_FILE* %3 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_1 to i64*), i32 1, i32 2, %_IO_FILE* %2) %4 = call i64 @FUNC(i64 ptrtoint ([3 x i8]* @gv_1 to i64)) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %wide.trip.count = and i64 %4, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.02.reg2mem br label LBL_2 LBL_2: %rdi.02.reload = load i64, i64* %rdi.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = call i64 @FUNC(i64 %rdi.02.reload, i64 %indvars.iv.reload) %8 = call i64 @FUNC(i64 %7, i64 %arg2, i64 1) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %7, i64* %rdi.02.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %9 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %arg2) ret i64 0 uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.02.reg2mem, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
helper_discard_movcal_backup_14350
helper_discard_movcal_backup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.01.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_1, label LBL_4 LBL_1: %3 = add i64 %0, 8 store i64 %0, i64* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %4 = inttoptr i64 %sv_0.01.reload to i64* %5 = load i64, i64* %4, align 8 call void @free(i64* %4) store i64 %5, i64* %arg1, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %sv_0.01.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_3: %8 = inttoptr i64 %3 to i64* store i64 %0, i64* %8, align 8 br label LBL_4 LBL_4: ret i64 %0 uselistorder i64 %5, { 0, 2, 1 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg1, { 1, 0, 2 } }
1
BinRealVul
rt6_free_pcpu_18041
rt6_free_pcpu
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi.0.reg2mem = alloca i64 %rdi.11.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 %arg1, i64* %rdi.11.reg2mem br i1 %0, label LBL_5, label LBL_1 LBL_1: %rdi.11.reload = load i64, i64* %rdi.11.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, %rdi.11.reload %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i64 %rdi.11.reload, i64* %rdi.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %4) store i64 0, i64* %3, align 8 store i64 %4, i64* %rdi.0.reg2mem br label LBL_3 LBL_3: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %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 %rdi.0.reload, i64* %rdi.11.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %7 = inttoptr i64 %arg1 to i64* store i64 0, i64* %7, align 8 br label LBL_5 LBL_5: ret i64 %arg1 uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.11.reg2mem, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
webvtt_event_to_ass_15048
webvtt_event_to_ass
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.16.reg2mem = alloca i32 %sv_1.18.reg2mem = alloca i32 %sv_2.19.reg2mem = alloca i64 %.reg2mem27 = alloca i8* %sv_2.1.be.reg2mem = alloca i64 %sv_0.1.be.reg2mem = alloca i32 %.reg2mem = alloca i8 %.pre-phi.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = inttoptr i64 %arg2 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false store i8* %4, i8** %.reg2mem27 store i64 %arg2, i64* %sv_2.19.reg2mem store i32 0, i32* %sv_0.16.reg2mem br i1 %7, label LBL_3.preheader, label LBL_17 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = mul i64 %indvars.iv.reload, 16 %9 = add i64 %8, ptrtoint ([8 x i8*]* @gv_0 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 16 %12 = inttoptr i64 %11 to i8* %13 = call i32 @strlen(i8* %12) %14 = call i32 @strncmp(i8* %.reload28, i8* %12, i32 %13) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = sext i32 %13 to i64 %18 = add i64 %8, ptrtoint ([7 x i8*]* @gv_1 to i64) %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 16 %21 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %20, i64 %11, i64 %2, i64 %1) %22 = add i64 %sv_2.19.reload, %17 store i32 1, i32* %sv_1.0.reg2mem store i64 %20, i64* %rdx.1.reg2mem store i64 %22, i64* %sv_2.0.reg2mem br label LBL_5 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %23 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %23, label LBL_1, label LBL_4 LBL_4: %24 = sext i32 %13 to i64 store i32 %sv_1.18.reload, i32* %sv_1.0.reg2mem store i64 %24, i64* %rdx.1.reg2mem store i64 %sv_2.19.reload, i64* %sv_2.0.reg2mem br label LBL_5 LBL_5: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %25 = inttoptr i64 %sv_2.0.reload to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, 0 br i1 %27, label LBL_17, label LBL_6 LBL_6: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %28 = icmp eq i32 %sv_1.0.reload, 0 store i8* %25, i8** %.pre-phi.reg2mem store i8 %26, i8* %.reg2mem store i32 0, i32* %sv_0.1.be.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.be.reg2mem br i1 %28, label LBL_7, label LBL_15 LBL_7: %29 = icmp eq i8 %26, 60 %30 = icmp eq i1 %29, false store i32 1, i32* %sv_0.0.reg2mem br i1 %30, label LBL_8, label LBL_14 LBL_8: %31 = icmp eq i8 %26, 62 %32 = icmp eq i1 %31, false store i32 0, i32* %sv_0.0.reg2mem br i1 %32, label LBL_9, label LBL_14 LBL_9: %33 = icmp eq i8 %26, 10 %34 = icmp eq i1 %33, false br i1 %34, label LBL_12, label LBL_10 LBL_10: %35 = add i64 %sv_2.0.reload, 1 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = icmp eq i8 %37, 0 br i1 %38, label LBL_12, label LBL_11 LBL_11: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %39 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 %rdx.1.reload, i64 %11, i64 %2, i64 %1) store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br label LBL_14 LBL_12: %40 = icmp eq i32 %sv_0.16.reload, 0 %41 = icmp eq i1 %40, false %42 = icmp eq i8 %26, 13 %or.cond = or i1 %41, %42 store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_14, label LBL_13 LBL_13: %43 = sext i8 %26 to i64 %44 = and i64 %43, 4294967295 %45 = call i64 @FUNC(i64 %3, i64 %44, i64 1) store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %46 = add i64 %sv_2.0.reload, 1 %.phi.trans.insert = inttoptr i64 %46 to i8* %.pre = load i8, i8* %.phi.trans.insert, align 1 store i8* %.phi.trans.insert, i8** %.pre-phi.reg2mem store i8 %.pre, i8* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.be.reg2mem store i64 %46, i64* %sv_2.1.be.reg2mem br label LBL_15 LBL_15: %sv_2.1.be.reload = load i64, i64* %sv_2.1.be.reg2mem %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem %.reload = load i8, i8* %.reg2mem %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem %47 = icmp eq i8 %.reload, 0 %48 = icmp eq i1 %47, false store i8* %.pre-phi.reload, i8** %.reg2mem27 store i64 %sv_2.1.be.reload, i64* %sv_2.19.reg2mem store i32 0, i32* %sv_1.18.reg2mem store i32 %sv_0.1.be.reload, i32* %sv_0.16.reg2mem br i1 %48, label LBL_3.preheader, label LBL_17 LBL_16: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %sv_1.18.reload = load i32, i32* %sv_1.18.reg2mem %sv_2.19.reload = load i64, i64* %sv_2.19.reg2mem %.reload28 = load i8*, i8** %.reg2mem27 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_17: ret i64 0 uselistorder i32 %sv_0.16.reload, { 3, 0, 1, 2 } uselistorder i8 %26, { 2, 1, 3, 4, 5, 0, 6 } uselistorder i64 %sv_2.0.reload, { 3, 1, 0, 2 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 5, 3, 1, 2 } uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i8* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.be.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.1.be.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem27, { 0, 2, 1 } uselistorder i64* %sv_2.19.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.16.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 2, 1, 3, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @av_bprintf, { 1, 0 } uselistorder i32 0, { 1, 20, 3, 2, 22, 21, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } uselistorder i1 false, { 6, 1, 2, 3, 4, 5, 0 } uselistorder i8 0, { 3, 1, 2, 0, 4 } uselistorder label LBL_3.preheader, { 1, 0 } uselistorder label LBL_14, { 2, 3, 4, 0, 1 } }
1
BinRealVul
pci_spapr_set_irq_3180
pci_spapr_set_irq
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg3, 4294967295 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %sext1 = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext1, 30 %6 = add i64 %4, %5 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = and i64 %arg2, 4294967295 %10 = call i64 @FUNC(i64 %0, i64 %9, i32 %8) %11 = call i64 @FUNC(i64 %0, i64 %9) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 %1) ret i64 %13 uselistorder i64 4294967295, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %arg2, { 1, 0 } }
0
BinRealVul
saxEndDocument_12071
saxEndDocument
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem4 = alloca i64 %.reg2mem = alloca i64 %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %1 = call i32 @fwrite(i64* bitcast ([19 x i8]* @gv_1 to i64*), i32 1, i32 18, %_IO_FILE* %0) %2 = load i64, i64* @gv_2, align 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: %7 = inttoptr i64 %2 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_4: %13 = load i64, i64* @gv_6, align 8 %14 = icmp eq i64 %13, 0 store i64 %13, i64* %.reg2mem store i64 %8, i64* %.reg2mem4 br i1 %14, label LBL_7, label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %15 = call i64 @FUNC(i64 %.reload) %16 = load i64, i64* @gv_6, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 store i64 %18, i64* @gv_6, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %.reg2mem br i1 %20, label LBL_5, label LBL_6 LBL_6: %.pre.pre = load i64, i64* @gv_2, align 8 %.phi.trans.insert.phi.trans.insert = inttoptr i64 %.pre.pre to i64* %.pre1.pre = load i64, i64* %.phi.trans.insert.phi.trans.insert, align 8 store i64 %.pre1.pre, i64* %.reg2mem4 br label LBL_7 LBL_7: %.reload5 = load i64, i64* %.reg2mem4 %21 = icmp eq i64 %.reload5, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_9, label LBL_8 LBL_8: %23 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_9: %25 = load i32, i32* @gv_8, align 4 %26 = icmp eq i32 %25, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_11, label LBL_10 LBL_10: store i32 2, i32* @gv_8, align 4 br label LBL_13 LBL_11: %28 = icmp eq i32 %25, 2 br i1 %28, label LBL_13, label LBL_12 LBL_12: %29 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_13: ret i64 2 uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem4, { 0, 2, 1 } uselistorder void (i32)* @exit, { 3, 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 4, 3, 2, 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
parse_MP4SLDescrTag_2974
parse_MP4SLDescrTag
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_6 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %3) %9 = trunc i64 %8 to i8 %10 = icmp sgt i8 %9, -1 %11 = icmp eq i1 %10, false %12 = zext i1 %11 to i32 %13 = bitcast i64* %arg1 to i32* store i32 %12, i32* %13, align 4 %14 = and i64 %8, 64 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false %17 = zext i1 %16 to i32 %18 = add i64 %2, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = and i64 %8, 32 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false %23 = zext i1 %22 to i32 %24 = inttoptr i64 %3 to i32* store i32 %23, i32* %24, align 4 %25 = and i64 %8, 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false %28 = zext i1 %27 to i32 %29 = add i64 %2, 12 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = and i64 %8, 4 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false %34 = zext i1 %33 to i32 %35 = add i64 %2, 16 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = and i64 %8, 2 %38 = icmp eq i64 %37, 0 %39 = icmp eq i1 %38, false %40 = zext i1 %39 to i32 %41 = add i64 %2, 20 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = call i64 @FUNC(i64 %3) %44 = trunc i64 %43 to i32 %45 = add i64 %2, 24 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 %47 = call i64 @FUNC(i64 %3) %48 = call i64 @FUNC(i64 %3) %49 = trunc i64 %48 to i32 %50 = add i64 %2, 28 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = icmp slt i32 %49, 65 br i1 %52, label LBL_4, label LBL_3 LBL_3: %53 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0)) store i32 64, i32* %51, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %54 = call i64 @FUNC(i64 %3) %55 = trunc i64 %54 to i32 %56 = add i64 %2, 32 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = call i64 @FUNC(i64 %3) %59 = trunc i64 %58 to i32 %60 = add i64 %2, 36 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = call i64 @FUNC(i64 %3) %63 = trunc i64 %62 to i32 %64 = add i64 %2, 40 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = call i64 @FUNC(i64 %3) %67 = trunc i64 %66 to i32 %68 = ashr i32 %67, 12 %69 = add i64 %2, 44 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = udiv i32 %67, 128 %72 = urem i32 %71, 32 %73 = add i64 %2, 48 %74 = inttoptr i64 %73 to i32* store i32 %72, i32* %74, align 4 %75 = udiv i32 %67, 4 %76 = urem i32 %75, 32 %77 = add i64 %2, 52 %78 = inttoptr i64 %77 to i32* store i32 %76, i32* %78, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %79 = inttoptr i64 %3 to i64* %80 = load i64, i64* %79, align 8 %81 = call i64 @FUNC(i64 %80, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %3, { 8, 0, 1, 2, 3, 5, 4, 6, 7, 9, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @avio_r8, { 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0, 3, 2 } }
0
BinRealVul
client_req_free_17767
client_req_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64 %arg1) store i64 %2, 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 (i64)* @xfree, { 1, 0 } }
1
BinRealVul
wl12xx_allocate_link_18218
wl12xx_allocate_link
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1, i64 8) %4 = trunc i64 %3 to i8 %5 = icmp ult i8 %4, 8 store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = urem i64 %3, 256 %7 = ptrtoint i64* %arg2 to i64 %8 = call i64 @FUNC(i64 %1, i64 %6) %9 = trunc i64 %8 to i8 %10 = add i64 %1, 1 %11 = add i64 %10, %6 %12 = inttoptr i64 %11 to i8* store i8 %9, i8* %12, align 1 %13 = add i64 %1, 16 %14 = call i64 @FUNC(i64 %13, i64 %2) %15 = call i64 @FUNC(i64 %6, i64 %1) %16 = call i64 @FUNC(i64 %6, i64 %7) %17 = call i64 @FUNC(i64 %13, i64 %2) %18 = bitcast i64* %arg3 to i8* store i8 %4, i8* %18, align 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 %6, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0, 3, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @__set_bit, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ras_putdatastd_12807
ras_putdatastd
define i64 @FUNC(i64 %arg1, i32* %arg2, i64 %arg3, i32 %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv40.reg2mem = alloca i64 %storemerge436.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.128.reg2mem = alloca i32 %sv_0.029.reg2mem = alloca i32 %storemerge11.reg2mem = alloca i32 %sv_1.231.reg2mem = alloca i32 %sv_0.132.reg2mem = alloca i32 %storemerge833.reg2mem = alloca i32 %indvars.iv44.reg2mem = alloca i64 %indvars.iv46.reg2mem = alloca i64 %indvars.iv48.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %4 = icmp slt i32 %arg4, 4 br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i64* %sv_3 to i64 %6 = ptrtoint i64* %sv_2 to i64 %7 = add i64 %5, -80 store i64 0, i64* %indvars.iv48.reg2mem br label LBL_3 LBL_3: %indvars.iv48.reload = load i64, i64* %indvars.iv48.reg2mem %8 = mul i64 %indvars.iv48.reload, 8 %9 = add i64 %8, %7 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %10, align 8 %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48.reload, 1 %exitcond50 = icmp eq i64 %indvars.iv.next49, 3 store i64 %indvars.iv.next49, i64* %indvars.iv48.reg2mem br i1 %exitcond50, label LBL_4, label LBL_3 LBL_4: %11 = icmp sgt i32 %arg4, 0 br i1 %11, label LBL_5, label LBL_8 LBL_5: %12 = sext i32 %arg4 to i64 store i64 0, i64* %indvars.iv46.reg2mem br label LBL_6 LBL_6: %indvars.iv46.reload = load i64, i64* %indvars.iv46.reg2mem %13 = call i64 @FUNC(i64 %arg3) %14 = call i64 @FUNC(i64 %arg3) %15 = and i64 %13, 4294967295 %16 = and i64 %14, 4294967295 %17 = call i64 @FUNC(i64 %16, i64 %15) %18 = mul i64 %indvars.iv46.reload, 8 %19 = add i64 %18, %7 %20 = inttoptr i64 %19 to i64* store i64 %17, i64* %20, align 8 %21 = icmp eq i64 %17, 0 br i1 %21, label LBL_28, label LBL_7 LBL_7: %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46.reload, 1 %22 = icmp slt i64 %indvars.iv.next47, %12 store i64 %indvars.iv.next47, i64* %indvars.iv46.reg2mem br i1 %22, label LBL_6, label LBL_8 LBL_8: %23 = bitcast i64* %rsi to i32* %24 = load i32, i32* %23, align 8 %25 = ptrtoint i32* %arg2 to i64 %26 = add i64 %25, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = mul i32 %28, %24 %30 = sdiv i32 %29, 16384 %31 = add i64 %25, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = mul i32 %30, %33 %35 = add i64 %25, 12 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = load i32, i32* %32, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_25, label LBL_9 LBL_9: %39 = ptrtoint i32* %arg5 to i64 %40 = add i64 %6, -16 %41 = inttoptr i64 %40 to i64* %42 = sext i32 %arg4 to i64 store i32 0, i32* %storemerge436.reg2mem br label LBL_11.preheader LBL_10: %indvars.iv44.reload = load i64, i64* %indvars.iv44.reg2mem %43 = mul i64 %indvars.iv44.reload, 8 %44 = add i64 %43, %7 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %arg3) %48 = mul i64 %indvars.iv44.reload, 4 %49 = add i64 %48, %39 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 store i64 %46, i64* %41, align 8 %52 = and i64 %47, 4294967295 %53 = call i64 @FUNC(i64 %arg3, i32 %51, i64 0, i64 %119, i64 %52, i64 1) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_28, label LBL_11 LBL_11: %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44.reload, 1 %57 = icmp slt i64 %indvars.iv.next45, %42 store i64 %indvars.iv.next45, i64* %indvars.iv44.reg2mem br i1 %57, label LBL_10, label LBL_12 LBL_12: %58 = load i32, i32* %23, align 8 %59 = icmp eq i32 %58, 0 br i1 %59, label LBL_22, label LBL_13 LBL_13: %60 = zext i32 %58 to i64 store i32 0, i32* %storemerge833.reg2mem store i32 0, i32* %sv_0.132.reg2mem store i32 0, i32* %sv_1.231.reg2mem br label LBL_14 LBL_14: %sv_1.231.reload = load i32, i32* %sv_1.231.reg2mem %sv_0.132.reload = load i32, i32* %sv_0.132.reg2mem %storemerge833.reload = load i32, i32* %storemerge833.reg2mem %61 = load i32, i32* %27, align 4 %62 = icmp eq i32 %61, 24 %63 = icmp eq i1 %62, false %64 = zext i32 %storemerge833.reload to i64 %65 = call i64 @FUNC(i64 %3, i64 %64) %66 = trunc i64 %65 to i32 store i32 %66, i32* %storemerge11.reg2mem br i1 %63, label LBL_16, label LBL_15 LBL_15: %67 = call i64 @FUNC(i64 %2, i64 %64) %68 = trunc i64 %67 to i32 %69 = udiv i32 %68, 256 %70 = or i32 %69, %66 %71 = call i64 @FUNC(i64 %1, i64 %64) %72 = trunc i64 %71 to i32 %73 = udiv i32 %72, 65536 %74 = or i32 %70, %73 %75 = urem i32 %74, 256 store i32 %75, i32* %storemerge11.reg2mem br label LBL_16 LBL_16: %76 = urem i32 %61, 32 %77 = shl i32 %sv_1.231.reload, %76 %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %78 = load i32, i32* %27, align 4 %79 = urem i32 %78, 32 %notmask = shl nsw i32 -1, %79 %80 = sub i32 0, %notmask %81 = sub i32 %80, 1 %82 = and i32 %storemerge11.reload, %81 %83 = or i32 %82, %77 %84 = add i32 %78, %sv_0.132.reload %85 = icmp sgt i32 %84, 7 store i32 %84, i32* %sv_0.029.reg2mem store i32 %83, i32* %sv_1.128.reg2mem store i32 %83, i32* %sv_1.1.lcssa.reg2mem store i32 %84, i32* %sv_0.0.lcssa.reg2mem br i1 %85, label LBL_17, label LBL_19 LBL_17: %sv_1.128.reload = load i32, i32* %sv_1.128.reg2mem %sv_0.029.reload = load i32, i32* %sv_0.029.reg2mem %86 = add i32 %sv_0.029.reload, 24 %87 = urem i32 %86, 32 %88 = lshr i32 %sv_1.128.reload, %87 %89 = urem i32 %88, 256 %90 = zext i32 %89 to i64 %91 = call i64 @FUNC(i64 %arg1, i64 %90) %92 = trunc i64 %91 to i32 %93 = icmp eq i32 %92, -1 br i1 %93, label LBL_28, label LBL_18 LBL_18: %94 = add nsw i32 %sv_0.029.reload, -8 %95 = urem i32 %94, 32 %notmask57 = shl nsw i32 -1, %95 %96 = sub i32 0, %notmask57 %97 = sub i32 %96, 1 %98 = and i32 %sv_1.128.reload, %97 %99 = icmp sgt i32 %94, 7 store i32 %94, i32* %sv_0.029.reg2mem store i32 %98, i32* %sv_1.128.reg2mem store i32 %98, i32* %sv_1.1.lcssa.reg2mem store i32 %94, i32* %sv_0.0.lcssa.reg2mem br i1 %99, label LBL_17, label LBL_19 LBL_19: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %100 = add i32 %storemerge833.reload, 1 %101 = sext i32 %100 to i64 %102 = icmp slt i64 %101, %60 store i32 %100, i32* %storemerge833.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.132.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.231.reg2mem br i1 %102, label LBL_14, label LBL_20 LBL_20: %103 = icmp slt i32 %sv_0.0.lcssa.reload, 1 br i1 %103, label LBL_22, label LBL_21 LBL_21: %104 = sub i32 8, %sv_0.0.lcssa.reload %105 = urem i32 %104, 32 %106 = lshr i32 %sv_1.1.lcssa.reload, %105 %storemerge15 = zext i32 %106 to i64 %107 = urem i32 %sv_0.0.lcssa.reload, 32 %108 = shl i32 -1, %107 %storemerge3 = zext i32 %108 to i64 store i64 %storemerge3, i64* %rsi, align 8 %109 = xor i64 %storemerge3, 4294967295 %110 = and i64 %109, %storemerge15 %111 = call i64 @FUNC(i64 %arg1, i64 %110) %112 = trunc i64 %111 to i32 %113 = icmp eq i32 %112, -1 br i1 %113, label LBL_28, label LBL_22 LBL_22: %114 = add i32 %storemerge436.reload, 1 %115 = load i32, i32* %32, align 4 %116 = zext i32 %115 to i64 %117 = sext i32 %114 to i64 %118 = icmp slt i64 %117, %116 store i32 %114, i32* %storemerge436.reg2mem br i1 %118, label LBL_11.preheader, label LBL_25 LBL_23: %storemerge436.reload = load i32, i32* %storemerge436.reg2mem br i1 %11, label LBL_10.lr.ph, label LBL_12 LBL_24: %119 = zext i32 %storemerge436.reload to i64 store i64 0, i64* %indvars.iv44.reg2mem br label LBL_10 LBL_25: store i64 0, i64* %storemerge5.reg2mem br i1 %11, label LBL_26, label LBL_33 LBL_26: %wide.trip.count42 = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv40.reg2mem br label LBL_27 LBL_27: %indvars.iv40.reload = load i64, i64* %indvars.iv40.reg2mem %120 = mul i64 %indvars.iv40.reload, 8 %121 = add i64 %120, %7 %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 %124 = call i64 @FUNC(i64 %123) store i64 0, i64* %122, align 8 %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40.reload, 1 %exitcond43 = icmp eq i64 %indvars.iv.next41, %wide.trip.count42 store i64 %indvars.iv.next41, i64* %indvars.iv40.reg2mem store i64 0, i64* %storemerge5.reg2mem br i1 %exitcond43, label LBL_33, label LBL_27 LBL_28: store i64 4294967295, i64* %storemerge5.reg2mem br i1 %11, label LBL_29, label LBL_33 LBL_29: %wide.trip.count = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_30 LBL_30: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %125 = mul i64 %indvars.iv.reload, 8 %126 = add i64 %125, %7 %127 = inttoptr i64 %126 to i64* %128 = load i64, i64* %127, align 8 %129 = icmp eq i64 %128, 0 br i1 %129, label LBL_32, label LBL_31 LBL_31: %130 = call i64 @FUNC(i64 %128) br label LBL_32 LBL_32: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 4294967295, i64* %storemerge5.reg2mem br i1 %exitcond, label LBL_33, label LBL_30 LBL_33: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem ret i64 %storemerge5.reload uselistorder i32 %storemerge436.reload, { 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 2, 0, 1, 3 } uselistorder i32 %94, { 0, 1, 3, 2 } uselistorder i32 %sv_1.128.reload, { 1, 0 } uselistorder i32 %78, { 1, 0 } uselistorder i32 %66, { 1, 0 } uselistorder i64 %indvars.iv44.reload, { 0, 2, 1 } uselistorder i32* %32, { 1, 0, 2 } uselistorder i64 %25, { 1, 0, 2 } uselistorder i64* %indvars.iv48.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv46.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv44.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge833.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.132.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.231.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge11.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.029.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.128.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv40.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 4, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @jas_matrix_destroy, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i32 -1, { 3, 4, 0, 2, 1 } uselistorder i32 256, { 0, 2, 1 } uselistorder i64 (i64, i64)* @jas_matrix_getv, { 1, 0, 2 } uselistorder i64 (i64)* @jas_image_width, { 1, 0 } uselistorder i64 1, { 6, 5, 4, 7, 3, 2, 0, 1 } uselistorder i64 8, { 0, 1, 2, 5, 3, 4 } uselistorder i32 %arg4, { 3, 2, 1, 0, 4, 5 } uselistorder i64 %arg3, { 0, 1, 3, 2 } uselistorder label LBL_33, { 1, 3, 0, 2 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_28, { 1, 3, 2, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_11.preheader, { 1, 0 } uselistorder label LBL_22, { 2, 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
i386_tr_translate_insn_15610
i386_tr_translate_insn
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = add i64 %1, 32 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %1, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = urem i32 %12, 2 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = bitcast i64* %arg1 to i32* store i32 1, i32* %15, align 4 br label LBL_8 LBL_3: %16 = add i64 %10, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = urem i32 %18, 2 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = add i64 %1, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %23, 14 %25 = xor i64 %24, %23 %26 = urem i64 %25, 4096 %27 = icmp eq i64 %26, 0 %28 = icmp ult i64 %23, 4096 %29 = icmp eq i1 %28, false %or.cond = icmp eq i1 %29, %27 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %30 = bitcast i64* %arg1 to i32* store i32 1, i32* %30, align 4 br label LBL_8 LBL_6: %31 = add i64 %1, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = sub i64 %2, %33 %35 = icmp ult i64 %34, 4064 br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = bitcast i64* %arg1 to i32* store i32 1, i32* %36, align 4 br label LBL_8 LBL_8: %37 = add i64 %1, 8 %38 = inttoptr i64 %37 to i64* store i64 %2, i64* %38, align 8 ret i64 %1 uselistorder i64 %23, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 3, 4, 0, 2, 1, 5, 6 } uselistorder i64 4096, { 1, 0 } }
1
BinRealVul
qemu_get_be32_501
qemu_get_be32
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = mul i64 %1, 16777216 %3 = call i64 @FUNC(i64 %0) %4 = mul i64 %3, 65536 %5 = and i64 %4, 16711680 %6 = call i64 @FUNC(i64 %0) %7 = mul i64 %6, 256 %8 = and i64 %7, 65280 %9 = call i64 @FUNC(i64 %0) %10 = urem i64 %9, 256 %.masked2 = and i64 %2, 4278190080 %.masked1 = or i64 %5, %.masked2 %.masked = or i64 %.masked1, %8 %11 = or i64 %.masked, %10 ret i64 %11 uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 256, { 1, 0 } uselistorder i64 (i64)* @qemu_get_byte, { 3, 2, 1, 0 } }
0
BinRealVul
chr_baum_init_1641
chr_baum_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 40) %1 = call i64 @FUNC(i64 32) %2 = inttoptr i64 %0 to i64* store i64 %1, i64* %2, align 8 %3 = inttoptr i64 %1 to i64* store i64 %0, i64* %3, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* store i64 4199040, i64* %5, align 8 %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i64* store i64 4199047, i64* %7, align 8 %8 = add i64 %1, 24 %9 = inttoptr i64 %8 to i64* store i64 4199054, i64* %9, align 8 %10 = call i64 @FUNC() %sext = mul i64 %10, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i64 @FUNC(i64 %12, i64 0, i64 0) %16 = trunc i64 %15 to i32 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = icmp eq i32 %16, -1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_2, label LBL_1 LBL_1: %21 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0)) br label LBL_8 LBL_2: %22 = load i64, i64* @gv_1, align 8 %23 = call i64 @FUNC(i64 %22, i64 4199061, i64 %0) %24 = add i64 %0, 32 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = add i64 %0, 24 %27 = add i64 %0, 20 %28 = call i64 @FUNC(i64 %12, i64 %27, i64 %26) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, -1 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0)) br label LBL_7 LBL_4: %33 = call i64 @FUNC(i64 %12, i64 0, i64 0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, -1 %36 = icmp eq i1 %35, false br i1 %36, label LBL_6, label LBL_5 LBL_5: %37 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0)) br label LBL_7 LBL_6: %38 = load i32, i32* %18, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %39, i64 4199083, i64 0, i64 %0) %41 = call i64 @FUNC(i64 %1) store i64 %1, i64* %storemerge.reg2mem br label LBL_9 LBL_7: %42 = load i64, i64* %25, align 8 %43 = call i64 @FUNC(i64 %42) %44 = call i64 @FUNC(i64 %12) br label LBL_8 LBL_8: %45 = call i64 @FUNC(i64 %12) %46 = call i64 @FUNC(i64 %1) %47 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 %0, { 0, 1, 3, 2, 5, 4, 6, 7, 8, 9 } uselistorder i64 (i64)* @g_free, { 2, 1, 0 } uselistorder i64 (i8*)* @brlapi_perror, { 2, 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 (i64)* @g_malloc0, { 2, 1, 0 } }
0
BinRealVul
tqi_calculate_qtable_3568
tqi_calculate_qtable
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %arg2.tr = trunc i64 %arg2 to i32 %1 = mul i32 %arg2.tr, 2 %2 = sub i32 215, %1 %3 = mul i32 %2, 5 %4 = load i64, i64* @gv_0, align 8 %5 = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8 %6 = sext i32 %5 to i64 %7 = mul i64 %4, %6 %8 = udiv i64 %7, 2048 %9 = trunc i64 %8 to i32 %10 = bitcast i64* %arg1 to i32* store i32 %9, i32* %10, align 4 %11 = sext i32 %3 to i64 store i64 1, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = mul i64 %indvars.iv.reload, 8 %13 = add i64 %12, ptrtoint (i64* @gv_0 to i64) %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = mul i64 %indvars.iv.reload, 4 %17 = add i64 %16, ptrtoint (i32** @gv_1 to i64) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %15, %11 %22 = mul i64 %21, %20 %23 = add i64 %22, 32 %24 = udiv i64 %23, 16384 %25 = trunc i64 %24 to i32 %26 = add i64 %16, %0 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %0 uselistorder i64 %16, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32** @gv_1, { 1, 0 } }
0
BinRealVul
intel_hda_exit_13966
intel_hda_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %6 = add i64 %0, -8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) ret i64 0 }
1
BinRealVul
add_route_rule_7649
add_route_rule
define i64 @FUNC(i32* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64 %arg8, i64 %arg9, i64 %arg10, i64 %arg11, i64 %arg12) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.013.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = trunc i64 %arg3 to i32 %5 = call i64 @FUNC(i128 %3) %6 = icmp eq i32 %4, 0 %7 = trunc i64 %2 to i32 %8 = add i32 %7, 1 %storemerge = select i1 %6, i32 %8, i32 %4 store i32 %storemerge, i32* %arg1, align 4 %9 = call i64 @FUNC(i64 136) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_2: %13 = inttoptr i64 %9 to i64* %14 = call i64* @memset(i64* %13, i32 0, i32 136) %15 = icmp eq i64 %arg4, 0 br i1 %15, label LBL_6, label LBL_3 LBL_3: %16 = inttoptr i64 %arg4 to i8* %17 = call i32 @strlen(i8* %16) %18 = sext i32 %17 to i64 %19 = add nsw i64 %18, 1 %20 = call i64 @FUNC(i64 %19) store i64 %20, i64* %13, align 8 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) %24 = call i64 @FUNC(i64 %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_5: %25 = inttoptr i64 %20 to i8* %26 = call i8* @strcpy(i8* %25, i8* %16) %27 = call i32 @strlen(i8* %16) %28 = sext i32 %27 to i64 %29 = add i64 %9, 8 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 br label LBL_6 LBL_6: %31 = icmp eq i8* %arg2, null br i1 %31, label LBL_10, label LBL_7 LBL_7: %32 = call i32 @strlen(i8* nonnull %arg2) %33 = sext i32 %32 to i64 %34 = add nsw i64 %33, 1 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %9, 16 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = icmp eq i64 %35, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) %41 = call i64 @FUNC(i64 %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_9: %42 = inttoptr i64 %35 to i8* %43 = call i8* @strcpy(i8* %42, i8* nonnull %arg2) %44 = call i32 @strlen(i8* nonnull %arg2) %45 = sext i32 %44 to i64 %46 = add i64 %9, 24 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 br label LBL_10 LBL_10: %48 = trunc i64 %arg5 to i32 %49 = add i64 %9, 80 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 %51 = icmp eq i64 %arg6, 0 br i1 %51, label LBL_14, label LBL_11 LBL_11: %52 = inttoptr i64 %arg6 to i8* %53 = call i32 @strlen(i8* %52) %54 = sext i32 %53 to i64 %55 = add nsw i64 %54, 1 %56 = call i64 @FUNC(i64 %55) %57 = add i64 %9, 32 %58 = inttoptr i64 %57 to i64* store i64 %56, i64* %58, align 8 %59 = icmp eq i64 %56, 0 %60 = icmp eq i1 %59, false br i1 %60, label LBL_13, label LBL_12 LBL_12: %61 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) %62 = call i64 @FUNC(i64 %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_13: %63 = inttoptr i64 %56 to i8* %64 = call i8* @strcpy(i8* %63, i8* %52) %65 = call i32 @strlen(i8* %52) %66 = sext i32 %65 to i64 %67 = add i64 %9, 40 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 br label LBL_14 LBL_14: %69 = icmp eq i64 %arg7, 0 br i1 %69, label LBL_18, label LBL_15 LBL_15: %70 = inttoptr i64 %arg7 to i8* %71 = call i32 @strlen(i8* %70) %72 = sext i32 %71 to i64 %73 = add nsw i64 %72, 1 %74 = call i64 @FUNC(i64 %73) %75 = add i64 %9, 48 %76 = inttoptr i64 %75 to i64* store i64 %74, i64* %76, align 8 %77 = icmp eq i64 %74, 0 %78 = icmp eq i1 %77, false br i1 %78, label LBL_17, label LBL_16 LBL_16: %79 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) %80 = call i64 @FUNC(i64 %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_17: %81 = inttoptr i64 %74 to i8* %82 = call i8* @strcpy(i8* %81, i8* %70) %83 = call i32 @strlen(i8* %70) %84 = sext i32 %83 to i64 %85 = add i64 %9, 56 %86 = inttoptr i64 %85 to i64* store i64 %84, i64* %86, align 8 br label LBL_18 LBL_18: %87 = icmp eq i64 %arg12, 0 br i1 %87, label LBL_22, label LBL_19 LBL_19: %88 = inttoptr i64 %arg12 to i8* %89 = call i32 @strlen(i8* %88) %90 = sext i32 %89 to i64 %91 = add nsw i64 %90, 1 %92 = call i64 @FUNC(i64 %91) %93 = add i64 %9, 64 %94 = inttoptr i64 %93 to i64* store i64 %92, i64* %94, align 8 %95 = icmp eq i64 %92, 0 %96 = icmp eq i1 %95, false br i1 %96, label LBL_21, label LBL_20 LBL_20: %97 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) %98 = call i64 @FUNC(i64 %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_21: %99 = inttoptr i64 %92 to i8* %100 = call i8* @strcpy(i8* %99, i8* %88) %101 = call i32 @strlen(i8* %88) %102 = sext i32 %101 to i64 %103 = add i64 %9, 72 %104 = inttoptr i64 %103 to i64* store i64 %102, i64* %104, align 8 br label LBL_22 LBL_22: %105 = trunc i64 %arg8 to i32 %106 = add i64 %9, 84 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 %108 = trunc i64 %arg9 to i32 %109 = add i64 %9, 88 %110 = inttoptr i64 %109 to i32* store i32 %108, i32* %110, align 4 %111 = call i128 @__asm_movsd.1(i64 %5) %112 = call i64 @FUNC(i128 %111) %113 = add i64 %9, 96 %114 = inttoptr i64 %113 to i64* store i64 %112, i64* %114, align 8 %115 = load i32, i32* %107, align 4 %116 = icmp eq i32 %115, 0 %117 = trunc i64 %arg10 to i32 %118 = icmp eq i32 %117, -1 %or.cond = icmp eq i1 %118, %116 br i1 %or.cond, label LBL_23, label LBL_24 LBL_23: %119 = call i128 @FUNC(i128 %111, i128 %111) %120 = call i64 @FUNC(i128 %119) %121 = add i64 %9, 104 %122 = inttoptr i64 %121 to i64* store i64 %120, i64* %122, align 8 br label LBL_28 LBL_24: %123 = call i128 @__asm_movsd.1(i64 %5) %124 = call i64 @FUNC(i128 %123) %125 = add i64 %9, 104 %126 = inttoptr i64 %125 to i64* store i64 %124, i64* %126, align 8 %127 = icmp slt i32 %117, 0 br i1 %127, label LBL_28, label LBL_25 LBL_25: %128 = call i64 @FUNC(i64 16) %129 = add i64 %9, 112 %130 = inttoptr i64 %129 to i64* store i64 %128, i64* %130, align 8 %131 = icmp eq i64 %128, 0 %132 = icmp eq i1 %131, false br i1 %132, label LBL_27, label LBL_26 LBL_26: %133 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) %134 = call i64 @FUNC(i64 %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_27: %135 = inttoptr i64 %128 to i32* store i32 %117, i32* %135, align 4 br label LBL_28 LBL_28: %136 = add i64 %9, 120 %137 = inttoptr i64 %136 to i64* store i64 0, i64* %137, align 8 %138 = icmp eq i64 %arg11, 0 %139 = icmp eq i1 %138, false store i64 %arg11, i64* %sv_0.013.reg2mem br i1 %139, label LBL_33, label LBL_29 LBL_29: %140 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0)) br label LBL_34 LBL_30: %141 = call i64 @FUNC(i64 16) %142 = icmp eq i64 %141, 0 %143 = icmp eq i1 %142, false br i1 %143, label LBL_32, label LBL_31 LBL_31: %144 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) %145 = call i64 @FUNC(i64 %9) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_35 LBL_32: %146 = inttoptr i64 %141 to i64* %147 = call i64* @memset(i64* %146, i32 0, i32 16) %148 = load i32, i32* %155, align 4 %149 = inttoptr i64 %141 to i32* store i32 %148, i32* %149, align 4 %150 = load i64, i64* %137, align 8 %151 = add i64 %141, 8 %152 = inttoptr i64 %151 to i64* store i64 %150, i64* %152, align 8 store i64 %141, i64* %137, align 8 %153 = add i64 %sv_0.013.reload, 4 %154 = icmp eq i64 %153, 0 store i64 %153, i64* %sv_0.013.reg2mem br i1 %154, label LBL_34, label LBL_33 LBL_33: %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem %155 = inttoptr i64 %sv_0.013.reload to i32* %156 = load i32, i32* %155, align 4 %157 = icmp eq i32 %156, -1 %158 = icmp eq i1 %157, false br i1 %158, label LBL_30, label LBL_34 LBL_34: %159 = ptrtoint i32* %arg1 to i64 %160 = add i64 %159, 8 %161 = inttoptr i64 %160 to i64* %162 = load i64, i64* %161, align 8 %163 = add i64 %9, 128 %164 = inttoptr i64 %163 to i64* store i64 %162, i64* %164, align 8 store i64 %9, i64* %161, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_35 LBL_35: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %155, { 1, 0 } uselistorder i64 %sv_0.013.reload, { 1, 0 } uselistorder i64 %141, { 0, 1, 3, 2, 4 } uselistorder i64 %128, { 1, 0, 2 } uselistorder i128 %111, { 1, 0, 2 } uselistorder i64 %92, { 1, 0, 2 } uselistorder i8* %88, { 1, 0, 2 } uselistorder i64 %74, { 1, 0, 2 } uselistorder i8* %70, { 1, 0, 2 } uselistorder i64 %56, { 1, 0, 2 } uselistorder i8* %52, { 1, 0, 2 } uselistorder i64 %35, { 1, 0, 2 } uselistorder i64 %20, { 1, 0, 2 } uselistorder i8* %16, { 1, 0, 2 } uselistorder i64 %9, { 17, 18, 16, 19, 14, 15, 20, 21, 22, 23, 24, 12, 11, 13, 9, 8, 10, 6, 5, 7, 25, 3, 2, 4, 1, 0, 26, 27 } uselistorder i64* %sv_0.013.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 104, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i8* (i8*, i8*)* @strcpy, { 1, 2, 4, 3, 0 } uselistorder i64 (i64)* @destroy_route_rule, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 4294967295, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i8*)* @LM_ERR, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i64 (i64)* @shm_malloc, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i128)* @__asm_movsd, { 1, 0, 2, 3 } uselistorder i64 %arg12, { 1, 0 } uselistorder i64 %arg7, { 1, 0 } uselistorder i64 %arg6, { 1, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder i8* %arg2, { 1, 0, 3, 2 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_35, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } uselistorder label LBL_34, { 1, 0, 2 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_28, { 1, 2, 0 } }
1
BinRealVul
pdf_display_creator_9066
pdf_display_creator
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge6.lcssa.reg2mem = alloca i32 %.reg2mem9 = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 28 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_6 LBL_1: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 store i32 0, i32* %storemerge6.lcssa.reg2mem br i1 %10, label LBL_5, label LBL_2 LBL_2: %11 = add i64 %1, add (i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 8) %12 = inttoptr i64 %11 to i32* %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %4 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i8* %19 = inttoptr i64 %15 to i8* %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* %18, i8* %19) %21 = load i32, i32* %12, align 4 %22 = icmp ugt i32 %21, 1 store i32 1, i32* %storemerge6.lcssa.reg2mem br i1 %22, label LBL_3, label LBL_5 LBL_3: %23 = add i64 %1, ptrtoint ([8 x i8]* @gv_0 to i64) %.phi.trans.insert = inttoptr i64 %23 to i64* store i64 1, i64* %.reg2mem store i32 1, i32* %.reg2mem9 br label LBL_4 LBL_4: %.reload10 = load i32, i32* %.reg2mem9 %.reload = load i64, i64* %.reg2mem %.pre = load i64, i64* %.phi.trans.insert, align 8 %24 = mul i64 %.reload, 16 %25 = add i64 %24, %.pre %26 = add i64 %25, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %25 to i64* %30 = load i64, i64* %29, align 8 %31 = inttoptr i64 %30 to i8* %32 = inttoptr i64 %28 to i8* %33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* %31, i8* %32) %34 = add i32 %.reload10, 1 %35 = load i32, i32* %12, 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* %.reg2mem9 store i32 %34, i32* %storemerge6.lcssa.reg2mem br i1 %38, label LBL_4, label LBL_5 LBL_5: %storemerge6.lcssa.reload = load i32, i32* %storemerge6.lcssa.reg2mem %39 = icmp eq i32 %storemerge6.lcssa.reload, 0 %40 = icmp slt i32 %storemerge6.lcssa.reload, 0 %41 = icmp eq i1 %40, false %42 = icmp eq i1 %39, false %43 = icmp eq i1 %41, %42 %44 = zext i1 %43 to i64 store i64 %44, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge6.lcssa.reload, { 1, 0 } uselistorder i32* %12, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem9, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i64 ptrtoint ([8 x i8]* @gv_0 to i64), { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 8, { 3, 0, 1, 2 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
countInkNamesString_12206
countInkNamesString
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = and i64 %arg2, 4294967295 %2 = add i64 %1, %arg3 %3 = icmp eq i32 %0, 0 store i32 0, i32* %sv_0.0.ph.reg2mem store i64 %arg3, i64* %sv_1.0.ph.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %3, label LBL_6, label LBL_1 LBL_1: %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem br label LBL_2 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %4 = icmp ult i64 %sv_1.0.reload, %2 %5 = icmp eq i1 %4, false store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %5, label LBL_6, label LBL_3 LBL_3: %6 = inttoptr i64 %sv_1.0.reload to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false %10 = add i64 %sv_1.0.reload, 1 store i64 %10, i64* %sv_1.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_4: %11 = mul i32 %sv_0.0.ph.reload, 65536 %sext3 = add i32 %11, 65536 %12 = ashr exact i32 %sext3, 16 %13 = icmp ult i64 %10, %2 store i32 %12, i32* %sv_0.0.ph.reg2mem store i64 %10, i64* %sv_1.0.ph.reg2mem br i1 %13, label LBL_1, label LBL_5 LBL_5: %14 = urem i32 %12, 65536 %15 = zext i32 %14 to i64 store i64 %15, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %16 = ptrtoint i64* %arg1 to i64 %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %17 = urem i32 %sv_0.1.reload, 65536 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([81 x i8], [81 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %1, i64 %18) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %16, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %10, { 1, 2, 0 } uselistorder i32 %sv_0.0.ph.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
bs_get_v_701
bs_get_v
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i8 %2 = add i64 %0, 1 %3 = urem i64 %0, 128 %4 = icmp sgt i8 %1, -1 %5 = icmp eq i1 %4, false store i64 0, i64* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %6 = add nuw nsw i32 %sv_0.0.reload, 1 %7 = icmp ult i32 %6, 11 br i1 %7, label LBL_2, label LBL_4 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %8 = mul i64 %sv_1.0.reload, 128 %9 = or i64 %8, %3 store i64 %9, i64* %sv_1.0.reg2mem store i32 %6, i32* %sv_0.0.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_3: store i64 %2, i64* %arg1, align 8 %10 = zext i32 %6 to i64 %11 = sub i64 %9, %10 store i64 %11, i64* %storemerge.reg2mem br label LBL_5 LBL_4: store i64 %2, i64* %arg1, align 8 store i64 -1, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 1, 0 } uselistorder i32 %6, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0, 2 } }
0
BinRealVul
client_reset_6795
client_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %2) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %2, 12 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = call i32 @time(i32* null) %9 = sext i32 %8 to i64 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = add i64 %2, 24 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 %14 = add i64 %2, 32 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = call i64 @FUNC(i64 64) %17 = call i64 @FUNC(i64 64) %18 = add i64 %2, 40 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = call i64 @FUNC() %21 = call i64 @FUNC() %22 = load i64, i64* %19, align 8 %23 = urem i64 %20, 65536 %24 = urem i64 %21, 65536 %25 = call i64 @FUNC(i64 %22, i64 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %24, i64 %23, i64 %1) %26 = load i64, i64* %19, align 8 %27 = call i64 @FUNC(i64 %16, i64 64, i64 %26) %28 = call i64 @FUNC(i64 %16) %29 = add i64 %2, 48 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = inttoptr i64 %16 to i64* call void @free(i64* %31) %32 = call i64 @FUNC(i64 128) %33 = add i64 %2, 80 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 %35 = call i64 @FUNC(i64 64) %36 = add i64 %2, 72 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = add i64 %2, 64 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = icmp eq i64 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_2, label LBL_1 LBL_1: %43 = call i64 @FUNC(i64 64) store i64 %43, i64* %39, align 8 br label LBL_2 LBL_2: %44 = add i64 %2, 56 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label LBL_5, label LBL_3 LBL_3: %48 = inttoptr i64 %46 to i8* %49 = load i8, i8* %48, align 1 %50 = icmp eq i8 %49, 0 br i1 %50, label LBL_5, label LBL_4 LBL_4: %51 = call i64 @FUNC(i64 32) %52 = call i64 @FUNC(i64 128) %53 = load i64, i64* %45, align 8 %54 = call i64 @FUNC(i64 %52, i64 128, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %53, i64 %23, i64 %1) %55 = load i64, i64* %45, align 8 %56 = call i64 @FUNC(i64 %51, i64 32, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %55, i64 %52) %57 = inttoptr i64 %51 to i64* call void @free(i64* %57) %58 = inttoptr i64 %52 to i64* call void @free(i64* %58) br label LBL_5 LBL_5: %59 = call i64 @FUNC(i64 32) store i64 %59, i64* %45, align 8 ret i64 %59 uselistorder i64 %59, { 1, 0 } uselistorder i64* %45, { 2, 0, 1, 3 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @safe_snprintf, { 1, 0 } uselistorder i64 ()* @rand16, { 1, 0 } uselistorder i64 64, { 0, 6, 1, 2, 3, 4, 5 } }
0
BinRealVul
encode_packets_703
encode_packets
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge4.reg2mem = alloca i64 %r8.2.lcssa.reg2mem = alloca i64 %rcx.2.lcssa.reg2mem = alloca i64 %rcx.220.reg2mem = alloca i64 %r8.221.reg2mem = alloca i64 %storemerge22.reg2mem = alloca i32 %.reg2mem70 = alloca i64 %.reg2mem68 = alloca i32 %.reg2mem66 = alloca i32 %.reg2mem64 = alloca i32 %r8.1.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %.reg2mem62 = alloca i32 %.reg2mem60 = alloca i32 %.reg2mem58 = alloca i32 %r8.0.lcssa.reg2mem = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %.reg2mem56 = alloca i32 %.reg2mem54 = alloca i32 %storemerge513.reg2mem = alloca i32 %rcx.115.reg2mem = alloca i64 %r8.116.reg2mem = alloca i64 %storemerge317.reg2mem = alloca i32 %.reg2mem52 = alloca i64 %.reg2mem50 = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %10 = trunc i64 %3 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_11, label LBL_1 LBL_1: %12 = add i64 %5, 24 %13 = inttoptr i64 %12 to i32* %14 = add i64 %5, 4 %15 = inttoptr i64 %14 to i32* %16 = add i64 %5, 8 %17 = inttoptr i64 %16 to i64* %18 = sext i32 %arg3 to i64 %19 = mul i64 %18, 8 %20 = add i64 %5, 28 %21 = inttoptr i64 %20 to i32* %.pre = load i32, i32* %15, align 4 store i32 %10, i32* %.reg2mem64 store i32 %.pre, i32* %.reg2mem66 store i32 %.pre, i32* %.reg2mem68 store i64 0, i64* %.reg2mem70 store i32 0, i32* %storemerge22.reg2mem br label LBL_9 LBL_2: %rcx.115.reload = load i64, i64* %rcx.115.reg2mem %r8.116.reload = load i64, i64* %r8.116.reg2mem %storemerge317.reload = load i32, i32* %storemerge317.reg2mem %.reload53 = load i64, i64* %.reg2mem52 %.reload51 = load i32, i32* %.reg2mem50 %.reload = load i32, i32* %.reg2mem %22 = load i64, i64* %17, align 8 %23 = add i64 %22, %19 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = mul i64 %.reload53, 8 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, %66 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i64 %30, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = mul i32 %35, %32 %37 = icmp eq i32 %36, 0 store i32 0, i32* %storemerge513.reg2mem store i32 %.reload, i32* %.reg2mem54 store i32 %.reload51, i32* %.reg2mem56 store i64 %rcx.115.reload, i64* %rcx.0.lcssa.reg2mem store i64 %r8.116.reload, i64* %r8.0.lcssa.reg2mem br i1 %37, label LBL_7, label LBL_3 LBL_3: %storemerge513.reload = load i32, i32* %storemerge513.reg2mem %38 = load i32, i32* %21, align 4 %39 = zext i32 %38 to i64 %40 = load i32, i32* %13, align 4 %41 = zext i32 %40 to i64 %42 = add nuw nsw i64 %41, %spec.select %43 = trunc i64 %42 to i32 %44 = call i64 @FUNC(i64 %5, i64 %30, i32 %storemerge513.reload, i32 %43, i64 %39) %45 = trunc i64 %44 to i32 %46 = icmp slt i32 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_5, label LBL_4 LBL_4: %48 = and i64 %44, 4294967295 store i64 %48, i64* %storemerge4.reg2mem br label LBL_12 LBL_5: %49 = add i32 %storemerge513.reload, 1 %50 = load i32, i32* %31, align 4 %51 = load i32, i32* %34, align 4 %52 = mul i32 %51, %50 %53 = zext i32 %52 to i64 %54 = sext i32 %49 to i64 %55 = icmp slt i64 %54, %53 store i32 %49, i32* %storemerge513.reg2mem br i1 %55, label LBL_3, label LBL_6 LBL_6: %56 = and i64 %42, 4294967295 %.pre31 = load i32, i32* %15, align 4 store i32 %38, i32* %.reg2mem54 store i32 %.pre31, i32* %.reg2mem56 store i64 %56, i64* %rcx.0.lcssa.reg2mem store i64 %39, i64* %r8.0.lcssa.reg2mem br label LBL_7 LBL_7: %r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %.reload57 = load i32, i32* %.reg2mem56 %.reload55 = load i32, i32* %.reg2mem54 %57 = add i32 %storemerge317.reload, 1 %58 = zext i32 %.reload57 to i64 %59 = sext i32 %57 to i64 %60 = icmp slt i64 %59, %58 store i32 %.reload55, i32* %.reg2mem store i32 %.reload57, i32* %.reg2mem50 store i64 %59, i64* %.reg2mem52 store i32 %57, i32* %storemerge317.reg2mem store i64 %r8.0.lcssa.reload, i64* %r8.116.reg2mem store i64 %rcx.0.lcssa.reload, i64* %rcx.115.reg2mem store i32 %.reload55, i32* %.reg2mem58 store i32 %.reload57, i32* %.reg2mem60 store i32 %.reload57, i32* %.reg2mem62 store i64 %rcx.0.lcssa.reload, i64* %rcx.1.lcssa.reg2mem store i64 %r8.0.lcssa.reload, i64* %r8.1.lcssa.reg2mem br i1 %60, label LBL_2, label LBL_8 LBL_8: %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %.reload63 = load i32, i32* %.reg2mem62 %.reload61 = load i32, i32* %.reg2mem60 %.reload59 = load i32, i32* %.reg2mem58 %61 = add i32 %storemerge22.reload, 1 %62 = zext i32 %.reload59 to i64 %63 = sext i32 %61 to i64 %64 = icmp slt i64 %63, %62 store i32 %.reload59, i32* %.reg2mem64 store i32 %.reload61, i32* %.reg2mem66 store i32 %.reload63, i32* %.reg2mem68 store i64 %63, i64* %.reg2mem70 store i32 %61, i32* %storemerge22.reg2mem store i64 %r8.1.lcssa.reload, i64* %r8.221.reg2mem store i64 %rcx.1.lcssa.reload, i64* %rcx.220.reg2mem store i64 %rcx.1.lcssa.reload, i64* %rcx.2.lcssa.reg2mem store i64 %r8.1.lcssa.reload, i64* %r8.2.lcssa.reg2mem br i1 %64, label LBL_9, label LBL_11 LBL_9: %rcx.220.reload = load i64, i64* %rcx.220.reg2mem %r8.221.reload = load i64, i64* %r8.221.reg2mem %storemerge22.reload = load i32, i32* %storemerge22.reg2mem %.reload69 = load i32, i32* %.reg2mem68 %.reload67 = load i32, i32* %.reg2mem66 %.reload65 = load i32, i32* %.reg2mem64 %65 = icmp eq i32 %.reload69, 0 store i32 %.reload65, i32* %.reg2mem58 store i32 %.reload67, i32* %.reg2mem60 store i32 0, i32* %.reg2mem62 store i64 %rcx.220.reload, i64* %rcx.1.lcssa.reg2mem store i64 %r8.221.reload, i64* %r8.1.lcssa.reg2mem br i1 %65, label LBL_8, label LBL_2.lr.ph LBL_10: %.reload71 = load i64, i64* %.reg2mem70 %66 = mul i64 %.reload71, 8 %67 = icmp eq i32 %storemerge22.reload, 0 %68 = mul i32 %storemerge22.reload, 3 %69 = add i32 %68, -2 %narrow = select i1 %67, i32 0, i32 %69 %spec.select = zext i32 %narrow to i64 store i32 %.reload65, i32* %.reg2mem store i32 %.reload67, i32* %.reg2mem50 store i64 0, i64* %.reg2mem52 store i32 0, i32* %storemerge317.reg2mem store i64 %r8.221.reload, i64* %r8.116.reg2mem store i64 %rcx.220.reload, i64* %rcx.115.reg2mem br label LBL_2 LBL_11: %r8.2.lcssa.reload = load i64, i64* %r8.2.lcssa.reg2mem %rcx.2.lcssa.reload = load i64, i64* %rcx.2.lcssa.reg2mem %70 = load i64, i64* %7, align 8 %71 = call i64 @FUNC(i64 %70, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.2.lcssa.reload, i64 %r8.2.lcssa.reload, i64 %1) store i64 0, i64* %storemerge4.reg2mem br label LBL_12 LBL_12: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i32 %storemerge22.reload, { 2, 1, 0 } uselistorder i32 %.reload57, { 0, 1, 3, 2 } uselistorder i32* %34, { 1, 0 } uselistorder i32* %31, { 1, 0 } uselistorder i64 %5, { 1, 0, 3, 2, 5, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem50, { 2, 1, 0 } uselistorder i64* %.reg2mem52, { 2, 1, 0 } uselistorder i32* %storemerge317.reg2mem, { 2, 1, 0 } uselistorder i64* %r8.116.reg2mem, { 2, 1, 0 } uselistorder i64* %rcx.115.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge513.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem54, { 0, 2, 1 } uselistorder i32* %.reg2mem56, { 0, 2, 1 } uselistorder i64* %rcx.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem58, { 2, 0, 1 } uselistorder i32* %.reg2mem60, { 2, 0, 1 } uselistorder i32* %.reg2mem62, { 2, 0, 1 } uselistorder i64* %rcx.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %r8.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ctnetlink_setup_nat_18573
ctnetlink_setup_nat
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 0, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 %2, i64* %storemerge.in.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %1, i64 1, i64 %8) store i64 %9, i64* %storemerge.in.reg2mem br label LBL_2 LBL_2: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @ctnetlink_parse_nat_setup, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
qemu_eventfd_17119
qemu_eventfd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i32 (i32, ...) @syscall(i32 284) %2 = icmp slt i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 %1, i32* %4, align 4 %5 = bitcast i64* %arg1 to i32* store i32 %1, i32* %5, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %6 = icmp eq i32 %1, -1 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 38 br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = zext i32 %1 to i64 store i64 %11, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %12 = trunc i64 %0 to i32 %13 = insertvalue [2 x i32] undef, i32 %12, 0 %14 = call i32 @pipe([2 x i32] %13) %15 = sext i32 %14 to i64 store i64 %15, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %1, { 0, 3, 2, 1, 4 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } }
1
BinRealVul
mgt_vcc_default_3942
mgt_vcc_default
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %sv_3 = alloca i64, align 8 %0 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 1) %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %arg1, 0 br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = bitcast i8** %sv_2 to i64* %4 = call i64 @FUNC(i64 %arg1, i64* nonnull %3, i64* nonnull %sv_3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load i8*, i8** %sv_2, align 8 %9 = icmp eq i8* %8, null %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %12 = call i32 @fwrite(i64* bitcast ([25 x i8]* @gv_1 to i64*), i32 1, i32 24, %_IO_FILE* %11) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_4: store i64 0, i64* %sv_1, align 8 %13 = load i64, i64* %sv_3, align 8 %14 = icmp eq i64 %13, 0 %storemerge = select i1 %14, i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 %13 %15 = bitcast i64* %sv_1 to i8** %16 = inttoptr i64 %storemerge to i8* %17 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %15, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_3, i64 0, i64 0), i8* %8, i8* %16) %18 = load i8*, i8** %sv_2, align 8 %19 = bitcast i8* %18 to i64* call void @free(i64* %19) %20 = load i64, i64* %sv_3, align 8 %21 = inttoptr i64 %20 to i64* call void @free(i64* %21) %22 = load i64, i64* %sv_1, align 8 %23 = call i64 @FUNC(i64 %22) %24 = load i64, i64* %sv_1, align 8 %25 = zext i32 %arg4 to i64 %26 = call i64 @FUNC(i64 %0, i64 %24, i64 0, i64 %25) %27 = load i64, i64* %sv_1, align 8 %28 = inttoptr i64 %27 to i64* call void @free(i64* %28) store i64 %26, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %29 = call i64 @FUNC(i64 %0, i64 %arg2, i32 %arg4, i32 %arg3) store i64 %29, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %30 = call i64 @FUNC(i64 %0) %31 = call i64 @FUNC(i64 %0) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_8, label LBL_7 LBL_7: call void @abort() unreachable LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %35 = call i64 @FUNC(i64 %0) %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = call i64 @FUNC(i64 %0) %38 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %39 = inttoptr i64 %37 to i8* %40 = call i32 @fputs(i8* %39, %_IO_FILE* %38) br label LBL_10 LBL_10: %41 = call i64 @FUNC(i64 %0) %42 = icmp eq i32 %arg4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %42, label LBL_11, label LBL_14 LBL_11: %43 = icmp eq i64 %sv_0.0.reload, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_13, label LBL_12 LBL_12: %45 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %46 = call i32 @fwrite(i64* bitcast ([25 x i8]* @gv_4 to i64*), i32 1, i32 24, %_IO_FILE* %45) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %47 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 %sv_0.0.reload) %48 = inttoptr i64 %47 to i32* store i32 1, i32* %48, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 1, 3, 5, 4, 6, 0, 7 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i8** %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder void (i64*)* @free, { 0, 2, 1, 3 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i32 %arg4, { 1, 2, 0 } uselistorder label LBL_14, { 1, 2, 0, 3 } }
0
BinRealVul
color_string_to_rgba_11569
color_string_to_rgba
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 35 %5 = icmp eq i1 %4, false br i1 %5, label LBL_9, label LBL_1 LBL_1: %6 = add i64 %arg1, 1 %7 = trunc i64 %2 to i32 %8 = icmp eq i32 %7, 4 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %arg1, 3 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = sext i8 %12 to i64 %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = mul i32 %16, 16 %18 = add i64 %arg1, 2 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = sext i8 %20 to i64 %22 = and i64 %21, 4294967295 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = mul i32 %24, 4096 %26 = inttoptr i64 %6 to i8* %27 = load i8, i8* %26, align 1 %28 = sext i8 %27 to i64 %29 = and i64 %28, 4294967295 %30 = call i64 @FUNC(i64 %29) %31 = trunc i64 %30 to i32 %32 = mul i32 %31, 1048576 %33 = or i32 %17, %25 %34 = or i32 %33, %32 %35 = or i32 %34, -16777216 store i32 %35, i32* %storemerge.in.reg2mem br label LBL_11 LBL_3: %sext3 = add i64 %sext, -4294967296 %36 = udiv i64 %sext3, 4294967296 %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 4 %39 = icmp eq i1 %38, false br i1 %39, label LBL_5, label LBL_4 LBL_4: %40 = add i64 %arg1, 4 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = sext i8 %42 to i64 %44 = and i64 %43, 4294967295 %45 = call i64 @FUNC(i64 %44) %46 = trunc i64 %45 to i32 %47 = mul i32 %46, 16 %48 = add i64 %arg1, 3 %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = sext i8 %50 to i64 %52 = and i64 %51, 4294967295 %53 = call i64 @FUNC(i64 %52) %54 = trunc i64 %53 to i32 %55 = mul i32 %54, 4096 %56 = or i32 %55, %47 %57 = add i64 %arg1, 2 %58 = inttoptr i64 %57 to i8* %59 = load i8, i8* %58, align 1 %60 = sext i8 %59 to i64 %61 = and i64 %60, 4294967295 %62 = call i64 @FUNC(i64 %61) %63 = trunc i64 %62 to i32 %64 = mul i32 %63, 1048576 %65 = or i32 %56, %64 %66 = inttoptr i64 %6 to i8* %67 = load i8, i8* %66, align 1 %68 = sext i8 %67 to i64 %69 = and i64 %68, 4294967295 %70 = call i64 @FUNC(i64 %69) %71 = trunc i64 %70 to i32 %72 = mul i32 %71, 268435456 %73 = or i32 %65, %72 store i32 %73, i32* %storemerge.in.reg2mem br label LBL_11 LBL_5: %74 = icmp eq i32 %37, 6 %75 = icmp eq i1 %74, false br i1 %75, label LBL_7, label LBL_6 LBL_6: %76 = add i64 %arg1, 6 %77 = inttoptr i64 %76 to i8* %78 = load i8, i8* %77, align 1 %79 = sext i8 %78 to i64 %80 = and i64 %79, 4294967295 %81 = call i64 @FUNC(i64 %80) %82 = trunc i64 %81 to i32 %83 = add i64 %arg1, 5 %84 = inttoptr i64 %83 to i8* %85 = load i8, i8* %84, align 1 %86 = sext i8 %85 to i64 %87 = and i64 %86, 4294967295 %88 = call i64 @FUNC(i64 %87) %89 = trunc i64 %88 to i32 %90 = mul i32 %89, 16 %91 = add i64 %arg1, 4 %92 = inttoptr i64 %91 to i8* %93 = load i8, i8* %92, align 1 %94 = sext i8 %93 to i64 %95 = and i64 %94, 4294967295 %96 = call i64 @FUNC(i64 %95) %97 = trunc i64 %96 to i32 %98 = mul i32 %97, 256 %99 = add i64 %arg1, 3 %100 = inttoptr i64 %99 to i8* %101 = load i8, i8* %100, align 1 %102 = sext i8 %101 to i64 %103 = and i64 %102, 4294967295 %104 = call i64 @FUNC(i64 %103) %105 = trunc i64 %104 to i32 %106 = mul i32 %105, 4096 %107 = add i64 %arg1, 2 %108 = inttoptr i64 %107 to i8* %109 = load i8, i8* %108, align 1 %110 = sext i8 %109 to i64 %111 = and i64 %110, 4294967295 %112 = call i64 @FUNC(i64 %111) %113 = trunc i64 %112 to i32 %114 = mul i32 %113, 65536 %115 = inttoptr i64 %6 to i8* %116 = load i8, i8* %115, align 1 %117 = sext i8 %116 to i64 %118 = and i64 %117, 4294967295 %119 = call i64 @FUNC(i64 %118) %120 = trunc i64 %119 to i32 %121 = mul i32 %120, 1048576 %122 = or i32 %90, %82 %123 = or i32 %122, %98 %124 = or i32 %123, %106 %125 = or i32 %124, %114 %126 = or i32 %125, %121 %127 = or i32 %126, -16777216 store i32 %127, i32* %storemerge.in.reg2mem br label LBL_11 LBL_7: %128 = icmp eq i32 %37, 8 %129 = icmp eq i1 %128, false store i32 -16777216, i32* %storemerge.in.reg2mem br i1 %129, label LBL_11, label LBL_8 LBL_8: %130 = add i64 %arg1, 8 %131 = inttoptr i64 %130 to i8* %132 = load i8, i8* %131, align 1 %133 = sext i8 %132 to i64 %134 = and i64 %133, 4294967295 %135 = call i64 @FUNC(i64 %134) %136 = trunc i64 %135 to i32 %137 = add i64 %arg1, 7 %138 = inttoptr i64 %137 to i8* %139 = load i8, i8* %138, align 1 %140 = sext i8 %139 to i64 %141 = and i64 %140, 4294967295 %142 = call i64 @FUNC(i64 %141) %143 = trunc i64 %142 to i32 %144 = mul i32 %143, 16 %145 = or i32 %144, %136 %146 = add i64 %arg1, 6 %147 = inttoptr i64 %146 to i8* %148 = load i8, i8* %147, align 1 %149 = sext i8 %148 to i64 %150 = and i64 %149, 4294967295 %151 = call i64 @FUNC(i64 %150) %152 = trunc i64 %151 to i32 %153 = mul i32 %152, 256 %154 = or i32 %145, %153 %155 = add i64 %arg1, 5 %156 = inttoptr i64 %155 to i8* %157 = load i8, i8* %156, align 1 %158 = sext i8 %157 to i64 %159 = and i64 %158, 4294967295 %160 = call i64 @FUNC(i64 %159) %161 = trunc i64 %160 to i32 %162 = mul i32 %161, 4096 %163 = or i32 %154, %162 %164 = add i64 %arg1, 4 %165 = inttoptr i64 %164 to i8* %166 = load i8, i8* %165, align 1 %167 = sext i8 %166 to i64 %168 = and i64 %167, 4294967295 %169 = call i64 @FUNC(i64 %168) %170 = trunc i64 %169 to i32 %171 = mul i32 %170, 65536 %172 = or i32 %163, %171 %173 = add i64 %arg1, 3 %174 = inttoptr i64 %173 to i8* %175 = load i8, i8* %174, align 1 %176 = sext i8 %175 to i64 %177 = and i64 %176, 4294967295 %178 = call i64 @FUNC(i64 %177) %179 = trunc i64 %178 to i32 %180 = mul i32 %179, 1048576 %181 = or i32 %172, %180 %182 = add i64 %arg1, 2 %183 = inttoptr i64 %182 to i8* %184 = load i8, i8* %183, align 1 %185 = sext i8 %184 to i64 %186 = and i64 %185, 4294967295 %187 = call i64 @FUNC(i64 %186) %188 = trunc i64 %187 to i32 %189 = mul i32 %188, 16777216 %190 = or i32 %181, %189 %191 = inttoptr i64 %6 to i8* %192 = load i8, i8* %191, align 1 %193 = sext i8 %192 to i64 %194 = and i64 %193, 4294967295 %195 = call i64 @FUNC(i64 %194) %196 = trunc i64 %195 to i32 %197 = mul i32 %196, 268435456 %198 = or i32 %190, %197 store i32 %198, i32* %storemerge.in.reg2mem br label LBL_11 LBL_9: %199 = ptrtoint i64* %sv_1 to i64 %200 = trunc i64 %2 to i32 %201 = bitcast i64* %sv_0 to i8* %202 = inttoptr i64 %arg1 to i8* %203 = call i8* @strncpy(i8* nonnull %201, i8* %202, i32 %200) %204 = add nsw i64 %2, -144 %205 = add i64 %204, %199 %206 = inttoptr i64 %205 to i8* store i8 0, i8* %206, align 1 %207 = call i64* @bsearch(i64* nonnull %sv_0, i64* bitcast ([4 x i8]** @gv_0 to i64*), i32 8, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198758 to i32 (i64*, i64*)*)) %208 = icmp eq i64* %207, null %209 = icmp eq i1 %208, false store i32 -16777216, i32* %storemerge.in.reg2mem br i1 %209, label LBL_10, label LBL_11 LBL_10: %210 = ptrtoint i64* %207 to i64 %211 = add i64 %210, 8 %212 = inttoptr i64 %211 to i32* %213 = load i32, i32* %212, align 4 store i32 %213, i32* %storemerge.in.reg2mem br label LBL_11 LBL_11: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i64* %207, { 1, 0 } uselistorder i64 %6, { 3, 2, 1, 0 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64 %sext, { 1, 0 } uselistorder i32* %storemerge.in.reg2mem, { 0, 6, 7, 4, 5, 3, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i32 -16777216, { 1, 0, 2, 3 } uselistorder i32 16, { 4, 0, 1, 2, 3 } uselistorder i64 (i64)* @hex_char_to_number, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 1, { 4, 3, 1, 0, 2 } uselistorder i64 %arg1, { 18, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 } uselistorder label LBL_11, { 5, 6, 4, 3, 2, 1, 0 } }
1
BinRealVul
update_open_stateflags_13637
update_open_stateflags
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp eq i32 %3, 3 br i1 %5, label LBL_6, label LBL_1 LBL_1: %6 = trunc i64 %4 to i32 %7 = icmp sgt i32 %6, 3 store i32 %6, i32* %.pre-phi.reg2mem br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = icmp eq i32 %6, 1 br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = icmp eq i32 %6, 2 %10 = icmp eq i1 %9, false store i32 %6, i32* %.pre-phi.reg2mem br i1 %10, label LBL_7, label LBL_4 LBL_4: %11 = trunc i64 %1 to i32 %12 = add i32 %11, 1 %13 = bitcast i64* %arg1 to i32* store i32 %12, i32* %13, align 4 store i32 %6, i32* %.pre-phi.reg2mem br label LBL_7 LBL_5: %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, 1 store i32 %17, i32* %15, align 4 store i32 1, i32* %.pre-phi.reg2mem br label LBL_7 LBL_6: %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, 1 store i32 %21, i32* %19, align 4 %.pre = trunc i64 %4 to i32 store i32 %.pre, i32* %.pre-phi.reg2mem br label LBL_7 LBL_7: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %22 = add i64 %2, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, %.pre-phi.reload %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %2, i64 %26) ret i64 %27 uselistorder i32 %6, { 2, 1, 3, 4, 0, 5 } uselistorder i64 %2, { 2, 1, 3, 0 } uselistorder i32* %.pre-phi.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32 3, { 1, 0 } }
0
BinRealVul
fsl_imx6_class_init_16522
fsl_imx6_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198710, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64* %2, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
svc_can_register_10959
svc_can_register
define i64 @FUNC(i16* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i16* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = zext i32 %arg4 to i64 %3 = zext i32 %arg3 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 %1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = zext i1 %7 to i64 ret i64 %8 }
1
BinRealVul
lprn_is_black_19181
lprn_is_black
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge4.reg2mem = alloca i64 %storemerge57.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = call i64 @FUNC(i64 %arg1) %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp sgt i32 %2, 0 store i64 0, i64* %storemerge4.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = trunc i64 %arg2 to i32 %9 = trunc i64 %arg3 to i32 %10 = trunc i64 %3 to i32 %11 = ashr i32 %6, 31 %12 = zext i32 %6 to i64 %13 = zext i32 %11 to i64 %14 = mul i64 %13, 4294967296 %15 = or i64 %14, %12 %16 = and i64 %1, 4294967295 %17 = sdiv i64 %15, %16 %18 = mul i64 %17, %1 %19 = add i32 %9, %8 %20 = sub i32 %19, %2 %21 = ashr i32 %20, 31 %22 = zext i32 %20 to i64 %23 = zext i32 %21 to i64 %24 = mul i64 %23, 4294967296 %25 = or i64 %24, %22 %26 = and i64 %18, 4294967295 %27 = srem i64 %25, %26 %28 = trunc i64 %27 to i32 %29 = add i64 %arg1, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %arg1, 4 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = trunc i64 %arg4 to i32 %36 = mul i32 %34, %35 %37 = icmp eq i32 %34, 0 %sext = mul i64 %1, 4294967296 %38 = ashr exact i64 %sext, 32 %39 = zext i32 %34 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %40 = trunc i64 %indvars.iv.reload to i32 %41 = add i32 %40, %28 %42 = mul i32 %41, %10 %43 = add i32 %42, %36 %44 = sext i32 %43 to i64 %45 = add i64 %31, %44 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge57.reg2mem br i1 %37, label LBL_5, label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %46 = add i64 %45, %.reload %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 %49 = icmp eq i8 %48, 0 store i64 1, i64* %storemerge4.reg2mem br i1 %49, label LBL_4, label LBL_6 LBL_4: %storemerge57.reload = load i32, i32* %storemerge57.reg2mem %50 = add i32 %storemerge57.reload, 1 %51 = sext i32 %50 to i64 %52 = icmp slt i64 %51, %39 store i64 %51, i64* %.reg2mem store i32 %50, i32* %storemerge57.reg2mem br i1 %52, label LBL_3, label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %53 = icmp slt i64 %indvars.iv.next, %38 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge4.reg2mem br i1 %53, label LBL_2, label LBL_6 LBL_6: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i32 %34, { 1, 2, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge57.reg2mem, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 0, 2, 3 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
jsi_JsPreprocessLineCB_9719
jsi_JsPreprocessLineCB
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_8, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_8 LBL_2: %sext = mul i64 %arg4, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = trunc i64 %2 to i8 %13 = icmp eq i8 %12, 0 %14 = icmp eq i8 %3, %12 %15 = icmp eq i1 %14, false %or.cond = or i1 %13, %15 %16 = trunc i64 %11 to i32 %17 = icmp ult i32 %16, 3 %or.cond4 = or i1 %17, %or.cond store i64 0, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_8, label LBL_3 LBL_3: %18 = ptrtoint i64* %arg2 to i64 %19 = add nsw i64 %11, 4294967294 %20 = and i64 %19, 4294967295 %21 = add i64 %20, %18 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, %8 %25 = icmp eq i1 %24, false store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_8, label LBL_4 LBL_4: store i64 0, i64* %sv_0, align 8 store i8 0, i8* %22, align 1 %26 = add i64 %18, 1 %27 = call i64 @FUNC(i64 %5, i64 %26) %28 = call i64 @FUNC(i64 %5, i64 %27) %29 = add i64 %5, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %5, i64 %31, i64 %27, i64* nonnull %sv_0) %33 = call i64 @FUNC(i64 %5) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 store i64 1, i64* %rax.0.reg2mem br i1 %35, label LBL_5, label LBL_8 LBL_5: %36 = trunc i64 %32 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = call i64 @FUNC(i64* nonnull %sv_0) %39 = call i64 @FUNC(i64 %5, i64 %27) store i64 1, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %40 = call i64 @FUNC(i64 %5, i64 %27) %41 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_0, i64 1) %42 = call i64 @FUNC(i64* nonnull %sv_0) %43 = call i64 @FUNC(i64 %18, i64 %42, i64 %arg3) %44 = add i64 %arg3, -1 %45 = add i64 %44, %18 %46 = inttoptr i64 %45 to i8* store i8 0, i8* %46, align 1 %47 = call i64 @FUNC(i64* nonnull %sv_0) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %27, { 1, 0, 2, 3 } uselistorder i64 %18, { 0, 2, 3, 1 } uselistorder i8 %12, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %5, { 1, 0, 3, 2, 6, 5, 4, 7 } uselistorder i8 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 7, 4, 2, 1, 6, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @Jsi_DecrRefCount, { 1, 0 } uselistorder i64 (i64*)* @Jsi_DSFree, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_8, { 2, 6, 3, 1, 0, 5, 4 } }
0
BinRealVul
qemu_spice_display_init_common_15120
qemu_spice_display_init_common
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 32 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 -1, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* store i32 -1, i32* %7, align 4 %8 = add i64 %0, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: store i32 1024, i32* %9, align 4 br label LBL_2 LBL_2: %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* store i64 16777216, i64* %14, align 8 %15 = call i64 @FUNC(i64 16777216) %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 ret i64 %15 uselistorder i64 %15, { 1, 0 } }
1
BinRealVul
mxf_read_source_clip_15371
mxf_read_source_clip
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = icmp eq i32 %arg3, 4609 br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = icmp sgt i32 %arg3, 4609 br i1 %3, label LBL_9, label LBL_2 LBL_2: %4 = icmp eq i32 %arg3, 4354 br i1 %4, label LBL_8, label LBL_3 LBL_3: %5 = icmp sgt i32 %arg3, 4354 br i1 %5, label LBL_9, label LBL_4 LBL_4: switch i32 %arg3, label LBL_9 [ i32 514, label LBL_5 i32 4353, label LBL_7 ] LBL_5: %6 = call i64 @FUNC(i64 %0) store i64 %6, i64* %arg1, align 8 br label LBL_9 LBL_6: %7 = call i64 @FUNC(i64 %0) %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 br label LBL_9 LBL_7: %10 = call i64 @FUNC(i64 %0, i64 16) %11 = add i64 %1, 16 %12 = call i64 @FUNC(i64 %0, i64 %11, i64 16) br label LBL_9 LBL_8: %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i32 %15 = add i64 %1, 32 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 br label LBL_9 LBL_9: ret i64 0 uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 3, 1, 0, 4, 2 } uselistorder i64 16, { 0, 2, 1 } uselistorder i64 (i64)* @get_be64, { 1, 0 } uselistorder i32 4354, { 1, 0 } uselistorder i32 4609, { 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 4, 0, 5, 6 } }
1
BinRealVul
test_parse_path_subprocess_14375
test_parse_path_subprocess
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) %2 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) ret i64 %2 uselistorder i64 (i8*)* @qemu_set_log_filename, { 2, 1, 0 } }
1
BinRealVul
_nfs4_proc_open_9980
_nfs4_proc_open
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 0) %3 = add i64 %0, 40 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %2, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* %11 = trunc i64 %2 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = icmp eq i32 %11, 1 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = load i32, i32* %10, align 4 %16 = and i32 %15, 512 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 2, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_16 LBL_5: %19 = and i64 %2, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %20 = add i64 %0, 44 %21 = call i64 @FUNC(i64 %1, i64 %20) %22 = load i32, i32* %10, align 4 %23 = and i32 %22, 512 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = add i64 %0, 36 %26 = call i64 @FUNC(i64 %0, i64 %25) %27 = add i64 %0, 32 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %0, i64 %30) br label LBL_9 LBL_8: %32 = add i64 %0, 32 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %0, i64 %35) br label LBL_9 LBL_9: %37 = add i64 %0, 16 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = urem i32 %39, 2 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false store i32 %39, i32* %.reg2mem br i1 %42, label LBL_11, label LBL_10 LBL_10: %43 = inttoptr i64 %1 to i32* %44 = load i32, i32* %43, align 4 %45 = and i32 %44, -2 store i32 %45, i32* %43, align 4 %.pre = load i32, i32* %38, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_11 LBL_11: %.reload = load i32, i32* %.reg2mem %46 = and i32 %.reload, 2 %47 = icmp eq i32 %46, 0 br i1 %47, label LBL_14, label LBL_12 LBL_12: %48 = call i64 @FUNC(i64 %0) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_14, label LBL_13 LBL_13: %51 = and i64 %48, 4294967295 store i64 %51, i64* %rax.0.reg2mem br label LBL_16 LBL_14: %52 = add i64 %0, 24 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = urem i32 %56, 2 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_16, label LBL_15 LBL_15: %60 = add i64 %0, 36 %61 = call i64 @FUNC(i64 %1, i64 %60, i64 %54) store i64 0, 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* %43, { 1, 0 } uselistorder i32* %10, { 1, 0 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 %0, { 1, 2, 7, 11, 8, 0, 6, 3, 5, 4, 10, 13, 9, 12, 14 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 6, 5, 3, 4 } uselistorder i32 2, { 0, 2, 1 } uselistorder label LBL_16, { 1, 0, 3, 4, 2, 5 } }
0
BinRealVul
r128_cce_stop_4289
r128_cce_stop
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %7 = ptrtoint i32* %arg2 to i64 %8 = add i64 %7, 4 %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_3 LBL_3: %12 = call i64 @FUNC(i64 %2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = and i64 %12, 4294967295 store i64 %15, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %16 = call i64 @FUNC(i64 %2) %17 = call i64 @FUNC(i64 %2) 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 %2, { 2, 3, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
reposvul_c_test
cac_process_ACA_105
cac_process_ACA
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %1 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %sv_2, i64* nonnull %sv_1) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 store i64 %1, i64* %sv_0.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = load i64, i64* %sv_1, align 8 %6 = load i64, i64* %sv_2, align 8 %7 = call i64 @FUNC(i64 %0, i64 %4, i64 %6, i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %sv_0.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64* @malloc(i32 0) %12 = ptrtoint i64* %11 to i64 store i64 %12, i64* %arg2, align 8 %13 = icmp eq i64* %arg2, null %14 = icmp eq i1 %13, false %spec.select = select i1 %14, i64 %7, i64 4294967295 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = load i64, i64* %sv_2, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = inttoptr i64 %15 to i64* call void @free(i64* %17) br label LBL_5 LBL_5: %18 = and i64 %sv_0.0.reload, 4294967295 ret i64 %18 uselistorder i64 %7, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 1 } }
0
BinRealVul
b43_do_beacon_update_trigger_work_8921
b43_do_beacon_update_trigger_work
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = and i64 %1, 4294967295 ret i64 %4 }
0
BinRealVul
fuse_bmap_8729
fuse_bmap
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = inttoptr i64 %1 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_6 LBL_2: %6 = call i64 @FUNC(i64 %1) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_6 LBL_3: %9 = inttoptr i64 %6 to i32* %10 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 16) store i64 %arg2, i64* %sv_1, align 8 store i32 1, i32* %9, align 4 %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = add i64 %6, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %6, 8 %16 = inttoptr i64 %15 to i32* store i32 1, i32* %16, align 4 %17 = add i64 %6, 16 %18 = inttoptr i64 %17 to i64* store i64 16, i64* %18, align 8 %19 = add i64 %6, 24 %20 = inttoptr i64 %19 to i64* %21 = ptrtoint i64* %sv_1 to i64 store i64 %21, i64* %20, align 8 %22 = add i64 %6, 36 %23 = inttoptr i64 %22 to i32* store i32 1, i32* %23, align 4 %24 = add i64 %6, 40 %25 = inttoptr i64 %24 to i64* store i64 8, i64* %25, align 8 %26 = add i64 %6, 48 %27 = inttoptr i64 %26 to i64* %28 = ptrtoint i64* %sv_0 to i64 store i64 %28, i64* %27, align 8 %29 = call i64 @FUNC(i64 %1, i64 %6) %30 = add i64 %6, 32 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = call i64 @FUNC(i64 %1, i64 %6) %34 = icmp eq i32 %32, -38 %35 = icmp eq i1 %34, false br i1 %35, label LBL_5, label LBL_4 LBL_4: store i32 1, i32* %3, align 4 br label LBL_5 LBL_5: %36 = icmp eq i32 %32, 0 %37 = icmp eq i1 %36, false %38 = load i64, i64* %sv_0, align 8 %spec.select = select i1 %37, i64 0, i64 %38 ret i64 %spec.select LBL_6: ret i64 0 uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_6, { 0, 2, 1 } }
0
BinRealVul
check_tag_16327
check_tag
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sext3 = mul i64 %arg3, 4294967296 %0 = ashr exact i64 %sext3, 32 %1 = trunc i64 %0 to i32 %2 = icmp ult i32 %1, 5 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %arg2, 4294967295 %5 = call i64 @FUNC(i64 %3, i64 %4, i64 0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = and i64 %0, 4294967295 %9 = bitcast i32* %sv_0 to i64* %10 = call i64 @FUNC(i64 %3, i64* nonnull %9, i64 %8) %11 = trunc i64 %10 to i32 %12 = icmp ugt i32 %1, %11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = load i32, i32* %sv_0, align 4 %14 = icmp eq i32 %13, 0 store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64* nonnull %9, i64 %8) %16 = trunc i64 %15 to i32 %17 = icmp ne i32 %16, 0 %spec.select = zext i1 %17 to i64 ret i64 %spec.select LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder label LBL_5, { 0, 3, 1, 2 } }
1
BinRealVul
put_page_from_l2e_12098
put_page_from_l2e
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 %arg1) %1 = urem i64 %0, 2 %2 = icmp eq i64 %1, 0 store i64 1, i64* %storemerge.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1) %4 = icmp eq i64 %3, %arg2 %5 = icmp eq i1 %4, false store i64 1, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_5 LBL_2: %6 = call i64 @FUNC(i64 %arg1) %7 = and i64 %6, 2 %8 = icmp eq i64 %7, 0 %9 = call i64 @FUNC(i64 %arg1) store i32 0, i32* %storemerge12.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %10 = call i64 @FUNC(i64 %9) %11 = add nuw nsw i32 %storemerge12.reload, 1 %exitcond = icmp eq i32 %11, 1024 store i32 %11, i32* %storemerge12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_5, label LBL_3 LBL_4: %12 = call i64 @FUNC(i64 %9) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 1, 0 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64)* @put_page_and_type, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64)* @l2e_get_flags, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_5, { 1, 0, 3, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
encode_open_confirm_8394
encode_open_confirm
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: ret i64 0 }
0
BinRealVul
xen_evtchn_cpu_prepare_19290
xen_evtchn_cpu_prepare
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 %4 = and i64 %arg1, 4294967295 %spec.select = select i1 %3, i64 0, i64 %4 ret i64 %spec.select }
1
BinRealVul
do_command_7474
do_command
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge4.in.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge6.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sext = mul i64 %arg1, 72057594037927936 %5 = ashr exact i64 %sext, 56 %6 = urem i64 %arg1, 256 store i64 %6, i64* @0, align 8 %trunc8 = trunc i64 %arg1 to i8 store i64 1, i64* %rax.0.reg2mem switch i8 %trunc8, label LBL_34 [ i8 1, label LBL_35 i8 2, label LBL_1 i8 3, label LBL_2 i8 4, label LBL_3 i8 5, label LBL_5 i8 6, label LBL_11 i8 7, label LBL_11 i8 8, label LBL_18 i8 9, label LBL_21 i8 10, label LBL_24 i8 11, label LBL_27 i8 12, label LBL_28 i8 13, label LBL_28 i8 14, label LBL_33 ] LBL_1: %7 = load i32, i32* @gv_0, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8, i64 0) %10 = load i32, i32* @gv_0, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = load i32, i32* @gv_0, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = load i32, i32* @gv_0, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) store i64 1, i64* %rax.0.reg2mem br label LBL_35 LBL_2: %19 = load i32, i32* @gv_1, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20) br label LBL_34 LBL_3: %22 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %23 = load i32, i32* @gv_0, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_34, label LBL_4 LBL_4: %29 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_5: %30 = load i32, i32* @gv_1, align 4 %31 = icmp eq i32 %30, 0 %32 = load i32, i32* @gv_0, align 4 %33 = zext i32 %32 to i64 br i1 %31, label LBL_7, label LBL_6 LBL_6: %34 = call i64 @FUNC(i64 %33) store i64 %34, i64* %storemerge6.in.reg2mem br label LBL_8 LBL_7: %35 = call i64 @FUNC(i64 %33) store i64 %35, i64* %storemerge6.in.reg2mem br label LBL_8 LBL_8: %storemerge6.in.reload = load i64, i64* %storemerge6.in.reg2mem %storemerge6 = trunc i64 %storemerge6.in.reload to i32 %36 = icmp slt i32 %storemerge6, 0 %.pre = load i32, i32* @gv_1, align 4 store i32 %.pre, i32* %.reg2mem br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = icmp eq i32 %.pre, 0 %38 = zext i1 %37 to i32 store i32 %38, i32* @gv_1, align 4 store i32 %38, i32* %.reg2mem br label LBL_10 LBL_10: %.reload = load i32, i32* %.reg2mem %39 = icmp eq i32 %.reload, 0 %. = select i1 %39, i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 ptrtoint ([3 x i8]* @gv_5 to i64) %40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_6, i64 0, i64 0), i64 %., i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_11: %41 = trunc i64 %5 to i8 %42 = icmp eq i8 %41, 6 %43 = icmp eq i1 %42, false %44 = load i32, i32* @gv_7, align 4 %45 = zext i32 %44 to i64 br i1 %43, label LBL_13, label LBL_12 LBL_12: %46 = call i64 @FUNC(i64 %45) store i64 %46, i64* %storemerge4.in.reg2mem br label LBL_14 LBL_13: %47 = call i64 @FUNC(i64 %45) store i64 %47, i64* %storemerge4.in.reg2mem br label LBL_14 LBL_14: %storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem %storemerge4 = trunc i64 %storemerge4.in.reload to i32 store i32 %storemerge4, i32* @gv_7, align 4 %48 = load i32, i32* @gv_0, align 4 %49 = and i64 %storemerge4.in.reload, 4294967295 %50 = zext i32 %48 to i64 %51 = call i64 @FUNC(i64 %50, i64 %49) store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8 %52 = load i32, i32* @gv_0, align 4 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %53) %55 = load i32, i32* @gv_0, align 4 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %56) %58 = load i32, i32* @gv_0, align 4 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64 %59, i64 0) %61 = trunc i64 %60 to i32 %62 = load i32, i32* @gv_7, align 4 %63 = icmp eq i32 %62, %61 %64 = and i64 %60, 4294967295 br i1 %63, label LBL_16, label LBL_15 LBL_15: %65 = zext i32 %62 to i64 %66 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_9, i64 0, i64 0), i64 %65, i64 %64, i64 %2, i64 %1) br label LBL_17 LBL_16: %67 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_10, i64 0, i64 0), i64 %64, i64 %4, i64 %2, i64 %1) br label LBL_17 LBL_17: %68 = call i64 @FUNC(i64 %64) br label LBL_34 LBL_18: %69 = load i32, i32* @gv_11, align 4 %70 = zext i32 %69 to i64 %71 = call i64 @FUNC(i64 %70) %72 = trunc i64 %71 to i32 store i32 %72, i32* @gv_11, align 4 %73 = load i32, i32* @gv_0, align 4 %74 = and i64 %71, 4294967295 %75 = zext i32 %73 to i64 %76 = call i64 @FUNC(i64 %75, i64 %74) store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8 %77 = load i32, i32* @gv_0, align 4 %78 = zext i32 %77 to i64 %79 = call i64 @FUNC(i64 %78) %80 = load i32, i32* @gv_0, align 4 %81 = zext i32 %80 to i64 %82 = call i64 @FUNC(i64 %81) %83 = load i32, i32* @gv_0, align 4 %84 = zext i32 %83 to i64 %85 = call i64 @FUNC(i64 %84) %86 = trunc i64 %85 to i32 %87 = load i32, i32* @gv_11, align 4 %88 = icmp eq i32 %87, %86 %sext13 = mul i64 %85, 4294967296 %89 = ashr exact i64 %sext13, 29 %90 = add i64 %89, ptrtoint ([3 x i8*]* @gv_12 to i64) %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 br i1 %88, label LBL_20, label LBL_19 LBL_19: %93 = sext i32 %87 to i64 %94 = mul i64 %93, 8 %95 = add i64 %94, ptrtoint ([3 x i8*]* @gv_12 to i64) %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_13, i64 0, i64 0), i64 %97, i64 %92, i64 %2, i64 %1) br label LBL_34 LBL_20: %99 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_14, i64 0, i64 0), i64 %92, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_21: %100 = load i32, i32* @gv_15, align 4 %101 = zext i32 %100 to i64 %102 = call i64 @FUNC(i64 %101) %103 = trunc i64 %102 to i32 store i32 %103, i32* @gv_15, align 4 %104 = load i32, i32* @gv_0, align 4 %105 = and i64 %102, 4294967295 %106 = zext i32 %104 to i64 %107 = call i64 @FUNC(i64 %106, i64 %105) store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8 %108 = load i32, i32* @gv_0, align 4 %109 = zext i32 %108 to i64 %110 = call i64 @FUNC(i64 %109) %111 = load i32, i32* @gv_0, align 4 %112 = zext i32 %111 to i64 %113 = call i64 @FUNC(i64 %112) %114 = load i32, i32* @gv_0, align 4 %115 = zext i32 %114 to i64 %116 = call i64 @FUNC(i64 %115) %117 = trunc i64 %116 to i32 %118 = load i32, i32* @gv_15, align 4 %119 = icmp eq i32 %118, %117 %sext12 = mul i64 %116, 4294967296 %120 = ashr exact i64 %sext12, 29 %121 = add i64 %120, ptrtoint ([3 x i8*]* @gv_16 to i64) %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 br i1 %119, label LBL_23, label LBL_22 LBL_22: %124 = sext i32 %118 to i64 %125 = mul i64 %124, 8 %126 = add i64 %125, ptrtoint ([3 x i8*]* @gv_16 to i64) %127 = inttoptr i64 %126 to i64* %128 = load i64, i64* %127, align 8 %129 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_17, i64 0, i64 0), i64 %128, i64 %123, i64 %2, i64 %1) br label LBL_34 LBL_23: %130 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_18, i64 0, i64 0), i64 %123, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_24: %131 = load i32, i32* @gv_19, align 4 %132 = zext i32 %131 to i64 %133 = call i64 @FUNC(i64 %132) %134 = trunc i64 %133 to i32 store i32 %134, i32* @gv_19, align 4 %135 = load i32, i32* @gv_0, align 4 %136 = and i64 %133, 4294967295 %137 = zext i32 %135 to i64 %138 = call i64 @FUNC(i64 %137, i64 %136) store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8 %139 = load i32, i32* @gv_0, align 4 %140 = zext i32 %139 to i64 %141 = call i64 @FUNC(i64 %140) %142 = load i32, i32* @gv_0, align 4 %143 = zext i32 %142 to i64 %144 = call i64 @FUNC(i64 %143) %145 = load i32, i32* @gv_0, align 4 %146 = zext i32 %145 to i64 %147 = call i64 @FUNC(i64 %146) %148 = trunc i64 %147 to i32 %149 = load i32, i32* @gv_19, align 4 %150 = icmp eq i32 %149, %148 %151 = and i64 %147, 4294967295 br i1 %150, label LBL_26, label LBL_25 LBL_25: %152 = zext i32 %149 to i64 %153 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_20, i64 0, i64 0), i64 %152, i64 %151, i64 %2, i64 %1) br label LBL_34 LBL_26: %154 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_21, i64 0, i64 0), i64 %151, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_27: %155 = load i32, i32* @gv_22, align 4 %156 = icmp eq i32 %155, 0 %157 = zext i1 %156 to i32 store i32 %157, i32* @gv_22, align 4 %158 = icmp eq i1 %156, false %.7 = select i1 %158, i64 ptrtoint ([3 x i8]* @gv_23 to i64), i64 ptrtoint ([4 x i8]* @gv_24 to i64) %159 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_25, i64 0, i64 0), i64 %.7, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_28: %160 = trunc i64 %5 to i8 %161 = icmp eq i8 %160, 12 %162 = icmp eq i1 %161, false %163 = load i64, i64* @gv_26, align 8 %164 = load i8*, i8** @gv_27, align 8 %165 = ptrtoint i8* %164 to i64 %storemerge = select i1 %162, i64 %163, i64 %165 %166 = inttoptr i64 %storemerge to i8* %167 = load i8, i8* %166, align 1 %168 = icmp eq i8 %167, 0 %169 = icmp eq i1 %168, false br i1 %169, label LBL_30, label LBL_29 LBL_29: %170 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_28, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_30: %171 = call i64 @FUNC() %172 = icmp eq i64 %171, 0 %173 = icmp eq i1 %172, false br i1 %173, label LBL_32, label LBL_31 LBL_31: %174 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_29, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_32: %175 = load i32, i32* @gv_0, align 4 %176 = zext i32 %175 to i64 %177 = call i64 @FUNC(i64 %176, i64 %storemerge, i64 %171, i64 0) %178 = call i64 @FUNC(i64 %171) br label LBL_34 LBL_33: %179 = load i32, i32* @gv_0, align 4 %180 = zext i32 %179 to i64 %181 = call i64 @FUNC(i64 %180) %182 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_30, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) br label LBL_34 LBL_34: store i64 0, i64* %rax.0.reg2mem br label LBL_35 LBL_35: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %171, { 1, 0, 2 } uselistorder i64 %151, { 1, 0 } uselistorder i64 %123, { 1, 0 } uselistorder i64 %92, { 1, 0 } uselistorder i64 %64, { 0, 2, 1 } uselistorder i64 %storemerge4.in.reload, { 1, 0 } uselistorder i64 %45, { 1, 0 } uselistorder i32 %.pre, { 1, 0 } uselistorder i64 %33, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %3, { 4, 3, 2, 1, 0 } uselistorder i64 %2, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %storemerge6.in.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge4.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32* @gv_22, { 1, 0 } uselistorder i32* @gv_19, { 3, 2, 1, 0 } uselistorder i64 ptrtoint ([3 x i8*]* @gv_16 to i64), { 1, 0 } uselistorder i32* @gv_15, { 3, 2, 1, 0 } uselistorder i64 ptrtoint ([3 x i8*]* @gv_12 to i64), { 1, 0 } uselistorder i64 29, { 1, 0 } uselistorder i32* @gv_11, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 5, 4, 3, 0, 2, 6, 7, 8, 9, 10, 11 } uselistorder i32* @gv_7, { 3, 0, 2, 1 } uselistorder i1 false, { 1, 2, 3, 0, 4, 5 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @fd_printf, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* @gv_1, { 3, 0, 2, 1 } uselistorder i64 (i64)* @term_apply, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @term_flush, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 } uselistorder i32* @gv_0, { 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 12, { 1, 0 } uselistorder i8 6, { 1, 0 } uselistorder i64 1, { 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 1, 0, 2, 3, 4, 5 } uselistorder i32 1, { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_35, { 2, 1, 0 } uselistorder label LBL_34, { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1, 0, 16, 2 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
check_restricted_13532
check_restricted
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1 %1 = icmp eq i8 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @globalFUNCvarFUNC402010, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %2) store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
wait_for_key_construction_6055
wait_for_key_construction
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = urem i64 %arg2, 256 %2 = call i64 @FUNC(i64 %0, i64 1, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %5, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %0) store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
CRYPTO_realloc_clean_17510
CRYPTO_realloc_clean
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i8* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64* %.pre-phi10.reg2mem = alloca i64* %sext5 = mul i64 %arg3, 4294967296 %0 = ashr exact i64 %sext5, 32 %sext6 = mul i64 %arg5, 4294967296 %1 = ashr exact i64 %sext6, 32 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = ptrtoint i8* %arg4 to i64 %6 = and i64 %0, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 %5, i32 %4) store i64 %7, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %8 = trunc i64 %0 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp slt i32 %8, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_7 LBL_3: %14 = trunc i64 %1 to i32 %15 = ptrtoint i8* %arg4 to i64 %16 = call i64 @FUNC(i64 %0, i64 %15, i32 %14) %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %.pre = inttoptr i64 %arg1 to i64* store i64* null, i64** %.pre-phi10.reg2mem store i64* %.pre, i64** %.pre-phi.reg2mem br label LBL_6 LBL_5: %sext = mul i64 %arg2, 4294967296 %18 = trunc i64 %arg2 to i32 %19 = inttoptr i64 %16 to i64* %20 = inttoptr i64 %arg1 to i64* %21 = call i64* @memcpy(i64* %19, i64* %20, i32 %18) %22 = ashr exact i64 %sext, 32 %23 = call i64 @FUNC(i64 %arg1, i64 %22) %24 = call i64 @FUNC(i64 %arg1) store i64* %19, i64** %.pre-phi10.reg2mem store i64* %20, i64** %.pre-phi.reg2mem br label LBL_6 LBL_6: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %.pre-phi10.reload = load i64*, i64** %.pre-phi10.reg2mem %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %26 = and i64 %0, 4294967295 %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64* %.pre-phi.reload, i64* %.pre-phi10.reload, i64 %26) store i64 %16, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 2, 0, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 2, 1, 3, 4, 0 } uselistorder i64 4294967296, { 2, 0, 1 } uselistorder i32 1, { 2, 1, 0, 5, 4, 3 } uselistorder i8* %arg4, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 2, 1, 3, 0, 4 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
parse_byte_size_string_18509
parse_byte_size_string
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i8* %1 = load i64, i64* %0 %sv_1 = alloca i128, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i16, align 2 %sv_4 = alloca i64, align 8 store i16 0, i16* %sv_3, align 2 %2 = icmp eq i64 %arg1, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %2, label LBL_19, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_19 LBL_2: %6 = bitcast i64* %sv_2 to i8* %7 = inttoptr i64 %arg1 to i8* %8 = call i8* @stpncpy(i8* nonnull %6, i8* %7, i32 22) %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_19 LBL_3: %11 = ptrtoint i8* %8 to i64 %12 = call i16** @__ctype_b_loc() %13 = load i16*, i16** %12, align 8 %14 = ptrtoint i16* %13 to i64 %15 = add i64 %11, -1 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = sext i8 %17 to i64 %19 = mul i64 %18, 2 %20 = add i64 %19, %14 %21 = inttoptr i64 %20 to i16* %22 = load i16, i16* %21, align 2 %23 = and i16 %22, 2048 %24 = icmp eq i16 %23, 0 store i32 0, i32* %sv_0.06.reg2mem br i1 %24, label LBL_4, label LBL_9 LBL_4: %25 = call i16** @__ctype_b_loc() %26 = load i16*, i16** %25, align 8 %27 = ptrtoint i16* %26 to i64 %28 = load i8, i8* %16, align 1 %29 = sext i8 %28 to i64 %30 = mul i64 %29, 2 %31 = add i64 %30, %27 %32 = inttoptr i64 %31 to i16* %33 = load i16, i16* %32, align 2 %34 = and i16 %33, 1024 %35 = icmp eq i16 %34, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %35, label LBL_19, label LBL_5 LBL_5: %36 = add i64 %11, -2 %37 = ptrtoint i64* %sv_2 to i64 %38 = icmp eq i64 %36, %37 %39 = icmp eq i1 %38, false br i1 %39, label LBL_5.LBL_8_crit_edge, label LBL_7 LBL_6: %.pre = inttoptr i64 %36 to i8* store i8* %.pre, i8** %.pre-phi.reg2mem br label LBL_8 LBL_7: %40 = call i16** @__ctype_b_loc() %41 = load i16*, i16** %40, align 8 %42 = ptrtoint i16* %41 to i64 %43 = inttoptr i64 %36 to i8* %44 = load i8, i8* %43, align 1 %45 = sext i8 %44 to i64 %46 = mul i64 %45, 2 %47 = add i64 %46, %42 %48 = inttoptr i64 %47 to i16* %49 = load i16, i16* %48, align 2 %50 = and i16 %49, 2048 %51 = icmp eq i16 %50, 0 %52 = icmp eq i1 %51, false store i8* %43, i8** %.pre-phi.reg2mem store i64 4294967274, i64* %rax.0.reg2mem br i1 %52, label LBL_8, label LBL_19 LBL_8: %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem %53 = call i16** @__ctype_b_loc() %54 = load i16*, i16** %53, align 8 %55 = ptrtoint i16* %54 to i64 %56 = load i8, i8* %.pre-phi.reload, align 1 %57 = sext i8 %56 to i64 %58 = mul i64 %57, 2 %59 = add i64 %58, %55 %60 = inttoptr i64 %59 to i16* %61 = load i16, i16* %60, align 2 %62 = and i16 %61, 1024 %63 = icmp eq i16 %62, 0 %spec.select = select i1 %63, i32 1, i32 2 %64 = zext i32 %spec.select to i64 %65 = sub i64 %11, %64 %66 = bitcast i16* %sv_3 to i64* %67 = inttoptr i64 %65 to i64* %68 = call i64* @memcpy(i64* nonnull %66, i64* %67, i32 %spec.select) %69 = ptrtoint i16* %sv_3 to i64 %70 = add i64 %64, %69 %71 = inttoptr i64 %70 to i8* store i8 0, i8* %71, align 1 %72 = inttoptr i64 %65 to i8* store i8 0, i8* %72, align 1 store i32 %spec.select, i32* %sv_0.06.reg2mem br label LBL_9 LBL_9: %73 = ptrtoint i64* %sv_4 to i64 %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %74 = call i32 @strlen(i8* nonnull %6) %75 = sext i32 %74 to i64 %76 = call i64 @FUNC(i64* nonnull %sv_2, i64 %75) %sext = mul i64 %76, 4294967296 %77 = ashr exact i64 %sext, 32 %78 = add i64 %73, -80 %79 = add i64 %78, %77 %80 = inttoptr i64 %79 to i8* store i8 0, i8* %80, align 1 %81 = bitcast i128* %sv_1 to i64* %82 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %81) %83 = trunc i64 %82 to i32 %84 = icmp slt i32 %83, 0 %85 = icmp eq i1 %84, false br i1 %85, label LBL_11, label LBL_10 LBL_10: %86 = sub i64 0, %82 %87 = and i64 %86, 4294967295 store i64 %87, i64* %rax.0.reg2mem br label LBL_19 LBL_11: %88 = icmp eq i32 %sv_0.06.reload, 2 br i1 %88, label LBL_13, label LBL_12 LBL_12: %89 = load i128, i128* %sv_1, align 8 %90 = trunc i128 %89 to i64 store i64 %90, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_13: %91 = bitcast i16* %sv_3 to i8* %92 = call i32 @strcasecmp(i8* nonnull %91, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %93 = icmp eq i32 %92, 0 %94 = icmp eq i1 %93, false br i1 %94, label LBL_14, label LBL_16 LBL_14: %95 = call i32 @strcasecmp(i8* nonnull %91, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %96 = icmp eq i32 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_15, label LBL_16 LBL_15: %98 = call i32 @strcasecmp(i8* nonnull %91, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0)) %99 = icmp eq i32 %98, 0 %100 = icmp eq i1 %99, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %100, label LBL_19, label LBL_16 LBL_16: %101 = load i128, i128* %sv_1, align 8 %102 = trunc i128 %101 to i64 %103 = icmp eq i64 %102, 0 br i1 %103, label LBL_18, label LBL_17 LBL_17: store i64 4294967262, i64* %rax.0.reg2mem br i1 false, label LBL_18, label LBL_19 LBL_18: store i64 0, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %spec.select, { 0, 2, 1 } uselistorder i64 %36, { 1, 0, 2 } uselistorder i8* %8, { 1, 0 } uselistorder i16* %sv_3, { 0, 2, 1, 3 } uselistorder i64* %sv_2, { 0, 1, 3, 2 } uselistorder i128* %sv_1, { 1, 0, 2 } uselistorder i32* %sv_0.06.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 1, 2, 9, 8, 3, 4, 5, 7, 6 } uselistorder i32 (i8*, i8*)* @strcasecmp, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i16 1024, { 1, 0 } uselistorder i16** ()* @__ctype_b_loc, { 4, 0, 1, 2, 3 } uselistorder i8 0, { 1, 2, 3, 4, 0, 5 } uselistorder i64 4294967274, { 0, 1, 2, 3, 5, 4, 6, 7 } uselistorder i16 0, { 1, 2, 0, 3, 5, 4 } uselistorder label LBL_19, { 7, 0, 1, 8, 9, 2, 3, 4, 6, 5 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
spapr_tce_table_realize_1507
spapr_tce_table_realize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem5 = alloca i64 %.pre-phi3.reg2mem = alloca i64* %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = urem i32 %6, 64 %8 = zext i32 %7 to i64 %rdx.0 = shl i64 %3, %8 %9 = call i64 @FUNC() %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp ult i64 %rdx.0, 4294967296 %13 = icmp eq i1 %12, false %or.cond = or i1 %11, %13 br i1 %or.cond, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %2, 16 %.pre2 = inttoptr i64 %.pre to i64* %.pre4 = load i64, i64* %.pre2, align 8 store i64 %.pre4, i64* %.reg2mem store i64* %.pre2, i64** %.pre-phi3.reg2mem br label LBL_3 LBL_2: %14 = add i64 %2, 28 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %2, 24 %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %16 to i64 %22 = zext i32 %20 to i64 %23 = call i64 @FUNC(i64 %22, i64 %rdx.0, i64 %17, i64 %21) %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 store i64 %23, i64* %.reg2mem store i64* %25, i64** %.pre-phi3.reg2mem br label LBL_3 LBL_3: %26 = bitcast i64* %rdi to i32* %.reload = load i64, i64* %.reg2mem %27 = icmp eq i64 %.reload, 0 %28 = icmp eq i1 %27, false store i64 %.reload, i64* %.reg2mem5 br i1 %28, label LBL_5, label LBL_4 LBL_4: %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem %29 = load i32, i32* %26, align 8 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = call i64 @FUNC(i64 %31) store i64 %32, i64* %.pre-phi3.reload, align 8 store i64 %32, i64* %.reg2mem5 br label LBL_5 LBL_5: %.reload6 = load i64, i64* %.reg2mem5 %33 = add i64 %2, 24 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %2, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %39, i64 %2, i64 %.reload6, i32 %35) %41 = load i32, i32* %26, align 8 %42 = sext i32 %41 to i64 %43 = load i32, i32* %5, align 4 %44 = urem i32 %43, 64 %45 = zext i32 %44 to i64 %rdx.1 = shl i64 %42, %45 %46 = add i64 %2, 32 %47 = call i64 @FUNC(i64 %46, i64 %2, i64* nonnull @gv_0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %rdx.1) %48 = load i32, i32* %37, align 4 %49 = call i64 @FUNC(i64 %2, i32 %48, i64* nonnull @gv_2, i64 %2) ret i64 0 uselistorder i32* %26, { 1, 0 } uselistorder i64 %2, { 5, 6, 7, 8, 10, 11, 9, 1, 4, 3, 2, 0, 12 } uselistorder i64* %.reg2mem5, { 0, 2, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
get_qcx_15996
get_qcx
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv10.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = sub i64 %3, %0 %5 = icmp eq i64 %4, 0 %6 = icmp slt i64 %4, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 store i64 4294967274, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_14 LBL_1: %10 = ptrtoint i64* %arg3 to i64 %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = ashr i32 %12, 5 %14 = bitcast i64* %arg3 to i32* store i32 %13, i32* %14, align 4 %15 = urem i32 %12, 32 %16 = add i64 %10, 4 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = icmp eq i32 %15, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %sext4 = add i64 %sext, -12884901888 %20 = ashr exact i64 %sext4, 32 %21 = load i64, i64* %2, align 8 %22 = sub i64 %21, %0 %23 = icmp slt i64 %22, %20 store i64 4294967274, i64* %rax.0.reg2mem br i1 %23, label LBL_14, label LBL_3 LBL_3: %24 = trunc i64 %20 to i32 %25 = icmp sgt i32 %24, 0 store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_4, label LBL_14 LBL_4: %26 = add i64 %10, 8 %wide.trip.count = and i64 %20, 4294967295 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_5 LBL_5: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %27 = call i64 @FUNC(i64 %0) %28 = trunc i64 %27 to i32 %29 = ashr i32 %28, 3 %30 = mul i64 %indvars.iv12.reload, 4 %31 = add i64 %26, %30 %32 = inttoptr i64 %31 to i32* store i32 %29, i32* %32, align 4 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %exitcond14 = icmp eq i64 %indvars.iv.next13, %wide.trip.count store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond14, label LBL_14, label LBL_5 LBL_6: %33 = icmp eq i32 %15, 1 %34 = icmp eq i1 %33, false br i1 %34, label LBL_10, label LBL_7 LBL_7: %35 = load i64, i64* %2, align 8 %36 = sub i64 %35, %0 %37 = icmp sgt i64 %36, 1 store i64 4294967274, i64* %rax.0.reg2mem br i1 %37, label LBL_8, label LBL_14 LBL_8: %38 = call i64 @FUNC(i64 %0) %39 = trunc i64 %38 to i32 %40 = ashr i32 %39, 11 %41 = add i64 %10, 8 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = urem i32 %39, 2048 %44 = add i64 %10, 392 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 store i64 1, i64* %indvars.iv10.reg2mem br label LBL_9 LBL_9: %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %46 = load i32, i32* %42, align 4 %47 = add nsw i64 %indvars.iv10.reload, -1 %48 = mul nuw nsw i64 %47, 1431655766 %49 = udiv i64 %48, 4294967296 %50 = trunc i64 %47 to i32 %51 = ashr i32 %50, 31 %52 = trunc i64 %49 to i32 %53 = sub i32 %51, %52 %54 = add i32 %53, %46 %55 = icmp sgt i32 %54, 0 %56 = select i1 %55, i32 %54, i32 0 %57 = mul i64 %indvars.iv10.reload, 4 %58 = add i64 %57, %41 %59 = inttoptr i64 %58 to i32* store i32 %56, i32* %59, align 4 %60 = load i32, i32* %45, align 4 %61 = add i64 %57, %44 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next11, 96 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_14, label LBL_9 LBL_10: %63 = trunc i64 %arg2 to i32 %64 = add i32 %63, -3 %65 = ashr i32 %64, 1 %66 = sext i32 %65 to i64 %67 = load i64, i64* %2, align 8 %68 = sub i64 %67, %0 %69 = icmp slt i64 %68, %66 store i64 4294967274, i64* %rax.0.reg2mem br i1 %69, label LBL_14, label LBL_11 LBL_11: %70 = icmp sgt i32 %64, 1 store i64 0, i64* %rax.0.reg2mem br i1 %70, label LBL_12, label LBL_14 LBL_12: %71 = add i64 %10, 8 %72 = add i64 %10, 392 store i64 0, i64* %indvars.iv.reg2mem br label LBL_13 LBL_13: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %73 = call i64 @FUNC(i64 %0) %74 = trunc i64 %73 to i32 %75 = ashr i32 %74, 11 %76 = mul i64 %indvars.iv.reload, 4 %77 = add i64 %71, %76 %78 = inttoptr i64 %77 to i32* store i32 %75, i32* %78, align 4 %79 = urem i32 %74, 2048 %80 = add i64 %72, %76 %81 = inttoptr i64 %80 to i32* store i32 %79, i32* %81, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %82 = icmp slt i64 %indvars.iv.next, %66 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %82, label LBL_13, label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %76, { 1, 0 } uselistorder i64 %57, { 1, 0 } uselistorder i64 %indvars.iv10.reload, { 0, 2, 1 } uselistorder i64 %20, { 0, 2, 1 } uselistorder i32 %15, { 1, 2, 0 } uselistorder i64 %10, { 0, 4, 2, 3, 1, 5 } uselistorder i64* %2, { 2, 1, 0, 3 } uselistorder i64 %0, { 4, 5, 3, 2, 0, 1, 6, 7, 8 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 6, 2, 7, 1, 4, 8, 9 } uselistorder i64 (i64)* @bytestream_get_be16, { 1, 0 } uselistorder i64 1, { 3, 2, 0, 4, 1, 5, 6 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i64 (i64)* @bytestream_get_byte, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_14, { 2, 4, 5, 1, 6, 0, 3, 7, 8 } uselistorder label LBL_13, { 1, 0 } }
1
BinRealVul
ng_pkt_11810
ng_pkt
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 24) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = inttoptr i64 %2 to i64* store i64 0, i64* %5, align 8 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %arg2, 3 %9 = inttoptr i64 %8 to i8* %10 = call i8* @strchr(i8* %9, i32 32) %11 = icmp eq i8* %10, null br i1 %11, label LBL_8, label LBL_2 LBL_2: %12 = ptrtoint i8* %10 to i64 %13 = sub i64 %12, %8 %14 = add i64 %13, %1 %15 = icmp ult i64 %14, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_9 LBL_3: %16 = call i64 @FUNC(i64 %1) store i64 %16, i64* %5, align 8 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_9 LBL_4: %19 = trunc i64 %13 to i32 %20 = inttoptr i64 %16 to i64* %21 = inttoptr i64 %8 to i64* %22 = call i64* @memcpy(i64* %20, i64* %21, i32 %19) %23 = load i64, i64* %5, align 8 %sext = mul i64 %13, 4294967296 %24 = ashr exact i64 %sext, 32 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = add i64 %12, 1 %28 = inttoptr i64 %27 to i8* %29 = call i8* @strchr(i8* %28, i32 10) %30 = icmp eq i8* %29, null br i1 %30, label LBL_8, label LBL_5 LBL_5: %31 = ptrtoint i8* %29 to i64 %32 = sub i64 %31, %27 %33 = add i64 %32, %1 %34 = icmp ult i64 %33, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %34, label LBL_6, label LBL_9 LBL_6: %35 = call i64 @FUNC(i64 %1) %36 = add i64 %2, 8 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = icmp eq i64 %35, 0 %39 = icmp eq i1 %38, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %39, label LBL_7, label LBL_9 LBL_7: %40 = trunc i64 %32 to i32 %41 = inttoptr i64 %35 to i64* %42 = inttoptr i64 %27 to i64* %43 = call i64* @memcpy(i64* %41, i64* %42, i32 %40) %44 = load i64, i64* %37, align 8 %sext2 = mul i64 %32, 4294967296 %45 = ashr exact i64 %sext2, 32 %46 = add i64 %44, %45 %47 = inttoptr i64 %46 to i8* store i8 0, i8* %47, align 1 store i64 %2, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %48 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) %49 = load i64, i64* %5, align 8 %50 = call i64 @FUNC(i64 %49) %51 = call i64 @FUNC(i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 0, 2 } uselistorder i64 %32, { 0, 2, 1 } uselistorder i8* %29, { 1, 0 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %13, { 0, 2, 1 } uselistorder i8* %10, { 1, 0 } uselistorder i64* %5, { 2, 0, 1, 3 } uselistorder i64 %2, { 2, 0, 1, 3, 4, 5 } uselistorder i64 %1, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 2, 3, 4, 5 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 4294967295, { 5, 0, 1, 2, 3, 4 } uselistorder i64 (i64)* @git__malloc, { 2, 1, 0 } uselistorder label LBL_9, { 5, 6, 0, 1, 2, 3, 4 } }
1
BinRealVul
rbd_finish_aiocb_15724
rbd_finish_aiocb
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = inttoptr i64 %arg2 to i32* store i32 %1, i32* %2, align 4 %3 = call i64 @FUNC(i64 %arg1) %4 = add i64 %arg2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6, i64 %arg2) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) %12 = call i64 @FUNC(i64 %arg2) store i64 %12, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 1, 0 } uselistorder i64 %arg2, { 0, 2, 1, 3 } }
1
BinRealVul
pdf_handle_enc_7835
pdf_handle_enc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %storemerge2.lcssa.reg2mem = alloca i32 %storemerge26.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i64, i64* %0 %sv_3 = alloca i32, align 4 %7 = trunc i64 %3 to i32 %8 = icmp eq i32 %7, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_37, label LBL_1 LBL_1: %9 = ptrtoint i64* %arg1 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %2, i64 %1) store i64 %15, i64* %rax.0.reg2mem br label LBL_37 LBL_3: %16 = add i64 %9, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %9, i64 %18, i32 %7) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = udiv i64 %3, 256 %23 = urem i64 %22, 16777216 %24 = urem i64 %3, 256 %25 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %24, i64 %23, i64 %2, i64 %1) store i64 %25, i64* %rax.0.reg2mem br label LBL_37 LBL_5: %26 = inttoptr i64 %19 to i32* %27 = call i64 @FUNC(i64 %9, i64 %19, i64 1) %28 = trunc i64 %27 to i32 %29 = add i64 %9, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = load i32, i32* %26, align 4 %33 = zext i32 %32 to i64 %34 = add i64 %31, %33 %35 = call i64 @FUNC(i64 %34, i32 %28, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 1) %36 = and i64 %27, 4294967295 %37 = call i64 @FUNC(i64 %34, i64 %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, -1 %40 = icmp eq i1 %39, false br i1 %40, label LBL_7, label LBL_6 LBL_6: %41 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 %36, i64 ptrtoint ([3 x i8]* @gv_3 to i64), i64 %36, i64 %2, i64 %1) store i64 0, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_36 LBL_7: %42 = call i64 @FUNC(i64 %34, i32 %28, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 9) %43 = icmp eq i64 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_9, label LBL_8 LBL_8: %45 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0), i64 %36, i64 ptrtoint ([10 x i8]* @gv_5 to i64), i64 9, i64 %2, i64 %1) store i64 0, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_36 LBL_9: %46 = add i64 %34, %27 %47 = sub i64 %46, %42 %48 = and i64 %47, 4294967295 %49 = call i64 @FUNC(i64 %42, i64 %48, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0)) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, -1 %52 = icmp eq i1 %51, false store i32 %50, i32* %sv_2.0.reg2mem store i64 %48, i64* %rcx.0.reg2mem br i1 %52, label LBL_11, label LBL_10 LBL_10: %53 = call i64 @FUNC(i64 %34, i64 %36, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0)) %54 = trunc i64 %53 to i32 store i32 %54, i32* %sv_2.0.reg2mem store i64 %36, i64* %rcx.0.reg2mem br label LBL_11 LBL_11: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %55 = icmp eq i32 %sv_2.0.reload, -1 %56 = icmp eq i1 %55, false %spec.select = select i1 %56, i32 %sv_2.0.reload, i32 40 %57 = icmp ult i32 %spec.select, 40 store i32 %spec.select, i32* %sv_2.2.reg2mem br i1 %57, label LBL_12, label LBL_13 LBL_12: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %58 = zext i32 %spec.select to i64 %59 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_8, i64 0, i64 0), i64 %58, i64 ptrtoint ([8 x i8]* @gv_7 to i64), i64 %rcx.0.reload, i64 %2, i64 %1) store i32 40, i32* %sv_2.2.reg2mem br label LBL_13 LBL_13: %60 = call i64 @FUNC(i64 %34, i64 %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0)) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, -1 %63 = icmp eq i1 %62, false br i1 %63, label LBL_15, label LBL_14 LBL_14: %64 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_10, i64 0, i64 0), i64 %36, i64 ptrtoint ([3 x i8]* @gv_9 to i64), i64 %36, i64 %2, i64 %1) store i64 0, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_36 LBL_15: store i32 0, i32* %sv_3, align 4 %65 = ptrtoint i32* %sv_3 to i64 %66 = call i64 @FUNC(i64 %34, i32 %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_11, i64 0, i64 0), i32* nonnull %sv_3) %67 = icmp eq i64 %66, 0 %68 = load i32, i32* %sv_3, align 4 br i1 %67, label LBL_16, label LBL_17 LBL_16: %69 = zext i32 %68 to i64 %70 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_12, i64 0, i64 0), i64 %69, i64 ptrtoint ([3 x i8]* @gv_11 to i64), i64 %65, i64 %2, i64 %1) store i64 0, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_36 LBL_17: %71 = icmp ult i32 %61, 5 %. = select i1 %71, i32 32, i32 48 %72 = icmp ugt i32 %., %68 br i1 %72, label LBL_18, label LBL_19 LBL_18: %73 = zext i32 %68 to i64 %74 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_12, i64 0, i64 0), i64 %73, i64 ptrtoint ([3 x i8]* @gv_11 to i64), i64 %65, i64 %2, i64 %1) %75 = load i32, i32* %sv_3, align 4 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_13, i64 0, i64 0), i64 %66, i64 %76) store i64 0, i64* %sv_1.0.reg2mem store i64 %66, i64* %sv_0.0.reg2mem br label LBL_36 LBL_19: %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %78 = icmp ult i32 %., %68 %79 = icmp eq i1 %78, false store i32 %., i32* %storemerge26.reg2mem br i1 %79, label LBL_24, label LBL_20 LBL_20: %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %80 = zext i32 %storemerge26.reload to i64 %81 = add i64 %66, %80 %82 = inttoptr i64 %81 to i8* %83 = load i8, i8* %82, align 1 %84 = icmp eq i8 %83, 0 %85 = icmp eq i1 %84, false store i32 %storemerge26.reload, i32* %storemerge2.lcssa.reg2mem br i1 %85, label LBL_22, label LBL_21 LBL_21: %86 = add i32 %storemerge26.reload, 1 %87 = icmp ult i32 %86, %68 store i32 %86, i32* %storemerge26.reg2mem store i32 %86, i32* %storemerge2.lcssa.reg2mem br i1 %87, label LBL_20, label LBL_22 LBL_22: %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem %88 = icmp eq i32 %storemerge2.lcssa.reload, %68 br i1 %88, label LBL_24, label LBL_23 LBL_23: %89 = zext i32 %68 to i64 %90 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_14, i64 0, i64 0), i64 %66, i64 %89) store i64 0, i64* %sv_1.0.reg2mem store i64 %66, i64* %sv_0.0.reg2mem br label LBL_36 LBL_24: store i32 0, i32* %sv_3, align 4 %91 = call i64 @FUNC(i64 %34, i32 %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_15, i64 0, i64 0), i32* nonnull %sv_3) %92 = icmp eq i64 %91, 0 %93 = load i32, i32* %sv_3, align 4 br i1 %92, label LBL_25, label LBL_26 LBL_25: %94 = zext i32 %93 to i64 %95 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_16, i64 0, i64 0), i64 %94, i64 ptrtoint ([3 x i8]* @gv_15 to i64), i64 %65, i64 %2, i64 %1) store i64 0, i64* %sv_1.0.reg2mem store i64 %66, i64* %sv_0.0.reg2mem br label LBL_36 LBL_26: %96 = icmp ugt i32 %., %93 br i1 %96, label LBL_27, label LBL_28 LBL_27: %97 = zext i32 %93 to i64 %98 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_16, i64 0, i64 0), i64 %97, i64 ptrtoint ([3 x i8]* @gv_15 to i64), i64 %65, i64 %2, i64 %1) %99 = load i32, i32* %sv_3, align 4 %100 = zext i32 %99 to i64 %101 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_17, i64 0, i64 0), i64 %91, i64 %100) store i64 %91, i64* %sv_1.0.reg2mem store i64 %66, i64* %sv_0.0.reg2mem br label LBL_36 LBL_28: %102 = icmp ult i32 %., %93 %103 = icmp eq i1 %102, false store i32 %., i32* %storemerge4.reg2mem br i1 %103, label LBL_33, label LBL_29 LBL_29: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %104 = zext i32 %storemerge4.reload to i64 %105 = add i64 %91, %104 %106 = inttoptr i64 %105 to i8* %107 = load i8, i8* %106, align 1 %108 = icmp eq i8 %107, 0 %109 = icmp eq i1 %108, false store i32 %storemerge4.reload, i32* %storemerge.lcssa.reg2mem br i1 %109, label LBL_31, label LBL_30 LBL_30: %110 = add i32 %storemerge4.reload, 1 %111 = icmp ult i32 %110, %93 store i32 %110, i32* %storemerge4.reg2mem store i32 %110, i32* %storemerge.lcssa.reg2mem br i1 %111, label LBL_29, label LBL_31 LBL_31: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %112 = icmp eq i32 %storemerge.lcssa.reload, %93 br i1 %112, label LBL_33, label LBL_32 LBL_32: %113 = zext i32 %93 to i64 %114 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_18, i64 0, i64 0), i64 %91, i64 %113) store i64 %91, i64* %sv_1.0.reg2mem store i64 %66, i64* %sv_0.0.reg2mem br label LBL_36 LBL_33: %115 = zext i32 %sv_2.2.reload to i64 %116 = and i64 %37, 4294967295 %117 = and i64 %60, 4294967295 %118 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_19, i64 0, i64 0), i64 %117, i64 %116, i64 %115, i64 %2, i64 %1) %119 = urem i32 %sv_2.2.reload, 8 %120 = icmp eq i32 %119, 0 br i1 %120, label LBL_35, label LBL_34 LBL_34: %121 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_20, i64 0, i64 0), i64 %117, i64 %116, i64 %115, i64 %2, i64 %1) store i64 %91, i64* %sv_1.0.reg2mem store i64 %66, i64* %sv_0.0.reg2mem br label LBL_36 LBL_35: %122 = trunc i64 %35 to i32 %123 = call i64 @FUNC(i64 %9, i32 %61, i64 %66, i64 %91, i32 %38, i32 %122) store i64 %91, i64* %sv_1.0.reg2mem store i64 %66, i64* %sv_0.0.reg2mem br label LBL_36 LBL_36: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %124 = inttoptr i64 %sv_0.0.reload to i64* call void @free(i64* %124) %125 = inttoptr i64 %sv_1.0.reload to i64* call void @free(i64* %125) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_37 LBL_37: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %117, { 1, 0 } uselistorder i64 %116, { 1, 0 } uselistorder i32 %storemerge4.reload, { 1, 0, 2 } uselistorder i32 %93, { 2, 1, 3, 5, 0, 4, 6 } uselistorder i64 %91, { 2, 6, 1, 0, 5, 4, 3, 7, 8 } uselistorder i32 %storemerge26.reload, { 1, 0, 2 } uselistorder i32 %sv_2.2.reload, { 1, 0 } uselistorder i32 %., { 0, 3, 2, 1, 5, 4 } uselistorder i32 %68, { 2, 1, 3, 5, 0, 4, 6 } uselistorder i64 %66, { 4, 9, 3, 2, 5, 0, 1, 8, 7, 6, 10, 11 } uselistorder i64 %65, { 2, 0, 3, 1 } uselistorder i32 %spec.select, { 1, 0, 2 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i64 %42, { 1, 0, 2 } uselistorder i64 %36, { 3, 4, 5, 0, 2, 1, 6, 7, 8 } uselistorder i64 %34, { 2, 3, 4, 1, 0, 5, 6, 7 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %9, { 0, 2, 1, 4, 5, 3 } uselistorder i32 %7, { 1, 0 } uselistorder i32* %sv_3, { 4, 0, 2, 5, 6, 1, 3, 7, 8 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %2, { 9, 8, 7, 11, 6, 10, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 9, 8, 7, 11, 6, 10, 5, 4, 3, 2, 1, 0 } uselistorder i32* %sv_2.2.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 9, 8, 7, 10, 1, 6, 11, 2, 5, 4, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 9, 8, 7, 10, 1, 6, 11, 2, 5, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i64 ptrtoint ([3 x i8]* @gv_15 to i64), { 1, 0 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_16, i64 0, i64 0), { 1, 0 } uselistorder [3 x i8]* @gv_15, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 (i8*, i64, i64)* @dbg_printhex, { 3, 2, 1, 0 } uselistorder i64 ptrtoint ([3 x i8]* @gv_11 to i64), { 1, 0 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_12, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i32, i8*, i32*)* @pdf_readstring, { 1, 0 } uselistorder [3 x i8]* @gv_11, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder [3 x i8]* @gv_9, { 1, 0 } uselistorder i32 40, { 0, 2, 1 } uselistorder [8 x i8]* @gv_7, { 1, 0 } uselistorder [10 x i8]* @gv_5, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @pdf_readint, { 3, 2, 1, 0 } uselistorder [3 x i8]* @gv_3, { 1, 0 } uselistorder i64 256, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @cli_dbgmsg, { 11, 10, 9, 0, 8, 1, 7, 6, 5, 4, 3, 2 } uselistorder i64 4294967295, { 1, 2, 3, 4, 0 } uselistorder label LBL_37, { 1, 2, 3, 0 } uselistorder label LBL_36, { 4, 5, 6, 2, 0, 7, 3, 1, 8, 9, 10 } uselistorder label LBL_29, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
1
BinRealVul
setupStream_7053
setupStream
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8*, align 8 %1 = bitcast i64* %arg2 to i32* store i32 -1, i32* %1, align 4 %2 = bitcast i8** %sv_1 to i64* %3 = call i64 @FUNC(i64* nonnull %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %sv_0.1.reg2mem br i1 %5, label LBL_7, label LBL_1 LBL_1: %6 = load i32, i32* @gv_1, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load i64, i64* @gv_2, align 8 %9 = call i64 @FUNC(i64* nonnull %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %sv_0.0.reg2mem br i1 %12, label LBL_3, label LBL_6 LBL_3: %13 = load i32, i32* @gv_4, align 4 %14 = icmp slt i32 %13, 6 %. = select i1 %14, i8* bitcast (i64* @gv_5 to i8*), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_6, i64 0, i64 0) store i8* %., i8** %sv_1, align 8 %15 = ptrtoint i8* %. to i64 %16 = call i64 @FUNC(i64* nonnull %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0), i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %18, label LBL_6, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64* nonnull %2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0), i64 ptrtoint ([30 x i8]* @gv_9 to i64)) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = ptrtoint i64* %arg2 to i64 %23 = call i64 @FUNC(i64* nonnull %2, i64 0, i64 %22) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %24 = call i64 @FUNC(i64* nonnull %2) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %25 = and i64 %sv_0.1.reload, 4294967295 ret i64 %25 uselistorder i8* %., { 1, 0 } uselistorder i64* %2, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64*, i8*, i64)* @addOption, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_6, { 3, 1, 0, 2 } }
0
BinRealVul
show_bsfs_14015
show_bsfs
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %.reload = load i64, i64* %.reg2mem %4 = inttoptr i64 %.reload to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i8* %7 = call i32 @puts(i8* %6) %8 = call i64 @FUNC(i64 %.reload) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_2: %11 = call i32 @putchar(i32 10) ret i64 0 uselistorder i64 %.reload, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64)* @av_bitstream_filter_next, { 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i32 1, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
fdctrl_raise_irq_727
fdctrl_raise_irq
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 72057594037927936 %6 = ashr exact i64 %sext, 56 %7 = trunc i64 %3 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = urem i8 %11, 2 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = and i8 %11, -8 %15 = or i8 %14, 6 store i8 %15, i8* %10, align 1 %16 = trunc i64 %6 to i8 %17 = add i64 %5, 6 %18 = inttoptr i64 %17 to i8* store i8 %16, i8* %18, align 1 store i64 %5, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %19 = add i64 %5, 5 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = and i8 %21, 8 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = add i64 %5, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28, i64 1) %30 = load i8, i8* %20, align 1 %31 = or i8 %30, 8 store i8 %31, i8* %20, align 1 br label LBL_5 LBL_5: %32 = and i64 %arg2, 16 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_9, label LBL_6 LBL_6: %34 = call i64 @FUNC(i64 %5) %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_9, label LBL_7 LBL_7: %38 = call i64 @FUNC(i64 %36) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_9, label LBL_8 LBL_8: %41 = add i64 %34, 8 %42 = inttoptr i64 %41 to i32* store i32 0, i32* %42, align 4 br label LBL_9 LBL_9: %43 = add i64 %5, 12 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %44, align 4 %45 = trunc i64 %6 to i8 %46 = add i64 %5, 6 %47 = inttoptr i64 %46 to i8* store i8 %45, i8* %47, align 1 %48 = urem i64 %6, 256 %49 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %48, i8 %45, i64 %4, i64 %2, i64 %1) store i64 %49, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %11, { 1, 0 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64 %5, { 4, 5, 3, 7, 6, 0, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
0
BinRealVul
gres_plugin_node_state_log_18132
gres_plugin_node_state_log
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem2 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %.reg2mem2 br i1 %5, label LBL_2.preheader, label LBL_6 LBL_1: %.reload = load i64, i64* %.reg2mem %6 = mul i64 %.reload, 16 %7 = add i64 %6, %26 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = sext i8 %11 to i64 %13 = icmp eq i64 %25, %12 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_3 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %15 = add i32 %storemerge1.reload, 1 %16 = sext i32 %15 to i64 %17 = icmp slt i64 %16, %27 store i64 %16, i64* %.reg2mem store i32 %15, i32* %storemerge1.reg2mem br i1 %17, label LBL_1, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %2) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %.reg2mem2 br i1 %20, label LBL_2.preheader, label LBL_6 LBL_4: %21 = load i32, i32* @gv_1, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_3, label LBL_1.lr.ph LBL_5: %.reload3 = load i64, i64* %.reg2mem2 %23 = add i64 %.reload3, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = load i64, i64* @gv_2, align 8 %27 = zext i32 %21 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_1 LBL_6: %28 = call i64 @FUNC(i64 %2) %29 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %29 uselistorder i64 %2, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge1.reg2mem, { 2, 1, 0 } uselistorder i64* %.reg2mem2, { 0, 2, 1 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i64 (i64)* @list_next, { 1, 0 } uselistorder i32 1, { 5, 3, 2, 1, 0, 4 } uselistorder label LBL_2.preheader, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
mxf_read_index_entry_array_1357
mxf_read_index_entry_array
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = bitcast i64* %arg2 to i32* store i32 %4, i32* %5, align 4 %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %6 to i32 %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp sgt i32 %7, 10 %or.cond = or i1 %9, %10 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_10 LBL_1: %11 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %1, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = call i64 @FUNC(i64 %12, i64 4) %14 = add i64 %11, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = icmp eq i64 %13, 0 br i1 %16, label LBL_1.LBL_7_crit_edge, label LBL_3 LBL_2: %.pre = add i64 %11, 16 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_7 LBL_3: %17 = bitcast i64* %rsi to i32* %18 = load i32, i32* %17, align 8 %19 = sext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19, i64 4) %21 = add i64 %11, 16 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = icmp eq i64 %20, 0 store i64 %21, i64* %.pre-phi.reg2mem br i1 %23, label LBL_7, label LBL_4 LBL_4: %24 = load i32, i32* %17, align 8 %25 = sext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25, i64 8) %27 = add i64 %11, 24 %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 %21, i64* %.pre-phi.reg2mem br i1 %30, label LBL_5, label LBL_7 LBL_5: %31 = load i32, i32* %17, align 8 %32 = icmp eq i32 %31, 0 store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_10, label LBL_6 LBL_6: %33 = add i64 %6, 4294967285 %34 = and i64 %33, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_8 LBL_7: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %35 = call i64 @FUNC(i64 %14) %36 = call i64 @FUNC(i64 %.pre-phi.reload) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %37 = call i64 @FUNC(i64 %2) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %39, label LBL_9, label LBL_10 LBL_9: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %40 = call i64 @FUNC(i64 %2) %41 = load i64, i64* %15, align 8 %42 = mul i64 %.reload, 4 %43 = add i64 %41, %42 %44 = trunc i64 %40 to i32 %45 = urem i32 %44, 256 %46 = inttoptr i64 %43 to i32* store i32 %45, i32* %46, align 4 %47 = call i64 @FUNC(i64 %2) %48 = call i64 @FUNC(i64 %2) %49 = load i64, i64* %22, align 8 %50 = add i64 %49, %42 %51 = trunc i64 %48 to i32 %52 = urem i32 %51, 256 %53 = inttoptr i64 %50 to i32* store i32 %52, i32* %53, align 4 %54 = load i64, i64* %28, align 8 %55 = mul i64 %.reload, 8 %56 = add i64 %54, %55 %57 = call i64 @FUNC(i64 %2) %58 = inttoptr i64 %56 to i64* store i64 %57, i64* %58, align 8 %59 = call i64 @FUNC(i64 %2, i64 %34) %60 = add i32 %storemerge2.reload, 1 %61 = load i32, i32* %17, align 8 %62 = zext i32 %61 to i64 %63 = sext i32 %60 to i64 %64 = icmp slt i64 %63, %62 store i64 %63, i64* %.reg2mem store i32 %60, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %64, label LBL_8, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %42, { 1, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64 %21, { 1, 0, 2 } uselistorder i32* %17, { 1, 0, 2, 3 } uselistorder i64 %11, { 1, 2, 0, 3 } uselistorder i64 %2, { 0, 1, 3, 2, 4, 5, 6, 7 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 3, 4 } uselistorder i64 (i64)* @avio_r8, { 2, 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64, i64)* @av_calloc, { 2, 1, 0 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_10, { 1, 0, 4, 2, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } }
0
BinRealVul
perf_swevent_add_6534
perf_swevent_add
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 4210761) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = bitcast i64* %arg1 to i32* store i32 %7, i32* %8, align 4 %9 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %10 = urem i64 %arg2, 2 %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = call i64 @FUNC(i64 %1, i64 %0) %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i64 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %20, label LBL_3, label LBL_4 LBL_3: %21 = add i64 %0, 16 %22 = call i64 @FUNC(i64 %21, i64 %15) %23 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 3, 2, 4, 5, 0, 1, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ext4_calc_metadata_amount_9160
ext4_calc_metadata_amount
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = and i64 %arg2, 4294967295 %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %4, i64 %3) store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %11 = call i64 @FUNC(i64 %4, i64 %3) store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
swp_handler_13578
swp_handler
define i64 @FUNC(i64* %arg1, i64 %arg2) 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 i32, align 4 %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 0, i64 1, i64 %4, i64 %5) %7 = load i8*, i8** @gv_0, align 8 %8 = ptrtoint i8* %7 to i64 %9 = add i64 %8, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = load i64, i64* @gv_1, align 8 %13 = icmp eq i64 %11, %12 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %11, i64 %5, i64 %2, i64 %1) %15 = load i8*, i8** @gv_0, align 8 %16 = ptrtoint i8* %15 to i64 %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 store i64 %19, i64* @gv_1, align 8 br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %20 = ashr exact i64 %sext, 32 %21 = udiv i64 %20, 16384 %22 = and i64 %21, 60 %23 = add i64 %4, 4 %24 = add i64 %22, %23 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = udiv i64 %20, 1024 %28 = and i64 %27, 60 %29 = add i64 %28, %23 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 store i32 %31, i32* %sv_0, align 4 %32 = udiv i64 %20, 256 %33 = trunc i64 %32 to i32 %34 = urem i32 %33, 16 %35 = udiv i64 %20, 4096 %36 = urem i64 %35, 16 %37 = udiv i64 %20, 65536 %38 = urem i64 %37, 16 %39 = zext i32 %31 to i64 %40 = zext i32 %34 to i64 %41 = zext i32 %26 to i64 %42 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_3, i64 0, i64 0), i64 %38, i64 %41, i64 %40, i64 %36, i64 %39) %43 = and i32 %26, -4 %44 = zext i32 %43 to i64 %45 = call i64 @FUNC(i64 0, i64 %44, i64 4) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_4, label LBL_3 LBL_3: %49 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_4, i64 0, i64 0), i64 %41, i64 4, i64 %40, i64 %36, i64 %39) br label LBL_7 LBL_4: %50 = call i64 @FUNC(i64 %41, i32* nonnull %sv_0, i32 0) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_6, label LBL_5 LBL_5: %54 = trunc i64 %3 to i32 %55 = add i32 %54, 4 %56 = bitcast i64* %arg1 to i32* store i32 %55, i32* %56, align 4 %57 = load i32, i32* %sv_0, align 4 %58 = mul i32 %34, 4 %59 = zext i32 %58 to i64 %60 = add i64 %23, %59 %61 = inttoptr i64 %60 to i32* store i32 %57, i32* %61, align 4 br label LBL_8 LBL_6: %62 = icmp eq i32 %51, -1 %63 = icmp eq i1 %62, false br i1 %63, label LBL_8, label LBL_7 LBL_7: %64 = call i64 @FUNC(i64 %4, i64 %41) br label LBL_8 LBL_8: ret i64 0 uselistorder i64 %36, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
reposvul_c_test
run_event_gtk_logging_69
run_event_gtk_logging
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) ret i64 %0 }
0
BinRealVul
do_interrupt_30
do_interrupt
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) store i64 %6, i64* %rax.0.reg2mem br label LBL_25 LBL_2: %7 = trunc i64 %1 to i32 %8 = and i64 %1, 4294967295 store i64 %8, i64* @0, align 8 store i32 23, i32* %sv_3.0.reg2mem store i32 12, i32* %sv_2.0.reg2mem store i32 192, i32* %sv_1.0.reg2mem store i32 4, i32* %sv_0.0.reg2mem switch i32 %7, label LBL_21 [ i32 1, label LBL_3 i32 2, label LBL_4 i32 3, label LBL_13 i32 4, label LBL_22 i32 5, label LBL_18 i32 6, label LBL_19 i32 7, label LBL_20 ] LBL_3: %9 = add i64 %2, 80 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 %. = select i1 %12, i32 4, i32 2 store i32 1, i32* %sv_3.0.reg2mem store i32 4, i32* %sv_2.0.reg2mem store i32 128, i32* %sv_1.0.reg2mem store i32 %., i32* %sv_0.0.reg2mem br label LBL_22 LBL_4: %13 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %14 = icmp eq i32 %13, 0 store i32 19, i32* %sv_3.0.reg2mem store i32 8, i32* %sv_2.0.reg2mem store i32 128, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %14, label LBL_22, label LBL_5 LBL_5: %15 = add i64 %2, 80 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = add i64 %2, 68 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 br i1 %18, label LBL_7, label LBL_6 LBL_6: %22 = add i32 %21, -2 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = urem i32 %25, 256 store i32 %26, i32* %storemerge2.reg2mem br label LBL_9 LBL_7: %27 = add i32 %21, -4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %29 to i32 %31 = urem i32 %30, 16777216 %32 = icmp eq i32 %31, 1193046 %33 = icmp eq i1 %32, false store i32 %31, i32* %storemerge2.reg2mem br i1 %33, label LBL_9, label LBL_8 LBL_8: %34 = load i32, i32* %16, align 4 %35 = icmp eq i32 %34, 0 store i32 %31, i32* %storemerge2.reg2mem br i1 %35, label LBL_11, label LBL_9 LBL_9: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %36 = icmp eq i32 %storemerge2.reload, 171 %37 = icmp eq i1 %36, false store i32 19, i32* %sv_3.0.reg2mem store i32 8, i32* %sv_2.0.reg2mem store i32 128, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %37, label LBL_22, label LBL_10 LBL_10: %38 = load i32, i32* %16, align 4 %39 = icmp eq i32 %38, 0 store i32 19, i32* %sv_3.0.reg2mem store i32 8, i32* %sv_2.0.reg2mem store i32 128, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %39, label LBL_22, label LBL_11 LBL_11: %40 = add i64 %2, 4 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = urem i32 %42, 32 %44 = icmp eq i32 %43, 16 store i32 19, i32* %sv_3.0.reg2mem store i32 8, i32* %sv_2.0.reg2mem store i32 128, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %44, label LBL_22, label LBL_12 LBL_12: %45 = call i64 @FUNC(i64 %2) %46 = trunc i64 %45 to i32 %47 = add i64 %2, 8 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 store i64 %45, i64* %rax.0.reg2mem br label LBL_25 LBL_13: %49 = add i64 %2, 80 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %51, 0 %53 = load i32, i32* @gv_0, align 4 %54 = icmp eq i32 %53, 0 %or.cond = or i1 %52, %54 br i1 %or.cond, label LBL_17, label LBL_14 LBL_14: %55 = add i64 %2, 68 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %58) %60 = urem i64 %59, 256 %61 = icmp eq i64 %60, 171 %62 = icmp eq i1 %61, false br i1 %62, label LBL_17, label LBL_15 LBL_15: %63 = add i64 %2, 4 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = urem i32 %65, 32 %67 = icmp eq i32 %66, 16 br i1 %67, label LBL_17, label LBL_16 LBL_16: %68 = load i32, i32* %56, align 4 %69 = add i32 %68, 2 store i32 %69, i32* %56, align 4 %70 = call i64 @FUNC(i64 %2) %71 = trunc i64 %70 to i32 %72 = add i64 %2, 8 %73 = inttoptr i64 %72 to i32* store i32 %71, i32* %73, align 4 store i64 %70, i64* %rax.0.reg2mem br label LBL_25 LBL_17: %74 = add i64 %2, 76 %75 = inttoptr i64 %74 to i32* store i32 2, i32* %75, align 4 store i32 23, i32* %sv_3.0.reg2mem store i32 12, i32* %sv_2.0.reg2mem store i32 192, i32* %sv_1.0.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_22 LBL_18: store i32 23, i32* %sv_3.0.reg2mem store i32 16, i32* %sv_2.0.reg2mem store i32 192, i32* %sv_1.0.reg2mem store i32 8, i32* %sv_0.0.reg2mem br label LBL_22 LBL_19: store i32 18, i32* %sv_3.0.reg2mem store i32 24, i32* %sv_2.0.reg2mem store i32 192, i32* %sv_1.0.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_22 LBL_20: store i32 17, i32* %sv_3.0.reg2mem store i32 28, i32* %sv_2.0.reg2mem store i32 224, i32* %sv_1.0.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_22 LBL_21: %76 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i32 %7) store i64 %76, i64* %rax.0.reg2mem br label LBL_25 LBL_22: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %77 = add i64 %2, 72 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %sv_3.0.reload to i64 %81 = call i64 @FUNC(i64 %2, i64 %80) %82 = call i64 @FUNC(i64 %2) %83 = trunc i64 %82 to i32 %84 = add i64 %2, 88 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 %86 = add i64 %2, 92 %87 = inttoptr i64 %86 to i32* store i32 0, i32* %87, align 4 %88 = add i64 %2, 4 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = and i32 %90, -160 %92 = or i32 %sv_1.0.reload, %sv_3.0.reload %93 = or i32 %92, %91 store i32 %93, i32* %89, align 4 %94 = call i64 @FUNC(i64 %2, i64 1) %95 = trunc i64 %94 to i32 %96 = icmp eq i32 %95, 0 br i1 %96, label LBL_24, label LBL_23 LBL_23: %97 = load i32, i32* %78, align 4 %98 = and i32 %97, 1073741824 %99 = icmp eq i32 %98, 0 %100 = icmp eq i1 %99, false %101 = zext i1 %100 to i32 %102 = add i64 %2, 80 %103 = inttoptr i64 %102 to i32* store i32 %101, i32* %103, align 4 br label LBL_24 LBL_24: %104 = and i32 %79, 8192 %105 = icmp eq i32 %104, 0 %106 = or i32 %sv_2.0.reload, -65536 %spec.select = select i1 %105, i32 %sv_2.0.reload, i32 %106 %107 = add i64 %2, 68 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = add i32 %109, %sv_0.0.reload %111 = add i64 %2, 64 %112 = inttoptr i64 %111 to i32* store i32 %110, i32* %112, align 4 store i32 %spec.select, i32* %108, align 4 %113 = add i64 %2, 84 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = or i32 %115, 1 store i32 %116, i32* %114, align 4 store i64 %2, 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 i32 %sv_3.0.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i32* %56, { 1, 0, 2 } uselistorder i32 %31, { 1, 0, 2 } uselistorder i32 %21, { 1, 0 } uselistorder i32* %16, { 1, 0, 2 } uselistorder i64 %2, { 0, 15, 17, 16, 14, 18, 19, 20, 21, 22, 23, 24, 25, 11, 8, 9, 10, 13, 12, 3, 5, 4, 7, 6, 2, 1, 26 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_3.0.reg2mem, { 0, 10, 9, 8, 2, 6, 5, 4, 3, 7, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 10, 9, 8, 2, 6, 5, 4, 3, 7, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 10, 9, 8, 2, 6, 5, 4, 3, 7, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 10, 9, 8, 2, 6, 5, 4, 3, 7, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @do_arm_semihosting, { 1, 0 } uselistorder i32 16, { 0, 2, 1, 3 } uselistorder i64 4, { 2, 0, 1, 3 } uselistorder i1 false, { 3, 0, 1, 2, 4 } uselistorder i64 (i64)* @lduw_code, { 1, 0 } uselistorder i64 68, { 2, 0, 1 } uselistorder i32 8, { 0, 4, 3, 2, 1 } uselistorder i32 19, { 3, 2, 1, 0 } uselistorder i32 128, { 3, 2, 1, 0, 4 } uselistorder i64 80, { 2, 0, 1, 3 } uselistorder i32 2, { 3, 1, 0, 2 } uselistorder i32 4, { 3, 2, 1, 4, 5, 6, 0 } uselistorder i32 192, { 3, 2, 1, 0 } uselistorder i32 12, { 1, 0 } uselistorder i32 23, { 2, 1, 0 } uselistorder i32 0, { 13, 10, 11, 12, 4, 5, 3, 2, 6, 1, 7, 8, 0, 9, 14, 15 } uselistorder label LBL_25, { 2, 3, 0, 1, 4 } uselistorder label LBL_22, { 7, 8, 9, 1, 5, 4, 3, 2, 6, 0 } uselistorder label LBL_9, { 1, 2, 0 } }
1
BinRealVul
avfilter_graph_add_filter_15056
avfilter_graph_add_filter
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i32 %3, 1 store i32 %4, i32* %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 8 %7 = call i64 @FUNC(i64 %0, i64 %6) store i64 %7, i64* %arg1, align 8 %8 = icmp eq i64* %arg1, null %9 = icmp eq i1 %8, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = ptrtoint i64* %arg2 to i64 %11 = load i32, i32* %2, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 8 %14 = add i64 %0, -8 %15 = add i64 %14, %13 %16 = inttoptr i64 %15 to i64* store i64 %10, i64* %16, 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
mipsdsp_add_i32_1022
mipsdsp_add_i32
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = trunc i64 %arg2 to i32 %sext3 = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext3, 32 %3 = add i32 %1, %0 %4 = icmp slt i32 %0, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %2 to i32 %6 = icmp sgt i32 %5, 0 %7 = icmp slt i32 %3, 0 %or.cond = icmp eq i1 %7, %6 br i1 %or.cond, label LBL_4, label LBL_5 LBL_2: %8 = icmp ne i32 %0, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = trunc i64 %2 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false %13 = icmp slt i32 %3, 0 %or.cond6 = or i1 %13, %12 br i1 %or.cond6, label LBL_5, label LBL_4 LBL_4: %14 = ptrtoint i64* %arg3 to i64 %15 = call i64 @FUNC(i64 1, i64 20, i64 %14) br label LBL_5 LBL_5: %16 = zext i32 %3 to i64 ret i64 %16 uselistorder i32 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i32 %0, { 1, 2, 0 } uselistorder i32 0, { 2, 4, 0, 3, 1 } uselistorder label LBL_5, { 1, 2, 3, 0 } }
0
BinRealVul
uuid_Read_8107
uuid_Read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = icmp eq i64 %6, 0 %10 = icmp eq i1 %9, false store i64 2, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %12 = add i64 %4, 16 %13 = inttoptr i64 %12 to i32* store i32 %2, i32* %13, align 4 %14 = load i64, i64* %8, align 8 %15 = call i64 @FUNC(i64 %11, i64 %14, i32 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
validate_creds_for_do_exit_8715
validate_creds_for_do_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = load i64, i64* %4, align 8 %8 = call i64 @FUNC(i64 %7) %9 = and i64 %8, 4294967295 %10 = load i64, i64* %4, align 8 %11 = and i64 %6, 4294967295 %12 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %10, i64 %9, i64 %11, i64 %1) %13 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i64 40) ret i64 %13 uselistorder i64 4294967295, { 1, 2, 0 } }
0
BinRealVul
qcow_open_7391
qcow_open
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge1524.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i32, align 4 %sv_5 = alloca i64, align 8 %sv_6 = alloca i32, align 4 %sv_7 = alloca i32, align 4 %sv_8 = alloca i64, align 8 %sv_9 = alloca i32, align 4 %sv_10 = alloca i64, align 8 %sv_11 = alloca i32, align 4 %sv_12 = alloca i32, align 4 %1 = add i64 %0, 1040 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = or i32 %arg3, 1 %5 = zext i32 %4 to i64 %6 = add i64 %3, 112 %7 = call i64 @FUNC(i64 %6, i64 %arg2, i64 %5) %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_22 LBL_2: %12 = inttoptr i64 %6 to i64* %13 = load i64, i64* %12, align 8 %14 = bitcast i32* %sv_12 to i64* %15 = call i64 @FUNC(i64 %13, i64 0, i64* nonnull %14, i64 88) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 88 %18 = icmp eq i1 %17, false br i1 %18, label LBL_21, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64* nonnull %14) %20 = bitcast i32* %sv_11 to i64* %21 = call i64 @FUNC(i64* nonnull %20) %22 = call i64 @FUNC(i64* nonnull %sv_10) %23 = bitcast i32* %sv_9 to i64* %24 = call i64 @FUNC(i64* nonnull %23) %25 = call i64 @FUNC(i64* nonnull %sv_8) %26 = bitcast i32* %sv_7 to i64* %27 = call i64 @FUNC(i64* nonnull %26) %28 = bitcast i32* %sv_6 to i64* %29 = call i64 @FUNC(i64* nonnull %28) %30 = call i64 @FUNC(i64* nonnull %sv_5) %31 = bitcast i32* %sv_4 to i64* %32 = call i64 @FUNC(i64* nonnull %31) %33 = call i64 @FUNC(i64* nonnull %sv_3) %34 = bitcast i32* %sv_2 to i64* %35 = call i64 @FUNC(i64* nonnull %34) %36 = call i64 @FUNC(i64* nonnull %sv_1) %37 = bitcast i32* %sv_0 to i64* %38 = call i64 @FUNC(i64* nonnull %37) %39 = load i32, i32* %sv_12, align 4 %40 = icmp eq i32 %39, 1363628105 %41 = icmp eq i1 %40, false br i1 %41, label LBL_21, label LBL_4 LBL_4: %42 = load i32, i32* %sv_11, align 4 %43 = icmp eq i32 %42, 2 %44 = icmp eq i1 %43, false br i1 %44, label LBL_21, label LBL_5 LBL_5: %45 = load i64, i64* %sv_8, align 8 %46 = icmp ugt i64 %45, 1 %47 = load i32, i32* %sv_7, align 4 %.off = add i32 %47, -9 %48 = icmp ult i32 %.off, 8 %49 = icmp eq i1 %46, %48 %50 = load i32, i32* %sv_6, align 4 %51 = icmp ult i32 %50, 2 %or.cond20 = icmp eq i1 %51, %49 br i1 %or.cond20, label LBL_6, label LBL_21 LBL_6: %52 = inttoptr i64 %3 to i32* store i32 %50, i32* %52, align 4 %53 = icmp eq i32 %50, 0 br i1 %53, label LBL_8, label LBL_7 LBL_7: %54 = bitcast i64* %arg1 to i32* store i32 1, i32* %54, align 4 br label LBL_8 LBL_8: %55 = load i32, i32* %sv_7, align 4 %56 = add i64 %3, 4 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = urem i32 %55, 32 %59 = shl i32 1, %58 %60 = add i64 %3, 8 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = load i32, i32* %57, align 4 %63 = add i32 %62, 23 %64 = urem i32 %63, 32 %65 = shl i32 1, %64 %66 = add i64 %3, 12 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 %68 = load i32, i32* %57, align 4 %69 = add i32 %68, -3 %70 = add i64 %3, 16 %71 = inttoptr i64 %70 to i32* store i32 %69, i32* %71, align 4 %72 = urem i32 %69, 32 %73 = shl i32 1, %72 %74 = add i64 %3, 20 %75 = inttoptr i64 %74 to i32* store i32 %73, i32* %75, align 4 %76 = load i64, i64* %sv_8, align 8 %77 = udiv i64 %76, 512 %78 = add i64 %0, 1032 %79 = inttoptr i64 %78 to i64* store i64 %77, i64* %79, align 8 %80 = load i32, i32* %57, align 4 %81 = sub i32 70, %80 %82 = add i64 %3, 120 %83 = inttoptr i64 %82 to i32* store i32 %81, i32* %83, align 4 %84 = load i32, i32* %57, align 4 %85 = add i32 %84, 24 %86 = urem i32 %85, 32 %87 = icmp eq i32 %86, 0 %notmask = shl nsw i32 -1, %86 %88 = sub i32 0, %notmask %phitmp = sub i32 %88, 1 %rdx.2 = select i1 %87, i32 0, i32 %phitmp %89 = add i64 %3, 124 %90 = inttoptr i64 %89 to i32* store i32 %rdx.2, i32* %90, align 4 %91 = load i32, i32* %83, align 4 %92 = urem i32 %91, 64 %93 = icmp eq i32 %92, 0 %94 = zext i32 %92 to i64 %notmask25 = shl nsw i64 -1, %94 %95 = sub i64 0, %notmask25 %.op = sub i64 %95, 1 %96 = select i1 %93, i64 0, i64 %.op %97 = add i64 %3, 128 %98 = inttoptr i64 %97 to i64* store i64 %96, i64* %98, align 8 %99 = load i64, i64* %sv_3, align 8 %100 = add i64 %3, 80 %101 = inttoptr i64 %100 to i64* store i64 %99, i64* %101, align 8 %102 = load i32, i32* %sv_2, align 4 %103 = load i32, i32* %57, align 4 %104 = add i32 %103, 29 %105 = urem i32 %104, 32 %106 = shl i32 %102, %105 %rdx.3 = zext i32 %106 to i64 %107 = add i64 %3, 88 %108 = inttoptr i64 %107 to i64* store i64 %rdx.3, i64* %108, align 8 %109 = load i64, i64* %sv_1, align 8 %110 = add i64 %3, 96 %111 = inttoptr i64 %110 to i64* store i64 %109, i64* %111, align 8 %112 = load i32, i32* %sv_0, align 4 %113 = zext i32 %112 to i64 %114 = add i64 %3, 104 %115 = inttoptr i64 %114 to i64* store i64 %113, i64* %115, align 8 %116 = load i32, i32* %sv_4, align 4 %117 = zext i32 %116 to i64 %118 = add i64 %3, 24 %119 = inttoptr i64 %118 to i64* store i64 %117, i64* %119, align 8 %120 = load i32, i32* %57, align 4 %121 = load i32, i32* %71, align 4 %122 = add i32 %121, %120 %123 = load i64, i64* %sv_8, align 8 %124 = urem i32 %122, 64 %125 = icmp eq i32 %124, 0 %126 = zext i32 %124 to i64 %127 = shl i64 1, %126 %storemerge13 = select i1 %125, i64 1, i64 %127 %128 = add i64 %123, -1 %129 = add i64 %128, %storemerge13 %rdx.4 = lshr i64 %129, %126 %130 = add i64 %3, 136 %131 = inttoptr i64 %130 to i64* store i64 %rdx.4, i64* %131, align 8 %132 = load i64, i64* %119, align 8 %133 = icmp ult i64 %132, %rdx.4 br i1 %133, label LBL_21, label LBL_9 LBL_9: %134 = load i64, i64* %sv_5, align 8 %135 = add i64 %3, 32 %136 = inttoptr i64 %135 to i64* store i64 %134, i64* %136, align 8 %137 = load i64, i64* %119, align 8 %138 = mul i64 %137, 8 %139 = call i64 @FUNC(i64 %138) %140 = add i64 %3, 40 %141 = inttoptr i64 %140 to i64* store i64 %139, i64* %141, align 8 %142 = icmp eq i64 %139, 0 br i1 %142, label LBL_21, label LBL_10 LBL_10: %143 = load i64, i64* %119, align 8 %144 = mul i64 %143, 8 %145 = load i64, i64* %136, align 8 %146 = load i64, i64* %12, align 8 %147 = inttoptr i64 %139 to i64* %148 = call i64 @FUNC(i64 %146, i64 %145, i64* %147, i64 %144) %sext = mul i64 %148, 4294967296 %149 = ashr exact i64 %sext, 32 %150 = load i64, i64* %119, align 8 %151 = mul i64 %150, 8 %152 = icmp eq i64 %149, %151 %153 = icmp eq i1 %152, false br i1 %153, label LBL_21, label LBL_11 LBL_11: %154 = icmp eq i64 %150, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1524.reg2mem br i1 %154, label LBL_13, label LBL_12 LBL_12: %storemerge1524.reload = load i32, i32* %storemerge1524.reg2mem %.reload = load i64, i64* %.reg2mem %155 = load i64, i64* %141, align 8 %156 = mul i64 %.reload, 8 %157 = add i64 %155, %156 %158 = inttoptr i64 %157 to i64* %159 = call i64 @FUNC(i64* %158) %160 = add i32 %storemerge1524.reload, 1 %161 = sext i32 %160 to i64 %162 = load i64, i64* %119, align 8 %163 = icmp ugt i64 %162, %161 store i64 %161, i64* %.reg2mem store i32 %160, i32* %storemerge1524.reg2mem br i1 %163, label LBL_12, label LBL_13 LBL_13: %164 = load i32, i32* %75, align 4 %165 = mul i32 %164, 256 %166 = sext i32 %165 to i64 %167 = mul i64 %166, 8 %168 = call i64 @FUNC(i64 %167) %169 = add i64 %3, 48 %170 = inttoptr i64 %169 to i64* store i64 %168, i64* %170, align 8 %171 = icmp eq i64 %168, 0 br i1 %171, label LBL_21, label LBL_14 LBL_14: %172 = load i32, i32* %61, align 4 %173 = sext i32 %172 to i64 %174 = call i64 @FUNC(i64 %173) %175 = add i64 %3, 56 %176 = inttoptr i64 %175 to i64* store i64 %174, i64* %176, align 8 %177 = icmp eq i64 %174, 0 br i1 %177, label LBL_21, label LBL_15 LBL_15: %178 = load i32, i32* %61, align 4 %179 = add i32 %178, 512 %180 = sext i32 %179 to i64 %181 = call i64 @FUNC(i64 %180) %182 = add i64 %3, 64 %183 = inttoptr i64 %182 to i64* store i64 %181, i64* %183, align 8 %184 = icmp eq i64 %181, 0 br i1 %184, label LBL_21, label LBL_16 LBL_16: %185 = add i64 %3, 72 %186 = inttoptr i64 %185 to i32* store i32 -1, i32* %186, align 4 %187 = call i64 @FUNC(i64 %0) %188 = trunc i64 %187 to i32 %189 = icmp slt i32 %188, 0 br i1 %189, label LBL_21, label LBL_17 LBL_17: %190 = load i64, i64* %sv_10, align 8 %191 = icmp eq i64 %190, 0 br i1 %191, label LBL_20, label LBL_18 LBL_18: %192 = load i32, i32* %sv_9, align 4 %193 = icmp slt i32 %192, 1023 %spec.select = select i1 %193, i32 %192, i32 1023 %194 = sext i32 %spec.select to i64 %195 = add i64 %0, 4 %196 = load i64, i64* %12, align 8 %197 = inttoptr i64 %195 to i64* %198 = call i64 @FUNC(i64 %196, i64 %190, i64* %197, i64 %194) %199 = trunc i64 %198 to i32 %200 = icmp eq i32 %spec.select, %199 %201 = icmp eq i1 %200, false br i1 %201, label LBL_21, label LBL_19 LBL_19: %202 = add i64 %195, %194 %203 = inttoptr i64 %202 to i8* store i8 0, i8* %203, align 1 br label LBL_20 LBL_20: %204 = call i64 @FUNC(i64 %0) %205 = trunc i64 %204 to i32 %206 = icmp slt i32 %205, 0 store i64 0, i64* %rax.0.reg2mem br i1 %206, label LBL_21, label LBL_22 LBL_21: %207 = call i64 @FUNC(i64 %0) %208 = call i64 @FUNC(i64 %0) %209 = add i64 %3, 40 %210 = inttoptr i64 %209 to i64* %211 = load i64, i64* %210, align 8 %212 = call i64 @FUNC(i64 %211) %213 = add i64 %3, 48 %214 = inttoptr i64 %213 to i64* %215 = load i64, i64* %214, align 8 %216 = call i64 @FUNC(i64 %215) %217 = add i64 %3, 56 %218 = inttoptr i64 %217 to i64* %219 = load i64, i64* %218, align 8 %220 = call i64 @FUNC(i64 %219) %221 = add i64 %3, 64 %222 = inttoptr i64 %221 to i64* %223 = load i64, i64* %222, align 8 %224 = call i64 @FUNC(i64 %223) %225 = load i64, i64* %12, align 8 %226 = call i64 @FUNC(i64 %225) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %150, { 1, 0 } uselistorder i64 %rdx.4, { 1, 0 } uselistorder i64* %12, { 2, 0, 1, 3 } uselistorder i64 %3, { 20, 21, 22, 23, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 24, 25 } uselistorder i64* %sv_10, { 1, 0 } uselistorder i64* %sv_8, { 1, 2, 3, 0 } uselistorder i32* %sv_7, { 1, 0, 2 } uselistorder i64* %sv_5, { 1, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %0, { 5, 4, 1, 0, 2, 3, 6 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1524.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @qemu_free, { 3, 2, 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64)* @qemu_malloc, { 3, 2, 1, 0 } uselistorder i64 -1, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64*)* @be64_to_cpus, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64*)* @be32_to_cpus, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64*, i64)* @bdrv_pread, { 2, 1, 0 } uselistorder i64 88, { 1, 0 } uselistorder label LBL_22, { 1, 0, 2 } uselistorder label LBL_21, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 12 } uselistorder label LBL_12, { 1, 0 } }
1