dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
httpClientParseHeaderField_7488
httpClientParseHeaderField
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64* %.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = add i64 %4, %arg3 %6 = inttoptr i64 %5 to i8* store i8 0, i8* %6, align 1 %7 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %4, i64 %3, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 %4, i64 %arg3, i64 2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = and i64 %8, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_19 LBL_2: %12 = ptrtoint i64* %arg1 to i64 %13 = bitcast i64* %rsi to i8* %14 = load i8, i8* %13, align 8 %15 = icmp ne i8 %14, 32 %16 = icmp eq i8 %14, 9 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %15, %17 br i1 %or.cond, label LBL_7, label LBL_3 LBL_3: %18 = add i64 %12, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 1, i64* %rax.0.reg2mem br i1 %22, label LBL_4, label LBL_19 LBL_4: %23 = call i64 @FUNC(i64 %4) %24 = call i64 @FUNC(i64 %23) %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_4.LBL_18_crit_edge, label LBL_6 LBL_5: %.pre = add i64 %12, 16 %.pre5 = inttoptr i64 %.pre to i64* %.pre7 = load i64, i64* %.pre5, align 8 store i64 %.pre7, i64* %.reg2mem store i64* %19, i64** %.pre-phi3.reg2mem br label LBL_18 LBL_6: %26 = load i64, i64* %19, align 8 %27 = add i64 %23, -1 %28 = add i64 %27, %26 %29 = inttoptr i64 %28 to i8* store i8 32, i8* %29, align 1 %30 = add i64 %24, 1 %31 = load i64, i64* %19, align 8 %32 = add i64 %31, %23 %33 = call i64 @FUNC(i64 %32, i64 %23, i64 %30) %34 = load i64, i64* %19, align 8 %35 = add i64 %34, %30 %36 = add i64 %12, 16 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 store i64 %35, i64* %.reg2mem store i64* %19, i64** %.pre-phi3.reg2mem br label LBL_18 LBL_7: %38 = bitcast i64* %arg2 to i8* %39 = call i8* @strchr(i8* %38, i32 58) %40 = icmp eq i8* %39, null %41 = icmp eq i1 %40, false store i64 1, i64* %rax.0.reg2mem br i1 %41, label LBL_8, label LBL_19 LBL_8: store i8 0, i8* %39, align 1 %42 = call i64 @FUNC(i64 %4) %43 = ptrtoint i8* %39 to i64 %44 = add i64 %43, 1 %45 = call i64 @FUNC(i64 %44) %46 = call i64 @FUNC(i64 %42) %47 = call i64 @FUNC(i64 %45) %48 = icmp eq i64 %46, 0 %49 = icmp eq i1 %48, false store i64 1, i64* %rax.0.reg2mem br i1 %49, label LBL_9, label LBL_19 LBL_9: %50 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_11, label LBL_10 LBL_10: %54 = call i64 @FUNC(i64 %12, i64 %45) store i64 %12, i64* %rdi.0.reg2mem br label LBL_17 LBL_11: %55 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false br i1 %58, label LBL_13, label LBL_12 LBL_12: %59 = call i64 @FUNC(i64 %12, i64 %45) store i64 %12, i64* %rdi.0.reg2mem br label LBL_17 LBL_13: %60 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_15, label LBL_14 LBL_14: %64 = call i64 @FUNC(i64 %12, i64 %45) store i64 %12, i64* %rdi.0.reg2mem br label LBL_17 LBL_15: %65 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0)) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false store i64 %42, i64* %rdi.0.reg2mem br i1 %68, label LBL_17, label LBL_16 LBL_16: %69 = call i64 @FUNC(i64 %12, i64 %45) store i64 %12, i64* %rdi.0.reg2mem br label LBL_17 LBL_17: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %70 = add i64 %46, 1 %71 = add i64 %12, 8 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = add i64 %73, %rdi.0.reload %75 = call i64 @FUNC(i64 %74, i64 %42, i64 %70) %76 = add i64 %47, 1 %77 = load i64, i64* %72, align 8 %78 = add i64 %74, %70 %79 = add i64 %78, %77 %80 = call i64 @FUNC(i64 %79, i64 %45, i64 %76) %81 = load i64, i64* %72, align 8 %82 = add i64 %46, 2 %83 = add i64 %82, %47 %84 = add i64 %83, %81 %85 = add i64 %12, 16 %86 = inttoptr i64 %85 to i64* store i64 %84, i64* %86, align 8 store i64 %84, i64* %.reg2mem store i64* %72, i64** %.pre-phi3.reg2mem br label LBL_18 LBL_18: %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem %.reload = load i64, i64* %.reg2mem store i64 %.reload, i64* %.pre-phi3.reload, 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 i64 %45, { 4, 3, 2, 1, 0, 5 } uselistorder i64 %42, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i8* %39, { 1, 0, 2 } uselistorder i64 %23, { 2, 0, 1, 3 } uselistorder i64* %19, { 0, 2, 3, 4, 1, 5 } uselistorder i64 %12, { 9, 10, 3, 8, 2, 7, 1, 6, 0, 5, 11, 4, 12 } uselistorder i64 %4, { 0, 1, 3, 5, 4, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1, 3 } uselistorder i64** %.pre-phi3.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*)* @osStrcasecmp, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @osMemmove, { 2, 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 (i64)* @osStrlen, { 2, 1, 0 } uselistorder i64 (i64)* @strTrimWhitespace, { 2, 1, 0 } uselistorder i64 1, { 3, 4, 0, 5, 1, 6, 2 } uselistorder i8 32, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_19, { 3, 0, 1, 2, 4 } uselistorder label LBL_18, { 1, 2, 0 } }
1
CompRealVul
update_thread_context_14402
update_thread_context
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, %arg2 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %1, label LBL_1, label LBL_9 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %3) %5 = icmp eq i64* %arg1, null br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %3, i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.shrunk.reg2mem br i1 %9, label LBL_3, label LBL_9 LBL_3: %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 1 %14 = icmp eq i1 %13, false br i1 %14, label LBL_8, label LBL_4 LBL_4: %15 = add i64 %2, 24 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %3, 24 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %2, 28 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %3, 28 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = add i64 %2, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %3, 32 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = add i64 %2, 36 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i64 %3, 36 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = add i64 %2, 40 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %3, 40 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = add i64 %2, 44 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %3, 44 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 %45 = add i64 %2, 48 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = add i64 %3, 48 %49 = inttoptr i64 %48 to i32* store i32 %47, i32* %49, align 4 %50 = add i64 %2, 52 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = add i64 %3, 52 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %55 = add i64 %2, 56 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = add i64 %3, 56 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 %60 = add i64 %2, 60 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = add i64 %3, 60 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 %65 = add i64 %2, 64 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = add i64 %3, 64 %69 = inttoptr i64 %68 to i32* store i32 %67, i32* %69, align 4 %70 = add i64 %2, 68 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = add i64 %3, 68 %74 = inttoptr i64 %73 to i32* store i32 %72, i32* %74, align 4 %75 = add i64 %2, 80 %76 = add i64 %3, 80 %77 = inttoptr i64 %76 to i64* %78 = inttoptr i64 %75 to i64* %79 = call i64* @memcpy(i64* %77, i64* %78, i32 12) %80 = add i64 %2, 72 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = add i64 %3, 72 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 %85 = add i64 %2, 92 %86 = add i64 %3, 92 %87 = inttoptr i64 %86 to i64* %88 = inttoptr i64 %85 to i64* %89 = call i64* @memcpy(i64* %87, i64* %88, i32 1024) %90 = add i64 %3, 76 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = add i64 %2, 76 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = urem i32 %95, 4 %97 = or i32 %96, %92 store i32 %97, i32* %91, align 4 %98 = call i64 @FUNC(i64 %3, i64 %10) %99 = add i64 %2, 8 %100 = inttoptr i64 %99 to i64* %101 = load i64, i64* %100, align 8 %102 = inttoptr i64 %101 to i64* %103 = load i64, i64* %102, align 8 %104 = icmp eq i64 %103, 0 br i1 %104, label LBL_6, label LBL_5 LBL_5: %105 = call i64 @FUNC(i64 %10, i64 %99) %106 = trunc i64 %105 to i32 %107 = icmp slt i32 %106, 0 %108 = icmp eq i1 %107, false store i64 %105, i64* %rax.0.shrunk.reg2mem br i1 %108, label LBL_6, label LBL_9 LBL_6: %109 = add i64 %3, 16 %110 = call i64 @FUNC(i64 %3, i64 %109) %111 = add i64 %2, 16 %112 = inttoptr i64 %111 to i64* %113 = load i64, i64* %112, align 8 %114 = inttoptr i64 %113 to i64* %115 = load i64, i64* %114, align 8 %116 = icmp eq i64 %115, 0 br i1 %116, label LBL_8, label LBL_7 LBL_7: %117 = call i64 @FUNC(i64 %109, i64 %111) %118 = trunc i64 %117 to i32 %119 = icmp slt i32 %118, 0 %120 = icmp eq i1 %119, false store i64 %117, i64* %rax.0.shrunk.reg2mem br i1 %120, label LBL_8, label LBL_9 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 %3, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 0, 22, 21 } uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 (i64, i64)* @ff_thread_ref_frame, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ff_thread_release_buffer, { 2, 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_9, { 4, 0, 1, 2, 3 } }
1
CompRealVul
ff_amf_read_number_171
ff_amf_read_number
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = call i128 @FUNC(i64 %4) %6 = call i64 @FUNC(i128 %5) store i64 %6, i64* %arg2, 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 i64 (i64)* @bytestream2_get_byte, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
AcquirePixelThreadSet_11917
AcquirePixelThreadSet
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %xmm0.1.lcssa.reg2mem = alloca i128 %xmm0.16.reg2mem = alloca i128 %storemerge17.reg2mem = alloca i64 %xmm0.04.reg2mem = alloca i128 %storemerge25.reg2mem = alloca i64 %xmm0.28.reg2mem = alloca i128 %storemerge9.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %storemerge311.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 8) %1 = call i64 @FUNC(i64 %0, i64 8) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_13 LBL_1: %4 = inttoptr i64 %1 to i64* %.tr = trunc i64 %0 to i32 %5 = mul i32 %.tr, 8 %6 = call i64* @memset(i64* %4, i32 0, i32 %5) %7 = icmp eq i64* %arg1, null %8 = icmp eq i1 %7, false store i64 %1, i64* %sv_0.0.lcssa.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = ptrtoint i64* %arg1 to i64 store i64 %9, i64* %storemerge311.reg2mem store i64 %1, i64* %sv_0.010.reg2mem br label LBL_3 LBL_3: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %storemerge311.reload = load i64, i64* %storemerge311.reg2mem %10 = inttoptr i64 %storemerge311.reload to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %sv_0.010.reload) %13 = add i64 %storemerge311.reload, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %storemerge311.reg2mem store i64 %12, i64* %sv_0.010.reg2mem store i64 %12, i64* %sv_0.0.lcssa.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_4: %18 = icmp sgt i64 %0, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_13 LBL_5: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %19 = icmp sgt i64 %sv_0.0.lcssa.reload, 0 store i64 0, i64* %storemerge9.reg2mem br label LBL_6 LBL_6: %xmm0.28.reload = load i128, i128* %xmm0.28.reg2mem %storemerge9.reload = load i64, i64* %storemerge9.reg2mem %20 = mul i64 %storemerge9.reload, 8 %21 = add i64 %20, %1 %22 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 32) %23 = inttoptr i64 %21 to i64* store i64 %22, i64* %23, align 8 %24 = icmp eq i64 %22, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_8 LBL_7: store i64 0, i64* %storemerge17.reg2mem store i128 %xmm0.28.reload, i128* %xmm0.16.reg2mem store i128 %xmm0.28.reload, i128* %xmm0.1.lcssa.reg2mem br i1 %19, label LBL_11, label LBL_12 LBL_8: %26 = call i64 @FUNC(i64 %1) store i64 %26, i64* %rax.0.reg2mem br label LBL_13 LBL_9: %xmm0.04.reload = load i128, i128* %xmm0.04.reg2mem %storemerge25.reload = load i64, i64* %storemerge25.reg2mem %27 = load i64, i64* %23, align 8 %28 = call i128 @FUNC(i128 %xmm0.04.reload, i128 %xmm0.04.reload) %29 = call i64 @FUNC(i128 %28) %30 = mul i64 %storemerge25.reload, 8 %31 = add nuw nsw i64 %30, %36 %32 = add i64 %31, %27 %33 = inttoptr i64 %32 to i64* store i64 %29, i64* %33, align 8 %34 = add nuw nsw i64 %storemerge25.reload, 1 %exitcond = icmp eq i64 %34, 4 store i64 %34, i64* %storemerge25.reg2mem store i128 %28, i128* %xmm0.04.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %35 = add nuw nsw i64 %storemerge17.reload, 1 %exitcond14 = icmp eq i64 %35, %sv_0.0.lcssa.reload store i64 %35, i64* %storemerge17.reg2mem store i128 %28, i128* %xmm0.16.reg2mem store i128 %28, i128* %xmm0.1.lcssa.reg2mem br i1 %exitcond14, label LBL_12, label LBL_11 LBL_11: %xmm0.16.reload = load i128, i128* %xmm0.16.reg2mem %storemerge17.reload = load i64, i64* %storemerge17.reg2mem %36 = mul i64 %storemerge17.reload, 32 store i64 0, i64* %storemerge25.reg2mem store i128 %xmm0.16.reload, i128* %xmm0.04.reg2mem br label LBL_9 LBL_12: %xmm0.1.lcssa.reload = load i128, i128* %xmm0.1.lcssa.reg2mem %37 = add nuw nsw i64 %storemerge9.reload, 1 %38 = icmp slt i64 %37, %0 store i64 %37, i64* %storemerge9.reg2mem store i128 %xmm0.1.lcssa.reload, i128* %xmm0.28.reg2mem store i64 %1, i64* %rax.0.reg2mem br i1 %38, label LBL_6, label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge17.reload, { 1, 0 } uselistorder i128 %xmm0.04.reload, { 1, 0 } uselistorder i64 %sv_0.0.lcssa.reload, { 2, 0, 1 } uselistorder i64 %storemerge311.reload, { 1, 0 } uselistorder i64 %1, { 0, 5, 4, 1, 3, 2, 6, 7 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %storemerge311.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.010.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.28.reg2mem, { 1, 0 } uselistorder i64* %storemerge25.reg2mem, { 2, 1, 0 } uselistorder i128* %xmm0.04.reg2mem, { 2, 1, 0 } uselistorder i64* %storemerge17.reg2mem, { 0, 2, 1 } uselistorder i128* %xmm0.16.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 32, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i64)* @AcquireQuantumMemory, { 1, 0 } uselistorder i64 8, { 0, 1, 4, 2, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_13, { 0, 3, 1, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
dyn_buf_write_14219
dyn_buf_write
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.04.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i32 %4, %1 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %4 to i64 %10 = sext i32 %5 to i64 %11 = icmp sge i64 %10, %9 %12 = icmp slt i32 %5, 1073741824 %or.cond = icmp eq i1 %12, %11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_10 LBL_1: %13 = icmp sgt i32 %5, %8 store i32 %8, i32* %sv_0.04.reg2mem store i32 %8, i32* %sv_0.0.lcssa.reg2mem br i1 %13, label LBL_2, label LBL_4 LBL_2: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %14 = icmp eq i32 %sv_0.04.reload, 0 %15 = icmp eq i1 %14, false store i32 %5, i32* %sv_0.0.lcssa.reg2mem br i1 %15, label LBL_3, label LBL_4 LBL_3: %16 = icmp slt i32 %sv_0.04.reload, 0 %17 = zext i1 %16 to i32 %18 = add i32 %sv_0.04.reload, %17 %19 = ashr i32 %18, 1 %20 = add i32 %sv_0.04.reload, 1 %21 = add i32 %20, %19 %22 = icmp sgt i32 %5, %21 store i32 %21, i32* %sv_0.04.reg2mem store i32 %21, i32* %sv_0.0.lcssa.reg2mem br i1 %22, label LBL_2, label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %23 = zext i32 %8 to i64 %24 = sext i32 %sv_0.0.lcssa.reload to i64 %25 = icmp sgt i64 %24, %23 store i32 %4, i32* %.reg2mem br i1 %25, label LBL_5, label LBL_7 LBL_5: %26 = call i64 @FUNC(i64 %0, i64 %24) store i64 %26, i64* %arg1, align 8 %27 = icmp eq i64* %arg1, null %28 = icmp eq i1 %27, false store i64 4294966062, i64* %rax.0.reg2mem br i1 %28, label LBL_6, label LBL_10 LBL_6: store i32 %sv_0.0.lcssa.reload, i32* %7, align 4 %.pre = load i32, i32* %3, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %sext = mul i64 %arg3, 4294967296 %29 = ashr exact i64 %sext, 32 %.reload = load i32, i32* %.reg2mem %30 = trunc i64 %29 to i32 %31 = sext i32 %.reload to i64 %32 = add i64 %31, %0 %33 = inttoptr i64 %32 to i64* %34 = bitcast i32* %arg2 to i64* %35 = call i64* @memcpy(i64* %33, i64* %34, i32 %30) store i32 %5, i32* %3, align 4 %36 = add i64 %0, 12 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp ugt i32 %5, %38 br i1 %39, label LBL_8, label LBL_9 LBL_8: store i32 %5, i32* %37, align 4 br label LBL_9 LBL_9: %40 = and i64 %29, 4294967295 store i64 %40, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.04.reload, { 0, 3, 2, 1 } uselistorder i32 %8, { 2, 0, 1, 3 } uselistorder i32 %5, { 3, 2, 4, 5, 0, 1, 6, 7 } uselistorder i32 %4, { 0, 2, 1 } uselistorder i32* %3, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
quantize_mantissas_13860
quantize_mantissas
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %.reg2mem13 = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem9 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 store i64 %0, i64* %sv_0, align 8 %2 = add i64 %1, -8 %3 = inttoptr i64 %2 to i64* store i64 %0, i64* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i64, i64* %.reg2mem %4 = mul nuw nsw i64 %indvars.iv.reload, 120 %5 = add i64 %4, %.reload %6 = add i64 %.reload, 1928 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = load i64, i64* %sv_0, align 8 %9 = add i64 %8, 1928 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %8, 1924 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = load i64, i64* %sv_0, align 8 %15 = add i64 %14, 1924 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %14, 1920 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = load i64, i64* %sv_0, align 8 %21 = add i64 %20, 1952 %22 = inttoptr i64 %21 to i64* store i64 0, i64* %22, align 8 %23 = load i64, i64* %sv_0, align 8 %24 = add i64 %23, 1952 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add i64 %23, 1944 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 %29 = load i64, i64* %sv_0, align 8 %30 = add i64 %29, 1944 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %29, 1936 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 %35 = load i64, i64* %sv_0, align 8 %36 = add i64 %35, 1960 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 store i64 0, i64* %.reg2mem9 store i64 %35, i64* %.reg2mem11 store i32 0, i32* %storemerge12.reg2mem store i64 %35, i64* %.reg2mem13 store i64 0, i64* %.lcssa.reg2mem br i1 %39, label LBL_3, label LBL_2 LBL_2: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %.reload10 = load i64, i64* %.reg2mem9 %40 = mul i64 %.reload10, 4 %41 = add i64 %.reload12, 1964 %42 = add i64 %41, %40 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = zext i32 %44 to i64 %46 = add i64 %5, %40 %47 = add i64 %46, 96 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %46, 72 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = add i64 %46, 48 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i64 %46, 24 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = inttoptr i64 %46 to i32* %60 = load i32, i32* %59, align 4 store i64 %45, i64* %3, align 8 %61 = call i64 @FUNC(i64 %.reload12, i32 %60, i32 %58, i32 %55, i32 %52, i32 %49) %62 = add i32 %storemerge12.reload, 1 %63 = load i64, i64* %sv_0, align 8 %64 = add i64 %63, 1960 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = zext i32 %66 to i64 %68 = sext i32 %62 to i64 %69 = icmp slt i64 %68, %67 store i64 %68, i64* %.reg2mem9 store i64 %63, i64* %.reg2mem11 store i32 %62, i32* %storemerge12.reg2mem store i64 %63, i64* %.reg2mem13 store i64 %67, i64* %.lcssa.reg2mem br i1 %69, label LBL_2, label LBL_3 LBL_3: %.reload14 = load i64, i64* %.reg2mem13 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %.reload14, i64* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %46, { 3, 2, 0, 1, 4 } uselistorder i64 %.reload12, { 1, 0 } uselistorder i64* %sv_0, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem9, { 2, 0, 1 } uselistorder i64* %.reg2mem11, { 2, 0, 1 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64 1960, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
vorbis_comment_16536
vorbis_comment
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i1 %sv_0.0.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 %3, i64* %sv_3, align 8 %4 = icmp sgt i32 %arg3, 7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_16 LBL_1: %5 = sext i32 %arg3 to i64 %6 = add i64 %5, %3 %7 = call i64 @FUNC(i64* nonnull %sv_3) %8 = load i64, i64* %sv_3, align 8 %9 = sub i64 %6, %8 %10 = and i64 %7, 4294967295 %11 = icmp slt i64 %9, %10 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_16, label LBL_2 LBL_2: %12 = ptrtoint i64* %arg1 to i64 %13 = add i64 %8, %10 store i64 %13, i64* %sv_3, align 8 %14 = call i64 @FUNC(i64* nonnull %sv_3) %15 = trunc i64 %14 to i32 %16 = load i64, i64* %sv_3, align 8 %17 = icmp ugt i64 %6, %16 %18 = icmp eq i32 %15, 0 %19 = icmp eq i1 %18, false %or.cond68 = icmp eq i1 %17, %19 store i32 %15, i32* %sv_0.09.reg2mem store i64 %16, i64* %.reg2mem store i32 %15, i32* %sv_0.0.lcssa.reg2mem store i1 %18, i1* %.lcssa.reg2mem br i1 %or.cond68, label LBL_3, label LBL_12 LBL_3: %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %20 = call i64 @FUNC(i64* nonnull %sv_3) %21 = load i64, i64* %sv_3, align 8 %22 = sub i64 %6, %21 %23 = and i64 %20, 4294967295 %24 = icmp slt i64 %22, %23 store i64 %21, i64* %.reg2mem store i32 %sv_0.09.reload, i32* %sv_0.0.lcssa.reg2mem store i1 false, i1* %.lcssa.reg2mem br i1 %24, label LBL_12, label LBL_4 LBL_4: %25 = trunc i64 %20 to i32 %26 = add i64 %21, %23 store i64 %26, i64* %sv_3, align 8 %27 = inttoptr i64 %21 to i64* %28 = call i64* @memchr(i64* %27, i32 61, i32 %25) %29 = icmp eq i64* %28, null %30 = icmp eq i1 %29, false br i1 %30, label LBL_5, label LBL_6 LBL_5: %31 = ptrtoint i64* %28 to i64 %32 = sub i64 %31, %21 %33 = trunc i64 %32 to i32 %34 = sub i32 0, %33 %35 = sub i32 %34, 1 %36 = add i32 %35, %25 %37 = icmp eq i32 %33, 0 %38 = icmp eq i32 %36, 0 %or.cond = or i1 %37, %38 br i1 %or.cond, label LBL_6, label LBL_7 LBL_6: %39 = add i32 %sv_0.09.reload, -1 %40 = load i64, i64* %sv_3, align 8 %41 = icmp ugt i64 %6, %40 %42 = icmp eq i32 %39, 0 %43 = icmp eq i1 %42, false %or.cond6 = icmp eq i1 %43, %41 store i32 %39, i32* %sv_0.09.reg2mem store i64 %40, i64* %.reg2mem store i32 %39, i32* %sv_0.0.lcssa.reg2mem store i1 %42, i1* %.lcssa.reg2mem br i1 %or.cond6, label LBL_3, label LBL_12 LBL_7: %44 = mul i64 %32, 4294967296 %sext = add i64 %44, 4294967296 %45 = ashr exact i64 %sext, 32 %46 = call i64 @FUNC(i64 %45) store i64 %46, i64* %sv_2, align 8 %47 = add i32 %36, 1 %48 = sext i32 %47 to i64 %49 = call i64 @FUNC(i64 %48) store i64 %49, i64* %sv_1, align 8 %50 = load i64, i64* %sv_2, align 8 %51 = icmp ne i64 %50, 0 %52 = icmp eq i64 %49, 0 %53 = icmp eq i1 %52, false %or.cond4 = icmp eq i1 %53, %51 br i1 %or.cond4, label LBL_8, label LBL_9 LBL_8: %54 = add i64 %31, 1 %wide.trip.count = and i64 %32, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_9: %55 = call i64 @FUNC(i64* nonnull %sv_2) %56 = call i64 @FUNC(i64* nonnull %sv_1) %57 = call i64 @FUNC(i64 %12, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %21, i64 %2, i64 %1) br label LBL_6 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %58 = add i64 %indvars.iv.reload, %21 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = sext i8 %60 to i32 %62 = call i32 @toupper(i32 %61) %63 = load i64, i64* %sv_2, align 8 %64 = add i64 %63, %indvars.iv.reload %65 = trunc i32 %62 to i8 %66 = inttoptr i64 %64 to i8* store i8 %65, i8* %66, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %.pre = load i64, i64* %sv_2, align 8 %67 = ashr exact i64 %44, 32 %68 = add i64 %.pre, %67 %69 = inttoptr i64 %68 to i8* store i8 0, i8* %69, align 1 %70 = load i64, i64* %sv_1, align 8 %71 = inttoptr i64 %70 to i64* %72 = inttoptr i64 %54 to i64* %73 = call i64* @memcpy(i64* %71, i64* %72, i32 %36) %74 = load i64, i64* %sv_1, align 8 %75 = sext i32 %36 to i64 %76 = add i64 %74, %75 %77 = inttoptr i64 %76 to i8* store i8 0, i8* %77, align 1 %78 = load i64, i64* %sv_1, align 8 %79 = load i64, i64* %sv_2, align 8 %80 = call i64 @FUNC(i64 %12, i64 %79, i64 %78) %81 = call i64 @FUNC(i64* nonnull %sv_2) %82 = call i64 @FUNC(i64* nonnull %sv_1) br label LBL_6 LBL_12: %.lcssa.reload = load i1, i1* %.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %.reload = load i64, i64* %.reg2mem %83 = icmp eq i64 %6, %.reload br i1 %83, label LBL_14, label LBL_13 LBL_13: %84 = sub i64 %6, %.reload %85 = call i64 @FUNC(i64 %12, i64 2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i64 %84, i64 %2, i64 %1) br label LBL_14 LBL_14: store i64 0, i64* %rax.0.reg2mem br i1 %.lcssa.reload, label LBL_16, label LBL_15 LBL_15: %86 = zext i32 %sv_0.0.lcssa.reload to i64 %87 = call i64 @FUNC(i64 %12, i64 2, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i64 %86, i64 %2, i64 %1) 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 i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %44, { 1, 0 } uselistorder i32 %33, { 1, 0 } uselistorder i64 %32, { 1, 0, 2 } uselistorder i64* %28, { 1, 0 } uselistorder i64 %21, { 1, 5, 4, 2, 3, 0, 6 } uselistorder i64 %20, { 1, 0 } uselistorder i32 %sv_0.09.reload, { 1, 0 } uselistorder i64 %12, { 3, 2, 0, 1 } uselistorder i64 %6, { 2, 1, 4, 3, 0, 5 } uselistorder i64* %sv_3, { 4, 5, 6, 1, 0, 2, 7, 8, 3, 9 } uselistorder i64* %sv_2, { 1, 3, 0, 4, 2, 5, 6 } uselistorder i64* %sv_1, { 0, 2, 3, 4, 1, 5 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_0.09.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i1* %.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 (i64*)* @av_freep, { 3, 2, 1, 0 } uselistorder i64 (i64)* @av_malloc, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i1 false, { 3, 2, 4, 0, 1 } uselistorder i32 0, { 2, 3, 4, 0, 1 } uselistorder i64 (i64*)* @bytestream_get_le32, { 2, 1, 0 } uselistorder i64 4294967295, { 2, 3, 0, 4, 1 } uselistorder label LBL_16, { 1, 0, 2, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0, 3 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
update_sar_16910
update_sar
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 4294967296 %sext4 = mul i64 %arg2, 4294967296 %sext5 = mul i64 %arg4, 4294967296 %sext6 = mul i64 %arg5, 4294967296 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false %spec.select = select i1 %2, i64 %arg3, i64 1 %3 = ashr exact i64 %sext6, 32 %4 = ashr exact i64 %sext, 32 %5 = mul nsw i64 %3, %4 %6 = ashr exact i64 %sext5, 32 %7 = mul i64 %sext4, %6 %8 = and i64 %5, 4294967295 %9 = or i64 %8, %7 %10 = call i64 @FUNC(i64 %spec.select, i64 %9) ret i64 %10 }
1
CompRealVul
rgb8tobgr8_16150
rgb8tobgr8
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = ptrtoint i32* %arg1 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = add i64 %indvars.iv.reload, %1 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = udiv i8 %4, 64 %narrow = mul i8 %5, 2 %6 = and i8 %4, 56 %7 = mul i8 %4, 64 %8 = add i64 %indvars.iv.reload, %arg2 %9 = or i8 %7, %6 %10 = or i8 %9, %narrow %11 = inttoptr i64 %8 to i8* store i8 %10, i8* %11, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %wide.trip.count, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i8 %4, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
CompRealVul
mddev_suspend_3762
mddev_suspend
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 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = bitcast i64* %arg1 to i32* store i32 1, i32* %8, align 4 %9 = call i64 @FUNC() %10 = add i64 %2, 56 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %2, 72 %17 = call i64 @FUNC(i64 %16) ret i64 %17 }
0
CompRealVul
ff_jref_idct1_add_1446
ff_jref_idct1_add
define i64 @FUNC(i8* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = trunc i64 %2 to i32 %5 = add i32 %4, 4 %6 = ashr i32 %5, 3 %7 = urem i32 %3, 256 %8 = add nsw i32 %6, %7 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i8 store i8 %11, i8* %arg1, align 1 ret i64 %10 uselistorder i64 %10, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
CompRealVul
m25p80_transfer8_2229
m25p80_transfer8
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 44 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 4 br i1 %5, label LBL_8, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = icmp ugt i32 %4, 4 br i1 %7, label LBL_10, label LBL_2 LBL_2: %8 = icmp ult i32 %4, 2 %9 = icmp eq i1 %8, false br i1 %9, label LBL_6, label LBL_3 LBL_3: switch i32 %4, label LBL_10 [ i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %10 = trunc i64 %6 to i32 %11 = inttoptr i64 %1 to i64* %12 = load i64, i64* %11, align 8 %13 = trunc i64 %12 to i32 %14 = urem i32 %10, 256 %15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i32 %13, i32 %14) %16 = urem i64 %6, 256 %17 = load i64, i64* %11, align 8 %18 = call i64 @FUNC(i64 %1, i64 %17, i64 %16) %19 = load i64, i64* %11, align 8 %20 = add i64 %19, 1 %21 = add i64 %1, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %23, -1 %25 = and i64 %24, %20 store i64 %25, i64* %11, align 8 store i32 0, i32* %sv_0.0.reg2mem br label LBL_11 LBL_5: %26 = add i64 %1, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %1 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %30, %28 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = zext i8 %33 to i32 %35 = trunc i64 %30 to i32 %36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i32 %35, i32 %34) %37 = load i64, i64* %29, align 8 %38 = add i64 %37, 1 %39 = add i64 %1, 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, -1 %43 = and i64 %42, %38 store i64 %43, i64* %29, align 8 store i32 %34, i32* %sv_0.0.reg2mem br label LBL_11 LBL_6: %44 = add i64 %1, 24 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = add i64 %1, 32 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 %51 = add i64 %46, %50 %52 = trunc i64 %6 to i8 %53 = inttoptr i64 %51 to i8* store i8 %52, i8* %53, align 1 %54 = load i32, i32* %48, align 4 %55 = add i32 %54, 1 store i32 %55, i32* %48, align 4 %56 = add i64 %1, 36 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp eq i32 %55, %58 %60 = icmp eq i1 %59, false store i32 0, i32* %sv_0.0.reg2mem br i1 %60, label LBL_11, label LBL_7 LBL_7: %61 = call i64 @FUNC(i64 %1) store i32 0, i32* %sv_0.0.reg2mem br label LBL_11 LBL_8: %62 = add i64 %1, 24 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = add i64 %1, 40 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = zext i32 %67 to i64 %69 = add i64 %64, %68 %70 = inttoptr i64 %69 to i8* %71 = load i8, i8* %70, align 1 %72 = zext i8 %71 to i32 %73 = add i32 %67, 1 store i32 %73, i32* %66, align 4 %74 = add i64 %1, 32 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = icmp eq i32 %73, %76 %78 = icmp eq i1 %77, false store i32 %72, i32* %sv_0.0.reg2mem br i1 %78, label LBL_11, label LBL_9 LBL_9: store i32 0, i32* %66, align 4 store i32 5, i32* %3, align 4 store i32 %72, i32* %sv_0.0.reg2mem br label LBL_11 LBL_10: %79 = urem i64 %6, 256 %80 = call i64 @FUNC(i64 %1, i64 %79) store i32 0, i32* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %81 = zext i32 %sv_0.0.reload to i64 ret i64 %81 uselistorder i32* %48, { 1, 0, 2 } uselistorder i64 %30, { 1, 0 } uselistorder i64* %11, { 0, 2, 1, 3 } uselistorder i64 %6, { 0, 3, 1, 2 } uselistorder i32 %4, { 1, 2, 0, 3 } uselistorder i64 %1, { 0, 11, 13, 12, 8, 7, 10, 9, 1, 3, 2, 5, 4, 6, 14 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 6, 7, 4, 5, 2, 3 } uselistorder i64 -1, { 1, 0 } uselistorder i32 0, { 0, 5, 2, 3, 1, 4 } uselistorder i64 32, { 1, 2, 0 } uselistorder label LBL_11, { 4, 1, 0, 3, 2, 5, 6 } }
0
CompRealVul
intel_dp_aux_native_read_4023
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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i8, align 1 %0 = trunc i64 %arg4 to i32 %1 = add i32 %0, -19 %2 = sub i32 18, %0 %3 = and i32 %2, %0 %4 = icmp slt i32 %3, 0 %5 = icmp eq i32 %1, 0 %6 = icmp slt i32 %1, 0 %7 = icmp eq i1 %6, %4 %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 %10 = zext i1 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %13, label LBL_1, label LBL_7 LBL_1: %14 = ptrtoint i64* %arg1 to i64 %15 = call i64 @FUNC(i64 %14) store i8 0, i8* %sv_2, align 1 %16 = add i64 %arg4, 1 %17 = and i64 %16, 4294967295 %18 = bitcast i32* %sv_1 to i64* %19 = call i64 @FUNC(i64 %14, i8* nonnull %sv_2, i32 4, i64* nonnull %18, i64 %17) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i32 %20, i32* %.reg2mem store i32 -2, i32* %rax.0.shrunk.reg2mem br i1 %22, label LBL_2, label LBL_7 LBL_2: %.reload = load i32, i32* %.reg2mem %23 = icmp slt i32 %.reload, 0 %24 = icmp eq i1 %23, false store i32 %.reload, i32* %rax.0.shrunk.reg2mem br i1 %24, label LBL_3, label LBL_7 LBL_3: %25 = load i32, i32* %sv_1, align 4 %26 = urem i32 %25, 4 %27 = icmp eq i32 %26, 1 %28 = icmp eq i1 %27, false br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = add i32 %.reload, -1 %30 = call i64* @memcpy(i64* %arg3, i64* nonnull %sv_0, i32 %29) store i32 %29, i32* %rax.0.shrunk.reg2mem br label LBL_7 LBL_5: %31 = icmp eq i32 %26, 2 %32 = icmp eq i1 %31, false store i32 -3, i32* %rax.0.shrunk.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 100) %34 = call i64 @FUNC(i64 %14, i8* nonnull %sv_2, i32 4, i64* nonnull %18, i64 %17) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i32 %35, i32* %.reg2mem store i32 -2, i32* %rax.0.shrunk.reg2mem br i1 %37, label LBL_2, label LBL_7 LBL_7: %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 %26, { 1, 0 } uselistorder i32 %.reload, { 2, 0, 1 } uselistorder i64* %18, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %14, { 1, 0, 2 } uselistorder i32 %1, { 1, 0 } uselistorder i8* %sv_2, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 3, 6, 2, 4, 5 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 (i64, i8*, i32, i64*, i64)* @intel_dp_aux_ch, { 1, 0 } uselistorder i32 4, { 2, 0, 1 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i1 false, { 4, 1, 2, 3, 0, 5 } uselistorder label LBL_7, { 0, 2, 5, 1, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
apic_deliver_pic_intr_514
apic_deliver_pic_intr
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %2, i64 0) store i64 %5, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %6 = trunc i64 %1 to i32 %7 = udiv i32 %6, 256 %8 = urem i32 %7, 8 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = zext i32 %8 to i64 %11 = icmp eq i32 %8, 1 store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_7 LBL_4: %12 = and i32 %6, 2048 %13 = icmp eq i32 %12, 0 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_7, label LBL_5 LBL_5: %14 = add i64 %2, 1024 %15 = urem i64 %1, 256 %16 = call i64 @FUNC(i64 %14, i64 %15) br label LBL_6 LBL_6: %17 = call i64 @FUNC(i64 %2) store i64 %17, 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, { 2, 0, 1 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder label LBL_7, { 2, 0, 1, 3 } }
0
CompRealVul
qpci_io_readb_729
qpci_io_readb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i8 %1 = ptrtoint i64* %arg1 to i64 %2 = load i8, i8* %0 %3 = icmp ult i64 %arg2, 4096 %4 = zext i8 %2 to i64 %storemerge = select i1 %3, i64 %1, i64 %4 ret i64 %storemerge }
0
CompRealVul
upnp_redirect_7511
upnp_redirect
define i64 @FUNC(i64 %arg1, i16 %arg2, i64 %arg3, i16 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i16, align 2 %sv_2 = alloca i8, align 1 %sv_3 = alloca i32, align 4 %0 = call i64 @FUNC(i64 %arg5) %1 = inttoptr i64 %arg3 to i8* %2 = bitcast i32* %sv_3 to %in_addr* %3 = call i32 @inet_aton(i8* %1, %in_addr* nonnull %2) %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 br i1 %8, label LBL_2, label LBL_1 LBL_1: call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_23 LBL_2: %9 = load i32, i32* @gv_1, align 4 %10 = load i64, i64* @gv_2, align 8 %11 = load i32, i32* %sv_3, align 4 %12 = zext i32 %11 to i64 %13 = zext i16 %arg4 to i64 %14 = call i64 @FUNC(i64 %10, i32 %9, i16 %arg2, i64 %12, i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = inttoptr i64 %arg5 to i8* call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_3, i64 0, i64 0), i16 %arg2, i8* %1, i16 %arg4, i8* %18) store i64 4294967293, i64* %rax.0.reg2mem br label LBL_23 LBL_4: %sext = mul i64 %arg7, 4294967296 %19 = ashr exact i64 %sext, 32 %20 = trunc i64 %0 to i32 store i8 0, i8* %sv_2, align 1 %21 = load i64, i64* @gv_4, align 8 %22 = bitcast i16* %sv_1 to i64* %23 = call i64 @FUNC(i64 %21, i16 %arg2, i32 %20, i64* nonnull %sv_0, i64 32, i64* nonnull %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_18, label LBL_5 LBL_5: %27 = bitcast i64* %sv_0 to i8* %28 = call i32 @strcmp(i8* %1, i8* nonnull %27) %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_17, label LBL_6 LBL_6: %31 = icmp eq i64 %arg1, 0 br i1 %31, label LBL_9, label LBL_7 LBL_7: %32 = inttoptr i64 %arg1 to i8* %33 = call i32 @strcmp(i8* %32, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0)) %34 = icmp eq i32 %33, 0 %35 = load i8, i8* %sv_2, align 1 %36 = icmp eq i8 %35, 0 %or.cond9 = icmp eq i1 %34, %36 br i1 %or.cond9, label LBL_9, label LBL_8 LBL_8: %37 = call i32 @strcmp(i8* %32, i8* nonnull %sv_2) %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_17, label LBL_9 LBL_9: %40 = load i16, i16* %sv_1, align 2 %41 = inttoptr i64 %arg5 to i8* call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_6, i64 0, i64 0), i16 %arg2, i8* %41, i8* nonnull %sv_2, i64* nonnull %sv_0, i16 %40) %42 = trunc i64 %19 to i32 %43 = icmp eq i32 %42, 0 store i64 0, i64* %storemerge5.reg2mem br i1 %43, label LBL_11, label LBL_10 LBL_10: %44 = call i64 @FUNC() %45 = add i64 %44, %19 %phitmp10 = and i64 %45, 4294967295 store i64 %phitmp10, i64* %storemerge5.reg2mem br label LBL_11 LBL_11: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %46 = load i16, i16* %sv_1, align 2 %47 = icmp eq i16 %46, %arg4 %48 = load i64, i64* @gv_4, align 8 br i1 %47, label LBL_13, label LBL_12 LBL_12: %49 = call i64 @FUNC(i64 %48, i16 %arg2, i32 %20, i16 %arg4, i64 %arg6, i64 %storemerge5.reload) store i64 %49, i64* %storemerge.in.reg2mem br label LBL_14 LBL_13: %50 = call i64 @FUNC(i64 %48, i16 %arg2, i32 %20, i64 %arg6, i64 %storemerge5.reload) store i64 %50, i64* %storemerge.in.reg2mem br label LBL_14 LBL_14: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %51 = icmp eq i32 %storemerge, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_16, label LBL_15 LBL_15: %53 = and i64 %0, 4294967295 %54 = zext i16 %arg2 to i64 %55 = call i64 @FUNC(i64 %54, i64 %53) %56 = call i64 @FUNC(i64 %54, i64 %arg3, i16 %arg4, i32 %20, i64 %arg6, i64 %storemerge5.reload) br label LBL_16 LBL_16: %57 = and i64 %storemerge.in.reload, 4294967295 store i64 %57, i64* %rax.0.reg2mem br label LBL_23 LBL_17: %58 = load i16, i16* %sv_1, align 2 %59 = inttoptr i64 %arg5 to i8* call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_7, i64 0, i64 0), i16 %arg2, i8* %59, i8* nonnull %sv_2, i64* nonnull %sv_0, i16 %58) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_23 LBL_18: %60 = load i64, i64* @gv_4, align 8 %61 = call i64 @FUNC(i64 %60, i16 %arg2, i32 %20, i64 %arg3, i64 %13) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 1 br i1 %63, label LBL_20, label LBL_19 LBL_19: %64 = inttoptr i64 %arg5 to i8* call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_8, i64 0, i64 0), i16 %arg2, i8* %64) store i64 4294967292, i64* %rax.0.reg2mem br label LBL_23 LBL_20: %65 = trunc i64 %19 to i32 %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_22, label LBL_21 LBL_21: %67 = call i64 @FUNC() br label LBL_22 LBL_22: %68 = inttoptr i64 %arg5 to i8* %69 = inttoptr i64 %arg6 to i8* call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_9, i64 0, i64 0), i16 %arg2, i8* %1, i16 %arg4, i8* %68, i8* %69) %70 = call i64 @FUNC(i64 %arg1, i16 %arg2, i64 %arg3, i16 %arg4, i32 %20, i64 %arg6) store i64 %70, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.in.reload, { 1, 0 } uselistorder i64 %48, { 1, 0 } uselistorder i64 %storemerge5.reload, { 1, 0, 2 } uselistorder i32 %20, { 3, 4, 1, 2, 0, 5 } uselistorder i64 %19, { 2, 0, 1 } uselistorder i32 %3, { 1, 0 } uselistorder i8* %1, { 3, 2, 1, 0, 4 } uselistorder i8* %sv_2, { 1, 2, 3, 0, 4 } uselistorder i16* %sv_1, { 2, 1, 0, 3 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64 ()* @upnp_time, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder void (i32, i8*, ...)* @syslog, { 3, 4, 2, 1, 0, 5 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0 } uselistorder i32 1, { 3, 4, 7, 5, 6, 2, 1, 0 } uselistorder i64 %arg6, { 3, 4, 1, 2, 0 } uselistorder i64 %arg5, { 4, 3, 2, 1, 0, 5 } uselistorder i16 %arg4, { 4, 5, 2, 3, 0, 1, 6 } uselistorder i64 %arg3, { 1, 2, 0, 3 } uselistorder i16 %arg2, { 7, 8, 6, 9, 5, 2, 3, 1, 4, 10, 0, 11 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } }
1
CompRealVul
edac_mc_free_18177
edac_mc_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %7 = call i64 @FUNC(i64 %5) ret i64 %7 uselistorder i64* %0, { 3, 2, 1, 0 } }
1
CompRealVul
textsearch_prepare_4825
textsearch_prepare
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 4294967274) store i64 %2, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %3 = call i64 @FUNC(i64 %arg1) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false %6 = urem i64 %arg5, 2 %7 = icmp eq i64 %6, 0 %or.cond = or i1 %7, %5 store i64 %3, i64* %sv_1.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %arg1) %9 = call i64 @FUNC(i64 %arg1) store i64 %9, i64* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %10 = icmp eq i64 %sv_1.0.reload, 0 store i64 4294967294, i64* %sv_0.03.reg2mem br i1 %10, label LBL_8, label LBL_5 LBL_5: %11 = call i64 @FUNC(i64 %arg2) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_7 LBL_6: %14 = inttoptr i64 %arg2 to i64* store i64 %sv_1.0.reload, i64* %14, align 8 store i64 %arg2, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %15 = call i64 @FUNC(i64 %arg2) %phitmp = and i64 %15, 4294967295 %16 = add i64 %sv_1.0.reload, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) store i64 %phitmp, i64* %sv_0.03.reg2mem br label LBL_8 LBL_8: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %20 = call i64 @FUNC(i64 %sv_0.03.reload) store i64 %20, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.0.reload, { 1, 2, 0 } uselistorder i64* %sv_0.03.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64)* @lookup_ts_algo, { 1, 0 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
ieee80211_fragment_11032
ieee80211_fragment
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %.reg2mem14 = alloca i32 %sv_0.0610.reg2mem = alloca i32 %spec.select11.reg2mem = alloca i32 %.reg2mem12 = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %arg3 to i32 %4 = trunc i64 %arg4 to i32 %5 = sub i32 %4, %3 %6 = trunc i64 %2 to i32 %7 = sub i32 %6, %3 %.neg = sub i32 4, %5 %8 = add i32 %7, %.neg %9 = icmp slt i32 %8, 0 %10 = zext i1 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_1, label LBL_8 LBL_1: %sext = mul i64 %arg3, 4294967296 %14 = ashr exact i64 %sext, 32 %15 = add i32 %5, -4 %16 = icmp eq i32 %8, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_1.LBL_7_crit_edge LBL_2: %.pre8 = trunc i64 %14 to i32 store i32 %.pre8, i32* %.pre-phi.reg2mem br label LBL_7 LBL_3: %18 = ptrtoint i64* %arg1 to i64 %19 = trunc i64 %1 to i32 %20 = add i64 %18, 16 %21 = inttoptr i64 %20 to i64* %22 = add i32 %4, 16 %23 = load i64, i64* %21, align 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %22, %19 %27 = add i32 %26, %25 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %31, label LBL_4, label LBL_8 LBL_4: %32 = ptrtoint i64* %arg2 to i64 %33 = add i32 %4, -4 %34 = bitcast i64* %rdi to i32* %35 = add i64 %18, 8 %36 = add i64 %32, 16 %37 = inttoptr i64 %36 to i64* %38 = add i64 %32, 4 %39 = inttoptr i64 %38 to i32* %40 = add i64 %32, 8 %41 = inttoptr i64 %40 to i64* %42 = trunc i64 %14 to i32 %43 = add i64 %32, 64 %44 = inttoptr i64 %43 to i64* %45 = and i64 %14, 4294967295 %46 = icmp sgt i32 %15, %8 %spec.select9 = select i1 %46, i32 %8, i32 %15 %47 = sub i32 %8, %spec.select9 store i64 %29, i64* %.reg2mem store i32 %47, i32* %.reg2mem12 store i32 %spec.select9, i32* %spec.select11.reg2mem store i32 %33, i32* %sv_0.0610.reg2mem store i32 %19, i32* %.reg2mem14 br label LBL_5 LBL_5: %.reload15 = load i32, i32* %.reg2mem14 %sv_0.0610.reload = load i32, i32* %sv_0.0610.reg2mem %spec.select11.reload = load i32, i32* %spec.select11.reg2mem %.reload13 = load i32, i32* %.reg2mem12 %.reload = load i64, i64* %.reg2mem %48 = call i64 @FUNC(i64 %35, i64 %.reload) %49 = load i64, i64* %21, align 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i32 %51, %.reload15 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %.reload, i64 %53) %55 = add i64 %.reload, 16 %56 = inttoptr i64 %55 to i64* %57 = call i64* @memcpy(i64* %56, i64* %37, i32 48) %58 = call i64 @FUNC(i64 %.reload) %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = and i32 %60, -4 %62 = icmp eq i32 %.reload13, 0 %63 = or i32 %61, 4 %spec.select5 = select i1 %62, i32 %61, i32 %63 store i32 %spec.select5, i32* %59, align 4 %64 = call i64 @FUNC(i64 %.reload, i64 %32) %65 = load i32, i32* %39, align 4 %66 = add i64 %.reload, 4 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 %68 = load i64, i64* %41, align 8 %69 = add i64 %.reload, 8 %70 = inttoptr i64 %69 to i64* store i64 %68, i64* %70, align 8 %71 = load i64, i64* %44, align 8 %72 = call i64 @FUNC(i64 %.reload, i64 %45) %73 = inttoptr i64 %72 to i64* %74 = inttoptr i64 %71 to i64* %75 = call i64* @memcpy(i64* %73, i64* %74, i32 %42) %76 = load i64, i64* %44, align 8 %77 = sext i32 %sv_0.0610.reload to i64 %78 = add i64 %76, %77 %79 = zext i32 %spec.select11.reload to i64 %80 = call i64 @FUNC(i64 %.reload, i64 %79) %81 = inttoptr i64 %80 to i64* %82 = inttoptr i64 %78 to i64* %83 = call i64* @memcpy(i64* %81, i64* %82, i32 %spec.select11.reload) %84 = icmp eq i1 %62, false store i32 %42, i32* %.pre-phi.reg2mem br i1 %84, label LBL_5.dec_label_pc_40124f_crit_edge, label LBL_7 LBL_6: %85 = add i32 %spec.select11.reload, %sv_0.0610.reload %.pre = load i32, i32* %34, align 8 %86 = icmp sgt i32 %15, %.reload13 %spec.select = select i1 %86, i32 %.reload13, i32 %15 %87 = sub i32 %.reload13, %spec.select %88 = load i64, i64* %21, align 8 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = add i32 %22, %.pre %92 = add i32 %91, %90 %93 = zext i32 %92 to i64 %94 = call i64 @FUNC(i64 %93) %95 = icmp eq i64 %94, 0 %96 = icmp eq i1 %95, false store i64 %94, i64* %.reg2mem store i32 %87, i32* %.reg2mem12 store i32 %spec.select, i32* %spec.select11.reg2mem store i32 %85, i32* %sv_0.0610.reg2mem store i32 %.pre, i32* %.reg2mem14 store i64 4294967284, i64* %rax.0.reg2mem br i1 %96, label LBL_5, label LBL_8 LBL_7: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %97 = add i32 %.pre-phi.reload, %15 %98 = bitcast i64* %arg2 to i32* store i32 %97, i32* %98, align 4 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 %.reload, { 0, 1, 2, 4, 3, 5, 7, 6, 8 } uselistorder i32 %.reload13, { 2, 3, 1, 0 } uselistorder i32 %spec.select11.reload, { 0, 2, 1 } uselistorder i64 %32, { 2, 0, 1, 3, 4 } uselistorder i32 %22, { 1, 0 } uselistorder i64* %21, { 2, 1, 0 } uselistorder i32 %15, { 2, 3, 4, 0, 1 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i32 %8, { 1, 2, 3, 4, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem12, { 1, 0, 2 } uselistorder i32* %spec.select11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0610.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem14, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @skb_put, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 0, { 0, 3, 1, 2 } uselistorder i64 (i64)* @dev_alloc_skb, { 1, 0 } uselistorder i1 false, { 2, 3, 0, 1 } uselistorder i32 -4, { 2, 0, 1 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 2, 1, 3, 0 } uselistorder i32 4, { 1, 0 } uselistorder label LBL_8, { 3, 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
wait_for_key_construction_12105
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 0, 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 1, i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC() %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 store i64 %12, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %13 = call i64 @FUNC(i64 %0) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
CompRealVul
send_6929
send
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1, i64 %arg1, i64 %arg3, i32 %arg4) store i64 %1, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem %2 = icmp eq i64 %arg2, 0 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %2, label LBL_8, label LBL_3 LBL_3: %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = zext i32 %3 to i64 %5 = sext i32 %arg4 to i64 %6 = icmp sgt i64 %5, %4 br i1 %6, label LBL_5, label LBL_4 LBL_4: %7 = add i32 %arg4, 1 %8 = zext i32 %7 to i64 store i32 %7, i32* bitcast (i64* @gv_0 to i32*), align 8 store i64 %8, i64* %rax.1.reg2mem br label LBL_8 LBL_5: %9 = add i64 %arg1, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, %arg2 %13 = icmp eq i1 %12, false br i1 %13, label LBL_7, label LBL_6 LBL_6: %14 = call i64 @FUNC(i64 1, i64 %arg3) store i64 %14, i64* %rax.1.reg2mem br label LBL_8 LBL_7: %15 = call i64 @FUNC(i64 0, i64 %arg3) store i64 %15, i64* %rax.1.reg2mem br label LBL_8 LBL_8: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64* %rax.1.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 (i64, i64)* @add_bit, { 1, 0 } uselistorder i32 %arg4, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 2, 0 } uselistorder i64 %arg1, { 2, 0, 1, 3 } }
0
CompRealVul
gen_isync_17170
gen_isync
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %.pre = ptrtoint i32* %arg1 to i64 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %.pre) br label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %.pre) ret i64 %6 uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
ff_init_cabac_decoder_16862
ff_init_cabac_decoder
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 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* store i64 %0, i64* %3, align 8 store i64 %0, i64* %arg1, align 8 %sext = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = add i64 %4, %0 %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = load i64, i64* %3, align 8 %9 = add i64 %8, 1 store i64 %9, i64* %3, align 8 %10 = inttoptr i64 %8 to i8* %11 = load i8, i8* %10, align 1 %12 = zext i8 %11 to i32 %13 = mul i32 %12, 1024 %14 = add i64 %1, 24 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = load i64, i64* %3, align 8 %17 = add i64 %16, 1 store i64 %17, i64* %3, align 8 %18 = inttoptr i64 %16 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i32 %21 = mul i32 %20, 4 %22 = or i32 %21, 2 %23 = load i32, i32* %15, align 4 %24 = add i32 %22, %23 store i32 %24, i32* %15, align 4 %25 = add i64 %1, 28 %26 = inttoptr i64 %25 to i32* store i32 510, i32* %26, align 4 ret i64 %1 uselistorder i64 %16, { 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } }
1
CompRealVul
wgt_enum_files_9590
wgt_enum_files
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = bitcast i64* %arg1 to i8* %1 = call i32 @strcmp(i8* %0, i8* %arg3) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = call i8* @strstr(i8* %arg3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq i8* %4, null br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = ptrtoint i8* %arg3 to i64 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %8) br label LBL_3 LBL_3: ret i64 0 uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
CompRealVul
av_opt_freep_ranges_16401
av_opt_freep_ranges
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = add i64 %arg1, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = mul i32 %6, %3 %8 = icmp eq i32 %7, 0 %9 = add i64 %arg1, 8 br i1 %8, label LBL_4, label LBL_2 LBL_2: %10 = inttoptr i64 %9 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %11 = load i64, i64* %10, align 8 %12 = mul i64 %.reload, 8 %13 = add i64 %11, %12 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) %17 = load i64, i64* %10, align 8 %18 = add i64 %17, %12 %19 = call i64 @FUNC(i64 %18) %20 = add i32 %storemerge1.reload, 1 %21 = load i32, i32* %5, align 4 %22 = mul i32 %21, %3 %23 = zext i32 %22 to i64 %24 = sext i32 %20 to i64 %25 = icmp slt i64 %24, %23 store i64 %24, i64* %.reg2mem store i32 %20, i32* %storemerge1.reg2mem br i1 %25, label LBL_3, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %9) %27 = call i64 @FUNC(i64 %arg1) store i64 %27, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 1, 0 } uselistorder i32* %5, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @av_freep, { 1, 0, 3, 2 } uselistorder i64 %arg1, { 0, 2, 1, 3 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
smack_inode_rmdir_4732
smack_inode_rmdir
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 1) %2 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %3, i64 1, i64* nonnull %sv_1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 2) %10 = call i64 @FUNC(i64* nonnull %sv_1, i64 %8) %11 = call i64 @FUNC(i64 %8) %12 = call i64 @FUNC(i64 %11, i64 1, i64* nonnull %sv_1) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = and i64 %sv_0.0.reload, 4294967295 ret i64 %13 uselistorder i64 %8, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64, i64, i64*)* @smk_curacc, { 1, 0 } uselistorder i64 (i64)* @smk_of_inode, { 1, 0 } uselistorder i64 (i64*, i8*, i64)* @smk_ad_init, { 1, 0 } }
0
CompRealVul
xenstore_record_dm_state_15715
xenstore_record_dm_state
define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_1 to i64*), i32 1, i32 36, %_IO_FILE* %2) call void @exit(i32 1) unreachable LBL_2: %4 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %5 = bitcast i64* %sv_0 to i8* %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 50, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i32 %4) %7 = call i32 @strlen(i8* %arg2) %8 = sext i32 %7 to i64 %9 = ptrtoint i8* %arg2 to i64 %10 = call i64 @FUNC(i64 %arg1, i64 0, i64* nonnull %sv_0, i64 %9, i64 %8) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 @fwrite(i64* bitcast ([26 x i8]* @gv_3 to i64*), i32 1, i32 25, %_IO_FILE* %14) call void @exit(i32 1) unreachable LBL_4: ret i64 %10 uselistorder void (i32)* @exit, { 1, 0 } uselistorder i8* %arg2, { 1, 0 } }
1
CompRealVul
del_accepted_6950
del_accepted
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp ugt i32 %4, %1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_5 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 29 %7 = add i64 %6, %0 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_5 LBL_2: %12 = add i64 %7, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %0, 16 %16 = zext i32 %14 to i64 %17 = call i64 @FUNC(i64 %15, i64 %16, i32 %1) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_5 LBL_3: %21 = add i64 %6, %15 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %0, 12 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %25, -1 store i32 %26, i32* %24, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 3, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder label LBL_5, { 1, 0, 2, 3, 4 } }
0
CompRealVul
do_rt_sigreturn_16503
do_rt_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = add i64 %1, 120 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 0, i64 %2, i64 %5, i64 1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 %2) %10 = call i64 @FUNC(i64 2, i64* nonnull %sv_1, i64 0) %11 = add i64 %2, 128 %12 = call i64 @FUNC(i64 %1, i64 %11, i64* nonnull %sv_0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %1) %17 = add i64 %5, 128 %18 = call i64 @FUNC(i64 %17, i64 0, i64 %16) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, -14 br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %2, i64 %5, i64 0) %22 = load i64, i64* %sv_0, align 8 store i64 %22, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %23 = call i64 @FUNC(i64 %2, i64 %5, i64 0) %24 = call i64 @FUNC(i64 11) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 2, 0, 1, 3 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 1, { 1, 0 } }
1
CompRealVul
do_info_vnc_875
do_info_vnc
define i64 @FUNC() 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 = load i64, i64* %0 %6 = load i64, i64* @gv_0, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = inttoptr i64 %6 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) store i64 %12, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %13 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) %14 = load i64, i64* @gv_0, align 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) %19 = load i64, i64* @gv_0, align 8 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, -1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) store i64 %25, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %26 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) store i64 %26, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 4, 3, 2, 1, 0 } uselistorder i64 %4, { 4, 3, 2, 1, 0 } uselistorder i64 %3, { 4, 3, 2, 1, 0 } uselistorder i64 %2, { 4, 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @term_printf, { 4, 3, 2, 1, 0 } }
0
CompRealVul
qemu_signal_init_15754
qemu_signal_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t* %1 = call i32 @sigemptyset(%_TYPEDEF_sigset_t* nonnull %0) %2 = call i32 @sigaddset(%_TYPEDEF_sigset_t* nonnull %0, i32 7) %3 = call i64 @FUNC() %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 i32 @sigaddset(%_TYPEDEF_sigset_t* nonnull %0, i32 29) %7 = call i32 @sigaddset(%_TYPEDEF_sigset_t* nonnull %0, i32 14) br label LBL_2 LBL_2: %8 = bitcast i64* %sv_0 to %_TYPEDEF___sigset_t* %9 = call i32 @pthread_sigmask(i32 0, %_TYPEDEF___sigset_t* nonnull %8, %_TYPEDEF___sigset_t* null) %10 = call i64 @FUNC(i64* nonnull %sv_0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, -1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %14) %16 = call i32* @__errno_location() %17 = load i32, i32* %16, align 4 %18 = sub i32 0, %17 %19 = zext i32 %18 to i64 store i64 %19, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %20 = and i64 %10, 4294967295 %21 = call i64 @FUNC(i64 %20, i64 2048) %sext = mul i64 %10, 4294967296 %22 = ashr exact i64 %sext, 32 %23 = call i64 @FUNC(i64 %20, i64 0, i64 4198773, i64 0, i64 %22) 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 %20, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 0, { 0, 3, 2, 1, 4 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i32 (%_TYPEDEF_sigset_t*, i32)* @sigaddset, { 2, 1, 0 } }
1
CompRealVul
process_rename_9987
process_rename
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %1 = load i32, i32* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8*, align 8 %sv_5 = alloca i8*, align 8 %2 = load i64, i64* @gv_0, align 8 %3 = bitcast i8** %sv_5 to i64* %4 = call i64 @FUNC(i64 %2, i64* nonnull %3, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %sv_1.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load i64, i64* @gv_0, align 8 %9 = bitcast i8** %sv_4 to i64* %10 = call i64 @FUNC(i64 %8, i64* nonnull %9, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %sv_1.0.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %13 = and i64 %sv_1.0.reload, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 %14) unreachable LBL_3: %16 = and i64 %arg1, 4294967295 %17 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %16) %18 = load i8*, i8** %sv_4, align 8 %19 = ptrtoint i8* %18 to i64 %20 = load i8*, i8** %sv_5, align 8 %21 = ptrtoint i8* %20 to i64 %22 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 %21, i64 %19) %23 = load i8*, i8** %sv_5, align 8 %24 = bitcast i64* %sv_3 to %stat* %25 = call i32 @lstat(i8* %23, %stat* nonnull %24) %26 = icmp eq i32 %25, -1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = call i32* @__errno_location() %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30) store i64 %31, i64* %sv_0.0.reg2mem br label LBL_17 LBL_5: %32 = and i32 %1, 61440 %33 = icmp eq i32 %32, 32768 %34 = icmp eq i1 %33, false %35 = load i8*, i8** %sv_4, align 8 br i1 %34, label LBL_14, label LBL_6 LBL_6: %36 = load i8*, i8** %sv_5, align 8 %37 = call i32 @link(i8* %36, i8* %35) %38 = icmp eq i32 %37, -1 %39 = icmp eq i1 %38, false br i1 %39, label LBL_12, label LBL_7 LBL_7: %40 = call i32* @__errno_location() %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 95 %43 = icmp eq i1 %42, false br i1 %43, label LBL_11, label LBL_8 LBL_8: %44 = load i8*, i8** %sv_4, align 8 %45 = bitcast i64* %sv_2 to %stat* %46 = call i32 @stat(i8* %44, %stat* nonnull %45) %47 = icmp eq i32 %46, -1 %48 = icmp eq i1 %47, false store i64 1, i64* %sv_0.0.reg2mem br i1 %48, label LBL_17, label LBL_9 LBL_9: %49 = load i8*, i8** %sv_4, align 8 %50 = load i8*, i8** %sv_5, align 8 %51 = call i32 @rename(i8* %50, i8* %49) %52 = icmp eq i32 %51, -1 %53 = icmp eq i1 %52, false store i64 0, i64* %sv_0.0.reg2mem br i1 %53, label LBL_17, label LBL_10 LBL_10: %54 = call i32* @__errno_location() %55 = load i32, i32* %54, align 4 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %56) store i64 %57, i64* %sv_0.0.reg2mem br label LBL_17 LBL_11: %58 = call i32* @__errno_location() %59 = load i32, i32* %58, align 4 %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 %60) store i64 %61, i64* %sv_0.0.reg2mem br label LBL_17 LBL_12: %62 = load i8*, i8** %sv_5, align 8 %63 = call i32 @unlink(i8* %62) %64 = icmp eq i32 %63, -1 %65 = icmp eq i1 %64, false store i64 0, i64* %sv_0.0.reg2mem br i1 %65, label LBL_17, label LBL_13 LBL_13: %66 = call i32* @__errno_location() %67 = load i32, i32* %66, align 4 %68 = zext i32 %67 to i64 %69 = call i64 @FUNC(i64 %68) %70 = load i8*, i8** %sv_4, align 8 %71 = call i32 @unlink(i8* %70) store i64 %69, i64* %sv_0.0.reg2mem br label LBL_17 LBL_14: %72 = call i32 @stat(i8* %35, %stat* nonnull %24) %73 = icmp eq i32 %72, -1 %74 = icmp eq i1 %73, false store i64 1, i64* %sv_0.0.reg2mem br i1 %74, label LBL_17, label LBL_15 LBL_15: %75 = load i8*, i8** %sv_4, align 8 %76 = load i8*, i8** %sv_5, align 8 %77 = call i32 @rename(i8* %76, i8* %75) %78 = icmp eq i32 %77, -1 %79 = icmp eq i1 %78, false store i64 0, i64* %sv_0.0.reg2mem br i1 %79, label LBL_17, label LBL_16 LBL_16: %80 = call i32* @__errno_location() %81 = load i32, i32* %80, align 4 %82 = zext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82) store i64 %83, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %84 = and i64 %sv_0.0.reload, 4294967295 %85 = call i64 @FUNC(i64 %16, i64 %84) %86 = load i8*, i8** %sv_5, align 8 %87 = bitcast i8* %86 to i64* call void @free(i64* %87) %88 = load i8*, i8** %sv_4, align 8 %89 = bitcast i8* %88 to i64* call void @free(i64* %89) ret i64 ptrtoint (i32* @0 to i64) uselistorder i8* %35, { 1, 0 } uselistorder i8** %sv_5, { 6, 5, 4, 3, 2, 1, 0, 7 } uselistorder i8** %sv_4, { 6, 5, 3, 2, 1, 4, 0, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 9, 1, 10, 8, 2, 7, 5, 3, 6, 4 } uselistorder i32 (i8*)* @unlink, { 1, 0 } uselistorder i32 (i8*, i8*)* @rename, { 1, 0 } uselistorder i32 (i8*, %stat*)* @stat, { 1, 0 } uselistorder i64 (i64)* @errno_to_portable, { 4, 3, 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 4, 5, 0, 1, 2, 3 } uselistorder i64 4294967295, { 1, 0, 2, 3, 4 } uselistorder i64 (i64, i64*, i64)* @sshbuf_get_cstring, { 1, 0 } uselistorder i32 1, { 4, 5, 7, 6, 2, 1, 0, 3 } uselistorder label LBL_17, { 3, 0, 4, 5, 1, 6, 7, 2, 8, 9 } }
0
CompRealVul
read_ts_15280
read_ts
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i32* nonnull %sv_0, i32* nonnull %sv_1, i32* nonnull %sv_2, i32* nonnull %sv_3) %2 = icmp eq i32 %1, 4 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load i32, i32* %sv_0, align 4 %5 = mul i32 %4, 3600 %6 = load i32, i32* %sv_1, align 4 %7 = mul i32 %6, 60 %8 = add i32 %7, %5 %9 = load i32, i32* %sv_2, align 4 %10 = add i32 %8, %9 %11 = mul i32 %10, 1000 %12 = load i32, i32* %sv_3, align 4 %13 = add i32 %11, %12 %14 = sext i32 %13 to i64 store i64 %14, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %15 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32* nonnull %sv_1, i32* nonnull %sv_2, i32* nonnull %sv_3) %16 = icmp eq i32 %15, 3 %17 = icmp eq i1 %16, false store i64 -1, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = load i32, i32* %sv_1, align 4 %19 = mul i32 %18, 60 %20 = load i32, i32* %sv_2, align 4 %21 = add i32 %20, %19 %22 = mul i32 %21, 1000 %23 = load i32, i32* %sv_3, align 4 %24 = add i32 %22, %23 %25 = sext i32 %24 to i64 store i64 %25, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_3, { 1, 3, 0, 2 } uselistorder i32* %sv_2, { 1, 3, 0, 2 } uselistorder i32* %sv_1, { 1, 3, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 1, 0 } uselistorder i32 1, { 1, 2, 3, 4, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
1
CompRealVul
bochs_fbdev_fini_18268
bochs_fbdev_fini
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 %.pre = ptrtoint i8* %arg1 to i64 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %.pre) br label LBL_2 LBL_2: %5 = add i64 %.pre, 1 %6 = call i64 @FUNC(i64 %5) store i8 0, i8* %arg1, align 1 ret i64 %.pre uselistorder i8* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
simple_prompt_4497
simple_prompt
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre9.reg2mem = alloca %_IO_FILE* %.reg2mem = alloca %_IO_FILE* %.pre912.reg2mem = alloca %_IO_FILE* %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca %_IO_FILE*, align 8 %sv_4 = alloca %_IO_FILE*, align 8 %sv_5 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %1 = add i32 %0, 1 %2 = call i64* @malloc(i32 %1) %3 = icmp eq i64* %2, null %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_26 LBL_1: store i8 1, i8* inttoptr (i64 4210889 to i8*), align 1 %5 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) store %_IO_FILE* %5, %_IO_FILE** %sv_4, align 8 %6 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) store %_IO_FILE* %6, %_IO_FILE** %sv_3, align 8 %7 = icmp ne %_IO_FILE* %5, null %8 = icmp eq %_IO_FILE* %6, null %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %7, %9 store %_IO_FILE* %5, %_IO_FILE** %.pre912.reg2mem store %_IO_FILE* %6, %_IO_FILE** %.reg2mem br i1 %or.cond, label LBL_7, label LBL_2 LBL_2: %10 = icmp eq %_IO_FILE* %5, null br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i32 @fclose(%_IO_FILE* nonnull %5) br label LBL_4 LBL_4: br i1 %8, label LBL_6, label LBL_5 LBL_5: %12 = call i32 @fclose(%_IO_FILE* nonnull %6) br label LBL_6 LBL_6: %13 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %14 = ptrtoint %_IO_FILE* %13 to i64 %15 = bitcast %_IO_FILE** %sv_4 to i64* store i64 %14, i64* %15, align 8 %16 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %17 = ptrtoint %_IO_FILE* %16 to i64 %18 = bitcast %_IO_FILE** %sv_3 to i64* store i64 %17, i64* %18, align 8 store %_IO_FILE* %13, %_IO_FILE** %.pre912.reg2mem store %_IO_FILE* %16, %_IO_FILE** %.reg2mem br label LBL_7 LBL_7: %.reload = load %_IO_FILE*, %_IO_FILE** %.reg2mem %.pre912.reload = load %_IO_FILE*, %_IO_FILE** %.pre912.reg2mem %19 = trunc i64 %arg3 to i8 %20 = icmp eq i8 %19, 1 br i1 %20, label LBL_9, label LBL_8 LBL_8: %21 = call i32 @fileno(%_IO_FILE* %.pre912.reload) %22 = bitcast i64* %sv_2 to %termios* %23 = call i32 @tcgetattr(i32 %21, %termios* nonnull %22) %24 = load i64, i64* %sv_2, align 8 store i64 %24, i64* %sv_1, align 8 %25 = call i32 @fileno(%_IO_FILE* %.pre912.reload) %26 = call i32 @tcsetattr(i32 %25, i32 2, %termios* nonnull %22) br label LBL_9 LBL_9: %27 = icmp eq i8* %arg1, null br i1 %27, label LBL_11, label LBL_10 LBL_10: %28 = call i8* @gettext(i8* nonnull %arg1) %29 = call i32 @fputs(i8* %28, %_IO_FILE* %.reload) %30 = call i32 @fflush(%_IO_FILE* %.reload) br label LBL_11 LBL_11: %31 = bitcast i64* %2 to i8* %32 = call i8* @fgets(i8* %31, i32 %1, %_IO_FILE* %.pre912.reload) %33 = icmp eq i8* %32, null %34 = icmp eq i1 %33, false br i1 %34, label LBL_13, label LBL_12 LBL_12: store i8 0, i8* %31, align 1 br label LBL_13 LBL_13: %35 = call i32 @strlen(i8* %31) %36 = icmp slt i32 %35, 1 store %_IO_FILE* %.pre912.reload, %_IO_FILE** %.pre9.reg2mem br i1 %36, label LBL_21, label LBL_14 LBL_14: %37 = sext i32 %35 to i64 %38 = ptrtoint i64* %2 to i64 %39 = add i64 %38, -1 %40 = add i64 %39, %37 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = icmp eq i8 %42, 10 br i1 %43, label LBL_20, label LBL_15 LBL_15: %44 = ptrtoint i64* %sv_5 to i64 %45 = bitcast i64* %sv_0 to i8* %46 = add i64 %44, -288 br label LBL_16 LBL_16: %47 = call i8* @fgets(i8* nonnull %45, i32 128, %_IO_FILE* %.pre912.reload) %48 = icmp eq i8* %47, null br i1 %48, label LBL_19, label LBL_17 LBL_17: %49 = call i32 @strlen(i8* nonnull %45) %50 = icmp slt i32 %49, 1 br i1 %50, label LBL_19, label LBL_18 LBL_18: %51 = add i32 %49, -1 %52 = sext i32 %51 to i64 %53 = add i64 %46, %52 %54 = inttoptr i64 %53 to i8* %55 = load i8, i8* %54, align 1 %56 = icmp eq i8 %55, 10 %57 = icmp eq i1 %56, false br i1 %57, label LBL_16, label LBL_19 LBL_19: %.pre = load i8, i8* %41, align 1 %phitmp = icmp eq i8 %.pre, 10 %phitmp10 = icmp eq i1 %phitmp, false store %_IO_FILE* %.pre912.reload, %_IO_FILE** %.pre9.reg2mem br i1 %phitmp10, label LBL_21, label LBL_20 LBL_20: store i8 0, i8* %41, align 1 %.pre9.pre = load %_IO_FILE*, %_IO_FILE** %sv_4, align 8 store %_IO_FILE* %.pre9.pre, %_IO_FILE** %.pre9.reg2mem br label LBL_21 LBL_21: %.pre9.reload = load %_IO_FILE*, %_IO_FILE** %.pre9.reg2mem br i1 %20, label LBL_23, label LBL_22 LBL_22: %58 = call i32 @fileno(%_IO_FILE* %.pre9.reload) %59 = bitcast i64* %sv_1 to %termios* %60 = call i32 @tcsetattr(i32 %58, i32 2, %termios* nonnull %59) %61 = load %_IO_FILE*, %_IO_FILE** %sv_3, align 8 %62 = call i32 @fputc(i32 10, %_IO_FILE* %61) %63 = call i32 @fflush(%_IO_FILE* %61) br label LBL_23 LBL_23: %64 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %65 = icmp eq %_IO_FILE* %.pre9.reload, %64 br i1 %65, label LBL_25, label LBL_24 LBL_24: %66 = call i32 @fclose(%_IO_FILE* %.pre9.reload) %67 = load %_IO_FILE*, %_IO_FILE** %sv_3, align 8 %68 = call i32 @fclose(%_IO_FILE* %67) br label LBL_25 LBL_25: store i8 0, i8* bitcast (i64* @gv_5 to i8*), align 8 %69 = ptrtoint i64* %2 to i64 store i64 %69, i64* %storemerge.reg2mem br label LBL_26 LBL_26: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %41, { 1, 0, 2 } uselistorder i8* %31, { 1, 0, 2 } uselistorder %_IO_FILE* %.pre912.reload, { 0, 5, 1, 4, 2, 3 } uselistorder %_IO_FILE* %6, { 1, 0, 2, 3 } uselistorder %_IO_FILE* %5, { 2, 1, 0, 3, 4 } uselistorder i64* %2, { 0, 1, 3, 2 } uselistorder %_IO_FILE** %sv_3, { 3, 2, 0, 1 } uselistorder i64* %sv_2, { 1, 0 } uselistorder %_IO_FILE** %.pre9.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fflush, { 1, 0 } uselistorder i32 (i32, i32, %termios*)* @tcsetattr, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fileno, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_3, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fclose, { 3, 0, 2, 1 } uselistorder %_IO_FILE* null, { 1, 0, 2, 3, 4 } uselistorder %_IO_FILE* (i8*, i8*)* @fopen, { 1, 0 } uselistorder i1 false, { 0, 2, 3, 1, 4 } uselistorder i32 1, { 4, 5, 12, 11, 7, 6, 10, 9, 8, 3, 2, 1, 0 } uselistorder i8* %arg1, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_21, { 1, 2, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 2, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
CompRealVul
qmp_drive_backup_462
qmp_drive_backup
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.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 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) store i64 %4, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
CompRealVul
__io_worker_unuse_6685
__io_worker_unuse
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg2, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg2, align 8 br label LBL_2 LBL_2: %3 = ptrtoint i64* %arg1 to i64 %4 = load i64, i64* @gv_0, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %6, %9 store i32 0, i32* %sv_0.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %3) %12 = call i64 @FUNC(i64 %3) %13 = load i64, i64* @gv_0, align 8 %14 = call i64 @FUNC(i64 %13) %15 = load i64, i64* @gv_0, align 8 %16 = load i64, i64* %8, align 8 %17 = inttoptr i64 %15 to i64* store i64 %16, i64* %17, align 8 %18 = load i64, i64* @gv_0, align 8 %19 = call i64 @FUNC(i64 %18) store i32 1, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %20 = add i64 %0, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %23, label LBL_8, label LBL_5 LBL_5: %24 = icmp eq i32 %sv_0.0.reload, 1 br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %3) %26 = call i64 @FUNC(i64 %3) br label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 0) %28 = call i64 @FUNC(i64 0) %29 = load i64, i64* %21, align 8 %30 = call i64 @FUNC(i64 %29) %31 = load i64, i64* %21, align 8 %32 = call i64 @FUNC(i64 %31) store i64 0, i64* %21, align 8 store i32 1, i32* %sv_0.2.reg2mem br label LBL_8 LBL_8: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %33 = zext i32 %sv_0.2.reload to i64 ret i64 %33 uselistorder i64* %21, { 0, 2, 1, 3 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %3, { 3, 2, 1, 0 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64 (i64)* @spin_unlock_irq, { 1, 0 } uselistorder i64 (i64)* @__acquire, { 1, 0 } }
0
CompRealVul
sdhci_set_inserted_16238
sdhci_set_inserted
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 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %arg2 to i8 %8 = icmp eq i8 %7, 0 %. = select i1 %8, i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64 ptrtoint ([7 x i8]* @gv_1 to i64) %9 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %., i64 %4, i64 %5, i64 %2, i64 %1) %10 = urem i64 %3, 2 %11 = icmp eq i64 %10, 0 %or.cond = or i1 %8, %11 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 0) %13 = add i64 %12, 1000 %14 = add i64 %6, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %13) store i64 %17, i64* %storemerge.reg2mem br label LBL_8 LBL_2: %18 = bitcast i64* %rdi to i32* %19 = add i64 %6, 8 %20 = inttoptr i64 %19 to i32* br i1 %8, label LBL_5, label LBL_3 LBL_3: store i32 33488896, i32* %20, align 4 %21 = add i64 %6, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = and i32 %23, 4 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_7, label LBL_4 LBL_4: %26 = load i32, i32* %18, align 8 %27 = or i32 %26, 2 %28 = bitcast i64* %arg1 to i32* store i32 %27, i32* %28, align 4 br label LBL_7 LBL_5: store i32 33161216, i32* %20, align 4 %29 = add i64 %6, 12 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = and i32 %31, -17 store i32 %32, i32* %30, align 4 %33 = add i64 %6, 16 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = and i32 %35, -33 store i32 %36, i32* %34, align 4 %37 = add i64 %6, 4 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = and i32 %39, 8 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_7, label LBL_6 LBL_6: %42 = load i32, i32* %18, align 8 %43 = or i32 %42, 1 %44 = bitcast i64* %arg1 to i32* store i32 %43, i32* %44, align 4 br label LBL_7 LBL_7: %45 = call i64 @FUNC(i64 %6) store i64 %45, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %20, { 1, 0 } uselistorder i32* %18, { 1, 0 } uselistorder i64 %6, { 2, 3, 4, 5, 1, 6, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i32 8, { 1, 0 } }
1
CompRealVul
vp9_alloc_frame_14569
vp9_alloc_frame
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %4, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %9 = trunc i64 %1 to i32 %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = mul i32 %9, 64 %14 = mul i32 %12, %13 %15 = sext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = icmp eq i64 %16, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %3, i64 %2) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %22 = inttoptr i64 %16 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = load i64, i64* %18, align 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = add i64 %28, %15 %30 = add i64 %2, 24 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 %32 = add i64 %3, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_9, label LBL_5 LBL_5: %36 = add i64 %3, 12 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_9, label LBL_6 LBL_6: %41 = add i64 %3, 16 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i64 0, i64* %rax.0.reg2mem br i1 %45, label LBL_9, label LBL_7 LBL_7: %46 = add i64 %3, 20 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_9, label LBL_8 LBL_8: %51 = add i64 %3, 40 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = load i64, i64* %25, align 8 %55 = inttoptr i64 %54 to i64* %56 = inttoptr i64 %53 to i64* %57 = call i64* @memcpy(i64* %55, i64* %56, i32 %14) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %16, { 1, 0, 2 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %3, { 5, 4, 3, 2, 1, 0, 6, 7 } uselistorder i64 %2, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1, 7, 6 } uselistorder label LBL_9, { 4, 3, 2, 1, 0, 5, 6 } }
1
CompRealVul
mutt_mktime_18221
mutt_mktime
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 20 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp slt i32 %3, 2101 store i64 -1, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = srem i32 %7, 12 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 4 %11 = add i64 %10, ptrtoint (i32** @gv_0 to i64) %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %0, 12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, %13 %18 = urem i32 %3, 4 %19 = icmp ne i32 %18, 0 %20 = icmp slt i32 %7, 2 %not.or.cond = or i1 %19, %20 %21 = sext i1 %not.or.cond to i32 %sv_0.0 = add i32 %17, %21 %22 = add i64 %0, 28 %23 = inttoptr i64 %22 to i32* store i32 %sv_0.0, i32* %23, align 4 %24 = load i32, i32* %2, align 4 %25 = mul i32 %24, 365 %26 = add i32 %24, -69 %27 = add i32 %24, -66 %28 = icmp slt i32 %26, 0 %29 = select i1 %28, i32 %27, i32 %26 %30 = ashr i32 %29, 2 %31 = add i32 %sv_0.0, -25550 %32 = add i32 %31, %25 %33 = add i32 %32, %30 %34 = mul i32 %33, 24 %35 = add i64 %0, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i32 %34, %37 %39 = mul i32 %38, 60 %40 = add i64 %0, 4 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i32 %39, %42 %44 = mul i32 %43, 60 %45 = bitcast i64* %rdi to i32* %46 = load i32, i32* %45, align 8 %47 = add i32 %44, %46 %48 = trunc i64 %arg2 to i32 %49 = icmp eq i32 %48, 0 store i32 %47, i32* %sv_0.1.reg2mem br i1 %49, label LBL_3, label LBL_2 LBL_2: %50 = sext i32 %47 to i64 %51 = call i64 @FUNC(i64 %50, i64 %0) %52 = trunc i64 %51 to i32 %53 = sub i32 %47, %52 store i32 %53, i32* %sv_0.1.reg2mem br label LBL_3 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %54 = sext i32 %sv_0.1.reload to i64 store i64 %54, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %47, { 2, 1, 0 } uselistorder i32 %24, { 1, 0, 2 } uselistorder i32 %7, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
piix3_ide_xen_class_init_14158
piix3_ide_xen_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i16* store i16 -32634, i16* %2, align 2 %3 = add i64 %0, 10 %4 = inttoptr i64 %3 to i16* store i16 28945, i16* %4, align 2 %5 = add i64 %0, 12 %6 = inttoptr i64 %5 to i16* store i16 257, i16* %6, align 2 %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = or i32 %9, 1 store i32 %10, i32* %8, align 4 %11 = bitcast i64* %arg1 to i32* store i32 1, i32* %11, align 4 %12 = inttoptr i64 %1 to i64* store i64 4198669, i64* %12, align 8 ret i64 %0 }
1
CompRealVul
kvm_set_ioapic_10769
kvm_set_ioapic
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = trunc i64 %1 to i32 %7 = inttoptr i64 %3 to i32* %8 = call i64 @FUNC(i64 %3) %9 = bitcast i64* %rsi to i32* store i32 %6, i32* %7, align 4 %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = call i64 @FUNC(i64 %2) %15 = load i32, i32* %9, align 8 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %3, i64 %16) %18 = call i64 @FUNC(i64 %3) 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 } }
0
CompRealVul
megasas_map_dcmd_17297
megasas_map_dcmd
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = urem i64 %0, 65536 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i16 %4 = add i64 %0, 28 %5 = inttoptr i64 %4 to i16* store i16 %3, i16* %5, align 2 %6 = add i64 %0, 2 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %18 = icmp ult i8 %8, 2 br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i8 %8 to i64 %23 = zext i32 %21 to i64 %24 = call i64 @FUNC(i64 %23, i64 %22) %25 = add i64 %0, 16 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %27 = add i64 %0, 4 %28 = call i64 @FUNC(i64 %0, i64 %27) %29 = add i64 %0, 8 %30 = call i64 @FUNC(i64 %0, i64 %29) %31 = add i64 %0, 24 %32 = call i64 @FUNC(i64 %31, i64 0, i64 1) %33 = call i64 @FUNC(i64 %31, i64 %28, i64 %30) %34 = add i64 %0, 16 %35 = inttoptr i64 %34 to i64* store i64 %30, i64* %35, align 8 store i64 %30, 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 i8 %8, { 1, 0, 2 } uselistorder i64 %0, { 7, 10, 9, 1, 8, 2, 5, 6, 4, 3, 12, 11, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } }
1
CompRealVul
dv_write_header_14819
dv_write_header
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* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %arg1, align 8 %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([181 x i8], [181 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
megasas_scsi_uninit_3257
megasas_scsi_uninit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 %0, i64 %0) br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %0) ret i64 %5 uselistorder i64 %0, { 3, 1, 2, 0, 4 } }
0
CompRealVul
amdvi_class_init_14936
amdvi_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i8* store i8 0, i8* %4, align 1 store i64 4198669, i64* %arg1, align 8 ret i64 %0 }
1
CompRealVul
new_connection_14742
new_connection
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %0 = trunc i64 %arg1 to i32 store i32 16, i32* %sv_1, align 4 %1 = bitcast i64* %sv_0 to %sockaddr* %2 = call i32 @accept(i32 %0, %sockaddr* nonnull %1, i32* nonnull %sv_1) %3 = sext i32 %2 to i64 %4 = icmp slt i32 %2, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_1 LBL_1: %5 = call i32 (i32, i32, ...) @fcntl(i32 %2, i32 4) %6 = load i32, i32* @gv_0, align 4 %7 = load i32, i32* inttoptr (i64 4210804 to i32*), align 4 %8 = icmp ult i32 %6, %7 br i1 %8, label LBL_2, label LBL_6 LBL_2: %9 = call i64 @FUNC(i64 48) %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = load i64, i64* @gv_1, align 8 %12 = inttoptr i64 %9 to i64* store i64 %11, i64* %12, align 8 store i64 %9, i64* @gv_1, align 8 %13 = add i64 %9, 8 %14 = inttoptr i64 %13 to i32* store i32 %2, i32* %14, align 4 %15 = add i64 %9, 40 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 %17 = load i64, i64* %sv_0, align 8 %18 = add i64 %9, 12 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = add i64 %9, 20 %21 = inttoptr i64 %20 to i64* %22 = add i64 %9, 28 %23 = inttoptr i64 %22 to i32* store i32 4096, i32* %23, align 4 %24 = call i64 @FUNC(i64 4096) %25 = add i64 %9, 32 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = icmp eq i64 %24, 0 br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = and i64 %arg2, 4294967295 store i32 ptrtoint (i32* @gv_2 to i32), i32* @gv_0, align 4 %29 = call i64 @FUNC(i64 %9, i64 %28) store i64 %29, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %30 = call i64 @FUNC(i64 0) %31 = call i64 @FUNC(i64 %9) br label LBL_6 LBL_6: %32 = call i32 @close(i32 %2) %33 = sext i32 %32 to i64 store i64 %33, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 9, 10 } uselistorder i32 %2, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1
CompRealVul
filter_slice_16175
filter_slice
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge1012.reg2mem = alloca i32 %.in13.reg2mem = alloca i64 %.reg2mem16 = alloca i64 %.reg2mem14 = alloca i64 %.reg2mem = alloca i64 %storemerge9.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = ptrtoint i64* %sv_0 to i64 %sext = mul i64 %arg3, 4294967296 %3 = and i64 %arg4, 4294967295 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i16* %6 = load i16, i16* %5, align 2 %7 = add i64 %0, 18 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i64* %14 = add i64 %1, 16 %15 = inttoptr i64 %14 to i32* %16 = ashr exact i64 %sext, 32 %sext6 = add i64 %sext, 4294967296 %17 = ashr exact i64 %sext6, 32 %18 = add i64 %1, 24 %19 = inttoptr i64 %18 to i32* %20 = add i64 %1, 20 %21 = inttoptr i64 %20 to i32* %22 = zext i16 %9 to i64 %23 = zext i16 %6 to i64 %24 = add i64 %2, -8 %25 = inttoptr i64 %24 to i64* %26 = add i64 %2, -16 %27 = inttoptr i64 %26 to i64* %28 = add i64 %2, -24 %29 = inttoptr i64 %28 to i64* %30 = add i64 %2, -32 %31 = inttoptr i64 %30 to i64* %32 = add i64 %2, -40 %33 = inttoptr i64 %32 to i64* %34 = add i64 %2, -48 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %11, align 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 store i64 %36, i64* %.reg2mem store i64 0, i64* %.reg2mem14 store i64 0, i64* %.reg2mem16 store i64 %0, i64* %.in13.reg2mem store i32 0, i32* %storemerge1012.reg2mem br i1 %39, label LBL_7, label LBL_6 LBL_1: %storemerge1012.reload = load i32, i32* %storemerge1012.reg2mem %.in13.reload = load i64, i64* %.in13.reg2mem %.reload17 = load i64, i64* %.reg2mem16 %40 = trunc i64 %.in13.reload to i32 %41 = load i64, i64* %13, align 8 %42 = mul i64 %.reload17, 4 %43 = add i64 %41, %42 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = add i64 %.in13.reload, 16 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = add i64 %48, %42 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %storemerge.off = add i32 %storemerge1012.reload, -1 %52 = icmp ugt i32 %storemerge.off, 1 store i32 %40, i32* %storemerge9.in.reg2mem br i1 %52, label LBL_3, label LBL_2 LBL_2: %53 = load i32, i32* %15, align 4 %54 = urem i32 %53, 32 %55 = ashr i32 %40, %54 store i32 %55, i32* %storemerge9.in.reg2mem br label LBL_3 LBL_3: %storemerge9.in.reload = load i32, i32* %storemerge9.in.reg2mem %56 = sext i32 %storemerge9.in.reload to i64 %57 = mul nsw i64 %16, %56 %58 = trunc i64 %57 to i32 %59 = ashr i32 %58, 31 %60 = and i64 %57, 4294967295 %61 = zext i32 %59 to i64 %62 = mul i64 %61, 4294967296 %63 = or i64 %62, %60 %64 = sdiv i64 %63, %3 %65 = mul nsw i64 %17, %56 %66 = trunc i64 %65 to i32 %67 = ashr i32 %66, 31 %68 = and i64 %65, 4294967295 %69 = zext i32 %67 to i64 %70 = mul i64 %69, 4294967296 %71 = or i64 %70, %68 %72 = sdiv i64 %71, %3 %73 = load i32, i32* %19, align 4 %74 = zext i32 %73 to i64 %75 = load i32, i32* %21, align 4 %76 = icmp slt i32 %75, 0 %77 = zext i1 %76 to i32 %78 = add i32 %75, %77 %79 = ashr i32 %78, 1 %80 = zext i32 %79 to i64 %81 = sub i64 %72, %64 %82 = and i64 %81, 4294967295 store i64 %74, i64* %25, align 8 store i64 %80, i64* %27, align 8 store i64 %22, i64* %29, align 8 store i64 %23, i64* %31, align 8 store i64 %82, i64* %33, align 8 %83 = zext i32 %45 to i64 store i64 %83, i64* %35, align 8 %84 = icmp ugt i32 %storemerge1012.reload, 2 br i1 %84, label LBL_7, label LBL_4 LBL_4: %85 = zext i32 %51 to i64 %86 = add nuw i32 %storemerge1012.reload, 1 %87 = add nuw nsw i64 %85, 8 %88 = inttoptr i64 %87 to i64* %89 = load i64, i64* %88, align 8 %90 = sext i32 %86 to i64 %91 = mul i64 %90, 8 %92 = add i64 %91, %89 %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 %95 = icmp eq i64 %94, 0 br i1 %95, label LBL_7, label LBL_4.LBL_6_crit_edge LBL_5: %.pre = load i64, i64* %11, align 8 store i64 %.pre, i64* %.reg2mem store i64 %91, i64* %.reg2mem14 store i64 %90, i64* %.reg2mem16 store i64 %85, i64* %.in13.reg2mem store i32 %86, i32* %storemerge1012.reg2mem br label LBL_6 LBL_6: %.reload15 = load i64, i64* %.reg2mem14 %.reload = load i64, i64* %.reg2mem %96 = add i64 %.reload, 8 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = add i64 %98, %.reload15 %100 = inttoptr i64 %99 to i64* %101 = load i64, i64* %100, align 8 %102 = icmp eq i64 %101, 0 %103 = icmp eq i1 %102, false br i1 %103, label LBL_1, label LBL_7 LBL_7: ret i64 0 uselistorder i64 %42, { 1, 0 } uselistorder i32 %40, { 1, 0 } uselistorder i64 %.in13.reload, { 1, 0 } uselistorder i32 %storemerge1012.reload, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i32* %storemerge9.in.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem14, { 0, 2, 1 } uselistorder i64* %.reg2mem16, { 2, 0, 1 } uselistorder i64* %.in13.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1012.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 8, { 2, 0, 4, 1, 3 } uselistorder i64 16, { 1, 0, 2 } uselistorder i64 4294967295, { 1, 2, 3, 0 } uselistorder i64 4294967296, { 0, 1, 3, 2 } uselistorder label LBL_7, { 2, 1, 0, 3 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
codingXOR_6408
codingXOR
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = load i32, i32* @gv_0, align 4 %5 = icmp eq i32 %4, 0 %6 = load i64, i64* @gv_1, align 8 %storemerge3 = select i1 %5, i64 %1, i64 %6 %7 = load i32, i32* @gv_2, align 4 %8 = icmp eq i32 %7, 0 %9 = trunc i64 %3 to i32 %10 = icmp sgt i32 %9, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: store i64 0, i64* %rax.0.in.reg2mem br i1 %10, label LBL_2, label LBL_7 LBL_2: %wide.trip.count11 = and i64 %3, 4294967295 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_5 LBL_3: store i64 0, i64* %rax.0.in.reg2mem br i1 %10, label LBL_4, label LBL_7 LBL_4: %wide.trip.count = and i64 %3, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_5: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %11 = add i64 %indvars.iv9.reload, %storemerge3 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = urem i8 %13, 16 %15 = add i64 %indvars.iv9.reload, %2 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = add i64 %indvars.iv9.reload, %1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = xor i8 %20, %17 %22 = add i64 %indvars.iv9.reload, %0 %23 = zext i8 %21 to i64 %24 = zext i8 %14 to i64 %25 = mul i64 %24, 256 %26 = or i64 %25, %23 %27 = add i64 %26, ptrtoint (i8** @gv_3 to i64) %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = inttoptr i64 %22 to i8* store i8 %29, i8* %30, align 1 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond12 = icmp eq i64 %indvars.iv.next10, %wide.trip.count11 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem store i64 %wide.trip.count11, i64* %rax.0.in.reg2mem br i1 %exitcond12, label LBL_7, label LBL_5 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %31 = add i64 %indvars.iv.reload, %storemerge3 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = urem i8 %33, 16 %35 = add i64 %indvars.iv.reload, %2 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i64 %39 = zext i8 %34 to i64 %40 = mul i64 %39, 256 %41 = or i64 %40, %38 %42 = add i64 %41, ptrtoint (i8** @gv_3 to i64) %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = add i64 %indvars.iv.reload, %1 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = add i64 %indvars.iv.reload, %0 %49 = xor i8 %47, %44 %50 = inttoptr i64 %48 to i8* store i8 %49, i8* %50, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %3, i64* %rax.0.in.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %indvars.iv.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %indvars.iv9.reload, { 0, 4, 3, 2, 1 } uselistorder i1 %10, { 1, 0 } uselistorder i64* %indvars.iv9.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.in.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 1, { 1, 0 } uselistorder i64 ptrtoint (i8** @gv_3 to i64), { 1, 0 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder i32 0, { 0, 3, 4, 1, 2 } uselistorder label LBL_7, { 1, 0, 3, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
avi_read_nikon_637
avi_read_nikon
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %rdi.2.ph25.reg2mem = alloca i64 %rdi.1.lcssa.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i8* %storemerge.in.reg2mem = alloca i32 %rdi.119.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = icmp ult i64 %1, %arg2 store i64 %1, i64* %.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_16 LBL_1: %3 = add i64 %0, 8 store i64 %0, i64* %rdi.2.ph25.reg2mem br label LBL_2.lr.ph LBL_2: %4 = call i64 @FUNC(i64 %rdi.2.ph25.reload) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC(i64 %rdi.2.ph25.reload) %7 = icmp eq i32 %5, 1735680878 %8 = icmp eq i1 %7, false br i1 %8, label LBL_13, label LBL_3 LBL_3: %9 = trunc i64 %6 to i32 %10 = call i64 @FUNC(i64 %rdi.2.ph25.reload) %11 = trunc i64 %10 to i32 %12 = add i32 %11, %9 %13 = call i64 @FUNC(i64 %rdi.2.ph25.reload) %14 = sext i32 %12 to i64 %15 = icmp ult i64 %13, %14 store i64 %rdi.2.ph25.reload, i64* %rdi.119.reg2mem store i64 %rdi.2.ph25.reload, i64* %rdi.1.lcssa.reg2mem br i1 %15, label LBL_4, label LBL_14 LBL_4: %rdi.119.reload = load i64, i64* %rdi.119.reg2mem %16 = call i64 @FUNC(i64 %rdi.119.reload) %17 = call i64 @FUNC(i64 %rdi.119.reload) store i64 0, i64* %sv_1, align 8 %18 = urem i64 %17, 65536 %19 = call i64 @FUNC(i64 %rdi.119.reload) %20 = sub i64 %14, %19 %21 = icmp ult i64 %18, %20 br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %rdi.119.reload) %23 = trunc i64 %22 to i32 %24 = sub i32 %12, %23 store i32 %24, i32* %storemerge.in.reg2mem br label LBL_7 LBL_6: %25 = trunc i64 %17 to i32 %26 = urem i32 %25, 65536 store i32 %26, i32* %storemerge.in.reg2mem br label LBL_7 LBL_7: %27 = trunc i64 %16 to i32 %28 = urem i32 %27, 65536 %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %29 = trunc i32 %storemerge.in.reload to i16 %30 = icmp ult i16 %29, 64 %31 = urem i32 %storemerge.in.reload, 65536 %.op = zext i32 %31 to i64 %32 = select i1 %30, i64 %.op, i64 63 %33 = call i64 @FUNC(i64 %rdi.119.reload, i64* nonnull %sv_1, i64 %32) %34 = icmp eq i32 %28, 19 store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem br i1 %34, label LBL_11, label LBL_8 LBL_8: %35 = icmp ugt i32 %28, 19 store i64 %rdi.119.reload, i64* %rdi.0.reg2mem br i1 %35, label LBL_12, label LBL_9 LBL_9: %trunc = trunc i64 %16 to i16 store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem store i64 %rdi.119.reload, i64* %rdi.0.reg2mem switch i16 %trunc, label LBL_12 [ i16 3, label LBL_11 i16 4, label LBL_10 ] LBL_10: store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem br label LBL_11 LBL_11: %sv_0.0.ph.reload = load i8*, i8** %sv_0.0.ph.reg2mem %36 = ptrtoint i8* %sv_0.0.ph.reload to i64 %37 = call i64 @FUNC(i64 %3, i64 %36, i64* nonnull %sv_1, i64 0) store i64 %3, i64* %rdi.0.reg2mem br label LBL_12 LBL_12: %38 = trunc i64 %33 to i32 %39 = sub i32 %storemerge.in.reload, %38 %40 = urem i32 %39, 65536 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %rdi.0.reload, i64 %41) %43 = call i64 @FUNC(i64 %rdi.0.reload) %44 = icmp ult i64 %43, %14 store i64 %rdi.0.reload, i64* %rdi.119.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem br i1 %44, label LBL_4, label LBL_14 LBL_13: %45 = and i64 %6, 4294967295 %46 = call i64 @FUNC(i64 %rdi.2.ph25.reload, i64 %45) %47 = call i64 @FUNC(i64 %rdi.2.ph25.reload) %48 = icmp ult i64 %47, %arg2 store i64 %47, i64* %.lcssa.reg2mem br i1 %48, label LBL_2, label LBL_16 LBL_14: %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %49 = call i64 @FUNC(i64 %rdi.1.lcssa.reload) %50 = icmp ult i64 %49, %arg2 store i64 %rdi.1.lcssa.reload, i64* %rdi.2.ph25.reg2mem store i64 %49, i64* %.lcssa.reg2mem br i1 %50, label LBL_2.lr.ph, label LBL_16 LBL_15: %rdi.2.ph25.reload = load i64, i64* %rdi.2.ph25.reg2mem br label LBL_2 LBL_16: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %rdi.2.ph25.reload, { 3, 2, 4, 0, 6, 7, 5, 1 } uselistorder i64 %rdi.0.reload, { 0, 3, 2, 1 } uselistorder i32 %storemerge.in.reload, { 0, 2, 1 } uselistorder i32 %28, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %rdi.119.reload, { 0, 1, 3, 2, 6, 5, 4 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %0, { 0, 2, 1 } uselistorder i64* %rdi.119.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.0.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i32 65536, { 0, 1, 3, 2 } uselistorder i64 (i64)* @avio_rl16, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder i64 (i64)* @avio_tell, { 2, 3, 5, 7, 6, 1, 4, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_2.lr.ph, { 1, 0 } uselistorder label LBL_12, { 2, 1, 0 } uselistorder label LBL_11, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
acpi_build_update_16882
acpi_build_update
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = icmp eq i64* %arg1, null store i64 %2, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = and i64 %1, 4294967295 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = bitcast i64* %arg1 to i32* store i32 1, i32* %8, align 4 %9 = call i64 @FUNC(i64* nonnull %sv_0) %10 = add i64 %2, 24 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i64* nonnull %sv_0) %14 = load i64, i64* %sv_0, align 8 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %2, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = trunc i64 %15 to i32 %20 = icmp eq i32 %18, %19 store i32 %18, i32* %.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i32, i32* %17, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %21 = load i64, i64* %sv_0, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %2, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = inttoptr i64 %26 to i64* %28 = inttoptr i64 %23 to i64* %29 = call i64* @memcpy(i64* %27, i64* %28, i32 %.reload) %30 = call i64 @FUNC(i64* nonnull %sv_0, i64 1) store i64 %30, 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* %sv_0, { 0, 3, 4, 1, 2 } uselistorder i64 %2, { 1, 2, 3, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
1
CompRealVul
_single_string_alloc_and_expand_13464
_single_string_alloc_and_expand
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i8* %storemerge13.reg2mem = alloca i32 %.reg2mem12 = alloca i8 %.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i32 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i32 0, i32* %sv_0.0.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %2 = sext i32 %sv_0.0.reload to i64 %3 = add i64 %2, %arg1 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false %8 = add i32 %sv_0.0.reload, 1 store i32 %8, i32* %sv_0.0.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %9 = call i64* @malloc(i32 %8) %10 = ptrtoint i64* %9 to i64 %11 = inttoptr i64 %arg1 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false %15 = bitcast i64* %9 to i8* store i8* %15, i8** %.reg2mem store i8 %12, i8* %.reg2mem12 store i32 0, i32* %storemerge13.reg2mem store i8* %15, i8** %.lcssa.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload13 = load i8, i8* %.reg2mem12 %.reload = load i8*, i8** %.reg2mem store i8 %.reload13, i8* %.reload, align 1 %16 = add i32 %storemerge13.reload, 1 %17 = sext i32 %16 to i64 %18 = add i64 %17, %arg1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 %22 = icmp eq i1 %21, false %23 = add i64 %17, %10 %24 = inttoptr i64 %23 to i8* store i8* %24, i8** %.reg2mem store i8 %20, i8* %.reg2mem12 store i32 %16, i32* %storemerge13.reg2mem store i8* %24, i8** %.lcssa.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_4: %.lcssa.reload = load i8*, i8** %.lcssa.reg2mem store i8 0, i8* %.lcssa.reload, align 1 store i64 %10, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %8, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem12, { 2, 0, 1 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0, 3 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 1, { 6, 7, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
virtio_cleanup_17982
virtio_cleanup
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 i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %3, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %3) br label LBL_2 LBL_2: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) ret i64 %10 uselistorder i64 (i64)* @qemu_free, { 1, 0 } }
1
CompRealVul
m_start_13783
m_start
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %storemerge2.in.in.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 store i64 0, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = icmp eq i64 %3, -1 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_11 LBL_1: %8 = bitcast i64* %rdi to i32* %9 = load i32, i32* %8, align 8 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10, i64 0) store i64 %11, i64* %2, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_11 LBL_2: %14 = call i64 @FUNC(i64 %11) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_11 LBL_3: %17 = add i64 %14, 16 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* %2, align 8 %20 = call i64 @FUNC(i64 %19) store i64 %20, i64* %5, align 8 %21 = call i64 @FUNC(i64 %14, i64 %3) %22 = icmp eq i64 %3, 0 %23 = icmp eq i64 %21, 0 %or.cond = or i1 %22, %23 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %24 = inttoptr i64 %21 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %sv_1.0.reg2mem br label LBL_9 LBL_5: %26 = ptrtoint i64* %arg2 to i64 %27 = inttoptr i64 %14 to i32* %28 = load i32, i32* %27, align 4 %29 = sext i32 %28 to i64 %30 = icmp ult i64 %26, %29 br i1 %30, label LBL_6, label LBL_8 LBL_6: %31 = add i64 %14, 8 store i64 %26, i64* %sv_2.0.reg2mem store i64 %31, i64* %storemerge2.in.in.reg2mem br label LBL_7 LBL_7: %storemerge2.in.in.reload = load i64, i64* %storemerge2.in.in.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %storemerge2.in = inttoptr i64 %storemerge2.in.in.reload to i64* %storemerge2 = load i64, i64* %storemerge2.in, align 8 %32 = add i64 %sv_2.0.reload, -1 %33 = icmp ne i64 %sv_2.0.reload, 0 %34 = icmp eq i64 %storemerge2, 0 %35 = icmp eq i1 %34, false %or.cond5 = icmp eq i1 %33, %35 store i64 %32, i64* %sv_2.0.reg2mem store i64 %storemerge2, i64* %storemerge2.in.in.reg2mem store i64 %storemerge2, i64* %sv_1.0.reg2mem br i1 %or.cond5, label LBL_7, label LBL_9 LBL_8: %36 = icmp eq i64 %26, %29 %spec.select = select i1 %36, i64 %20, i64 0 store i64 %spec.select, i64* %sv_0.06.reg2mem br label LBL_10 LBL_9: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %37 = icmp eq i64 %sv_1.0.reload, 0 store i64 %20, i64* %sv_0.06.reg2mem store i64 %sv_1.0.reload, i64* %rax.0.reg2mem br i1 %37, label LBL_10, label LBL_11 LBL_10: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %38 = icmp eq i64 %sv_0.06.reload, 0 %. = sext i1 %38 to i64 store i64 %., i64* %2, align 8 %39 = call i64 @FUNC(i64 %17) %40 = call i64 @FUNC(i64 %14) store i64 %sv_0.06.reload, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_2.0.reload, { 1, 0 } uselistorder i64 %26, { 2, 0, 1 } uselistorder i64 %14, { 1, 0, 4, 2, 3, 5 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.in.in.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 -1, { 1, 0 } uselistorder label LBL_11, { 4, 0, 1, 2, 3 } uselistorder label LBL_10, { 1, 0 } }
0
CompRealVul
qio_channel_command_close_18677
qio_channel_command_close
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 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = call i32 @close(i32 %4) %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i32 @close(i32 %8) %10 = call i64 @FUNC(i64 %3, i64 %2) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %13, label LBL_1, label LBL_4 LBL_1: %14 = icmp slt i32 %5, 0 %15 = icmp slt i32 %9, 0 %narrow = or i1 %14, %15 %16 = icmp eq i1 %narrow, false br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = call i32* @__errno_location() %18 = load i32, i32* %17, align 4 %19 = call i64 @FUNC(i64 %2, i32 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0)) br label LBL_3 LBL_3: %20 = select i1 %narrow, i64 4294967295, i64 0 store i64 %20, 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 i64 4294967295, { 1, 0 } uselistorder i32 (i32)* @close, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
rv30_decode_mb_info_16353
rv30_decode_mb_info
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 16 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 12 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %5, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i64 8, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_7 LBL_2: %14 = icmp slt i32 %8, 6 store i64 %7, i64* %sv_0.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64 8, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %19 = add i64 %7, -6 store i64 %19, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %20 = trunc i64 %3 to i32 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = icmp eq i32 %20, 9 %sext = mul i64 %sv_0.0.reload, 4294967296 %22 = ashr exact i64 %sext, 30 br i1 %21, label LBL_6, label LBL_5 LBL_5: %23 = add i64 %22, ptrtoint (i32** @gv_2 to i64) %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 store i32 %25, i32* %rax.0.shrunk.reg2mem br label LBL_7 LBL_6: %26 = add i64 %22, ptrtoint (i32** @gv_3 to i64) %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 store i32 %28, i32* %rax.0.shrunk.reg2mem br label LBL_7 LBL_7: %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 i64 %7, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 8, { 0, 2, 1, 3 } }
1
CompRealVul
handle_recv_3_6952
handle_recv_3
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i16 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i8, align 1 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %arg4.off = add i16 %arg4, -5 %0 = icmp ugt i16 %arg4.off, 1019 store i64 1, i64* %rax.0.reg2mem br i1 %0, label LBL_5, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg3 to i64 %2 = add i64 %1, 4 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %.off = add i8 %4, -1 %switch = icmp ult i8 %.off, 2 store i64 1, i64* %rax.0.reg2mem br i1 %switch, label LBL_2, label LBL_5 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %1, 13 %8 = add i64 %1, 1 %9 = add i64 %5, 8 %10 = call i64 @FUNC(i64 %9, i64 %8, i64 %7, i64 26, i64* nonnull %sv_3) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 10 store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_5 LBL_3: %13 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_3, i32 10, i64 0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, -1 %16 = icmp eq i1 %15, false store i64 1, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: store i8 3, i8* %sv_1, align 1 %17 = zext i16 %arg4 to i32 %18 = add nsw i32 %17, -4 %19 = ptrtoint i64* %sv_0 to i64 %20 = inttoptr i64 %2 to i64* %21 = call i64* @memcpy(i64* nonnull %sv_0, i64* %20, i32 %18) %22 = add i16 %arg4, -1 %23 = load i64, i64* %sv_2, align 8 %24 = call i64 @FUNC(i64 %19, i64 %23, i8* nonnull %sv_1, i16 %22) %25 = trunc i64 %24 to i32 %26 = zext i16 %22 to i32 %27 = icmp ne i32 %25, %26 %. = zext i1 %27 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64 1, { 0, 1, 4, 2, 3 } uselistorder i16 %arg4, { 1, 2, 0 } uselistorder label LBL_5, { 2, 3, 4, 0, 1 } }
0
CompRealVul
network_to_caps_2643
network_to_caps
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 = trunc i64 %1 to i32 %4 = call i32 @ntohl(i32 %3) store i32 %4, i32* %arg1, align 4 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = call i32 @ntohl(i32 %7) %9 = sext i32 %8 to i64 store i32 %8, i32* %6, align 4 ret i64 %9 uselistorder i32 (i32)* @ntohl, { 1, 0 } }
0
CompRealVul
_archive_write_close_9796
_archive_write_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem5 = alloca i64* %.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 5, i64 6, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) %4 = trunc i64 %1 to i32 %5 = icmp ne i32 %4, 1 %6 = icmp eq i32 %4, 2 %7 = icmp eq i1 %6, false %or.cond = icmp eq i1 %5, %7 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_1, label LBL_9 LBL_1: %8 = call i64 @FUNC(i64 %2) %9 = icmp eq i32 %4, 3 %10 = icmp eq i1 %9, false store i64* null, i64** %.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 store i64* null, i64** %.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = and i64 %2, 4294967295 %16 = inttoptr i64 %15 to i64* store i64* %16, i64** %.reg2mem br label LBL_4 LBL_4: %.reload = load i64*, i64** %.reg2mem %17 = add i64 %2, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 store i64* %.reload, i64** %.reg2mem5 br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = trunc i64 %2 to i32 %22 = and i64 %2, 4294967295 %23 = inttoptr i64 %22 to i64* %24 = ptrtoint i64* %.reload to i64 %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %21, %25 %spec.select = select i1 %26, i64* %23, i64* %.reload store i64* %spec.select, i64** %.reg2mem5 br label LBL_6 LBL_6: %.reload6 = load i64*, i64** %.reg2mem5 %27 = add i64 %2, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) %31 = icmp eq i32 %4, 4 br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = bitcast i64* %arg1 to i32* store i32 2, i32* %32, align 4 br label LBL_8 LBL_8: %33 = trunc i64 %30 to i32 %34 = ptrtoint i64* %.reload6 to i64 %35 = trunc i64 %34 to i32 %36 = icmp slt i32 %33, %35 %37 = and i64 %30, 4294967295 %38 = inttoptr i64 %37 to i64* %39 = select i1 %36, i64* %38, i64* %.reload6 %40 = ptrtoint i64* %39 to i64 %41 = and i64 %40, 4294967295 store i64 %41, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reload, { 2, 1, 0 } uselistorder i32 %4, { 0, 1, 3, 2 } uselistorder i64 %2, { 2, 4, 5, 3, 1, 0, 6, 7 } uselistorder i64** %.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* null, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
CompRealVul
tcp_fastopen_create_child_3878
tcp_fastopen_create_child
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = bitcast i64* %arg4 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %8 = call i64 @FUNC(i64 %1) %9 = icmp eq i64* %arg1, null %10 = icmp eq i1 %9, false store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %11 = ptrtoint i64* %arg2 to i64 %12 = call i64 @FUNC(i64 %2) %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i32 %15, 1 store i32 %16, i32* %14, align 4 %17 = call i64 @FUNC(i64 %2) %18 = call i64 @FUNC(i64 %1) %19 = inttoptr i64 %18 to i64* store i64 %0, i64* %19, align 8 %20 = call i64 @FUNC(i64 %0) %21 = add i64 %20, 20 %22 = inttoptr i64 %21 to i8* store i8 1, i8* %22, align 1 %23 = call i64 @FUNC(i64 %11) %24 = add i64 %23, 24 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = urem i32 %26, 65536 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %29 to i16 %31 = add i64 %18, 8 %32 = inttoptr i64 %31 to i16* store i16 %30, i16* %32, align 2 %33 = call i64 @FUNC(i64 %1, i64 0, i64 0, i64 0) %34 = add i64 %0, 16 %35 = call i64 @FUNC(i64 %34, i64 2) %36 = call i64 @FUNC(i64 %1) %37 = call i64 @FUNC(i64 %1) %38 = call i64 @FUNC(i64 %1) %39 = call i64 @FUNC(i64 %1) %40 = call i64 @FUNC(i64 %1) %41 = bitcast i64* %rsi to i32* %42 = load i32, i32* %41, align 8 %43 = add i32 %42, 1 %44 = add i64 %18, 12 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 %46 = call i64 @FUNC(i64 %1, i64 %11) %47 = call i64 @FUNC(i64 %0) %48 = load i32, i32* %45, align 4 %49 = add i64 %47, 12 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 %51 = load i32, i32* %45, align 4 %52 = add i64 %18, 16 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 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 %2, { 0, 2, 1 } uselistorder i64 %1, { 0, 1, 4, 3, 2, 7, 6, 5, 8, 9, 10 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @tcp_rsk, { 1, 0 } uselistorder i64 (i64)* @inet_csk, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
r_config_set_cb_8524
r_config_set_cb
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i8* %arg3 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0) %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = inttoptr i64 %3 to i64* store i64 %arg4, i64* %5, align 8 %6 = icmp eq i64 %arg4, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = trunc i64 %2 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: store i64 %3, 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 label LBL_4, { 1, 0 } }
0
CompRealVul
vcpu_destroy_12412
vcpu_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %0) store i64 %14, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %15 = call i64 @FUNC(i64 %0) store i64 %15, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
CompRealVul
tx_result_8553
tx_result
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 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i64 0, i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %arg3, i64 %3, i64 %2, i64 %1) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = inttoptr i64 %4 to i64* %10 = call i64* @memset(i64* %9, i32 0, i32 16) store i64 %arg2, i64* %9, align 8 %11 = trunc i64 %arg3 to i32 %12 = or i32 %11, 1 %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %4, 12 %16 = inttoptr i64 %15 to i32* store i32 2, i32* %16, align 4 %17 = call i64 @FUNC(i64 %8, i64 %4) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false store i64 %17, i64* %rax.0.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %4) store i64 %21, 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 %4, { 0, 1, 4, 3, 2, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } }
0
CompRealVul
nbd_receive_reply_16878
nbd_receive_reply
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 %5, i64 4, i64 %4) %8 = trunc i64 %7 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 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = and i64 %7, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %15 = trunc i64 %3 to i32 %16 = call i64 @FUNC(i64 %5) %17 = icmp eq i32 %15, 627086611 br i1 %17, label LBL_7, label LBL_3 LBL_3: %18 = icmp eq i32 %15, 1732535960 %19 = icmp eq i1 %18, false br i1 %19, label LBL_9, label LBL_4 LBL_4: %20 = add i64 %5, 4 %21 = call i64 @FUNC(i64 %6, i64 %20, i64 %4) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 store i32 %22, i32* %sv_0.0.reg2mem br i1 %23, label LBL_10, label LBL_5 LBL_5: %24 = add i64 %5, 24 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = inttoptr i64 %20 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29) %31 = load i32, i32* %27, align 4 %32 = zext i32 %26 to i64 %33 = zext i32 %31 to i64 %34 = call i64 @FUNC(i64 %33, i64 %30, i64 %32) %35 = load i32, i32* %27, align 4 %36 = icmp eq i32 %35, 1 %37 = icmp eq i1 %36, false store i32 %22, i32* %sv_0.0.reg2mem br i1 %37, label LBL_10, label LBL_6 LBL_6: %38 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %32, i64 %30, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %39 = add i64 %5, 8 %40 = call i64 @FUNC(i64 %6, i64 %39, i64 %4) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, 0 store i32 %41, i32* %sv_0.0.reg2mem br i1 %42, label LBL_10, label LBL_8 LBL_8: %43 = inttoptr i64 %39 to i32* %44 = load i32, i32* %43, align 4 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %45) %47 = add i64 %5, 20 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %5, 16 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = load i32, i32* %43, align 4 %54 = add i64 %5, 12 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = zext i32 %49 to i64 %58 = zext i32 %56 to i64 %59 = call i64 @FUNC(i64 %58, i32 %53, i64 %46, i32 %52, i64 %57) store i32 %41, i32* %sv_0.0.reg2mem br label LBL_10 LBL_9: %60 = and i64 %3, 4294967295 %61 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %60, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %62 = icmp slt i32 %sv_0.0.reload, 0 %63 = icmp eq i1 %62, false %64 = zext i32 %sv_0.0.reload to i64 %spec.select = select i1 %63, i64 1, i64 %64 ret i64 %spec.select LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %15, { 1, 0 } uselistorder i32 %8, { 1, 0 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %5, { 3, 2, 4, 5, 0, 1, 6, 7 } uselistorder i64 %4, { 2, 3, 4, 0, 1, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_10, { 3, 0, 1, 2 } }
1
CompRealVul
vmxnet3_verify_driver_magic_3096
vmxnet3_verify_driver_magic
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: ret i64 1 }
0
CompRealVul
pc_init_pci_1_2_15461
pc_init_pci_1_2
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC() store i8 1, i8* inttoptr (i64 4210717 to i8*), align 1 store i8 0, i8* inttoptr (i64 4210718 to i8*), align 2 %3 = call i64 @FUNC(i64 %0) ret i64 %3 }
1
CompRealVul
php_url_decode_7319
php_url_decode
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_1.16.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg2, 0 %2 = icmp eq i1 %1, false store i64 %arg2, i64* %.in.reg2mem store i64 %0, i64* %sv_1.16.reg2mem store i64 %0, i64* %sv_0.03.reg2mem store i64 %0, i64* %sv_0.0.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_9 LBL_1: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %3 = add i64 %.in.reload, -1 %4 = inttoptr i64 %sv_1.16.reload to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 43 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = inttoptr i64 %sv_0.03.reload to i8* store i8 32, i8* %8, align 1 store i64 %3, i64* %sv_2.0.reg2mem store i64 %sv_1.16.reload, i64* %sv_1.0.reg2mem br label LBL_8 LBL_3: %9 = icmp eq i8 %5, 37 %10 = icmp eq i1 %9, false %11 = icmp ult i64 %3, 2 %or.cond = or i1 %11, %10 br i1 %or.cond, label LBL_7, label LBL_4 LBL_4: %12 = call i16** @__ctype_b_loc() %13 = load i16*, i16** %12, align 8 %14 = ptrtoint i16* %13 to i64 %15 = add i64 %sv_1.16.reload, 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, 4096 %24 = icmp eq i16 %23, 0 br i1 %24, label LBL_7, label LBL_5 LBL_5: %25 = call i16** @__ctype_b_loc() %26 = load i16*, i16** %25, align 8 %27 = ptrtoint i16* %26 to i64 %28 = add i64 %sv_1.16.reload, 2 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = sext i8 %30 to i64 %32 = mul i64 %31, 2 %33 = add i64 %32, %27 %34 = inttoptr i64 %33 to i16* %35 = load i16, i16* %34, align 2 %36 = and i16 %35, 4096 %37 = icmp eq i16 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = call i64 @FUNC(i64 %15) %39 = trunc i64 %38 to i8 %40 = inttoptr i64 %sv_0.03.reload to i8* store i8 %39, i8* %40, align 1 %41 = add i64 %.in.reload, -3 store i64 %41, i64* %sv_2.0.reg2mem store i64 %28, i64* %sv_1.0.reg2mem br label LBL_8 LBL_7: %42 = load i8, i8* %4, align 1 %43 = inttoptr i64 %sv_0.03.reload to i8* store i8 %42, i8* %43, align 1 store i64 %3, i64* %sv_2.0.reg2mem store i64 %sv_1.16.reload, i64* %sv_1.0.reg2mem br label LBL_8 LBL_8: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %44 = add i64 %sv_1.0.reload, 1 %45 = add i64 %sv_0.03.reload, 1 %46 = icmp eq i64 %sv_2.0.reload, 0 %47 = icmp eq i1 %46, false store i64 %sv_2.0.reload, i64* %.in.reg2mem store i64 %44, i64* %sv_1.16.reg2mem store i64 %45, i64* %sv_0.03.reg2mem store i64 %45, i64* %sv_0.0.lcssa.reg2mem br i1 %47, label LBL_1, label LBL_9 LBL_9: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %48 = inttoptr i64 %sv_0.0.lcssa.reload to i8* store i8 0, i8* %48, align 1 %49 = sub i64 %sv_0.0.lcssa.reload, %0 ret i64 %49 uselistorder i64 %sv_2.0.reload, { 1, 0 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %.in.reload, { 1, 0 } uselistorder i64 %sv_1.16.reload, { 1, 2, 3, 0, 4 } uselistorder i64 %sv_0.03.reload, { 3, 2, 1, 0 } uselistorder i64 %0, { 3, 0, 1, 2 } uselistorder i64* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.16.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 2, 1 } uselistorder i16** ()* @__ctype_b_loc, { 1, 0 } uselistorder i64 2, { 0, 3, 1, 2 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
load_function_9008
load_function
define i64 @FUNC(i64 %arg1, i8* %arg2, i64* %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, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = inttoptr i64 %arg1 to i64* %7 = call i64* @dlsym(i64* %6, i8* %arg2) %8 = ptrtoint i64* %7 to i64 store i64 %8, i64* %arg3, align 8 %9 = icmp eq i64* %7, null %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i8* @dlerror() %12 = ptrtoint i8* %11 to i64 %13 = icmp eq i8* %11, null %storemerge = select i1 %13, i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64 %12 %14 = ptrtoint i8* %arg2 to i64 %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 %storemerge, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %16 = ptrtoint i8* %arg2 to i64 %17 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %16, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i8* %arg2, { 1, 0, 2 } uselistorder label LBL_4, { 1, 2, 0 } }
0
CompRealVul
SSL_set_wfd_9781
SSL_set_wfd
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0, i64 0) %8 = trunc i64 %1 to i32 %9 = trunc i64 %7 to i32 %10 = icmp eq i32 %8, %9 br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = call i64 @FUNC() %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 1, i64 2) store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_5: %17 = and i64 %1, 4294967295 %18 = call i64 @FUNC(i64 %13, i64 %17, i64 0) %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %13) store i64 1, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %21 = call i64 @FUNC(i64 %0) %22 = call i64 @FUNC(i64 %0) %23 = call i64 @FUNC(i64 %0, i64 %22, i64 %21) store i64 1, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 2, 1, 0, 6, 5, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i64)* @SSL_set_bio, { 1, 0 } uselistorder i64 (i64)* @SSL_get_rbio, { 2, 1, 0 } uselistorder i64 1, { 1, 0, 3, 2 } uselistorder label LBL_7, { 1, 0, 2 } }
0
CompRealVul
get_buffer_15534
get_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = bitcast i64* %arg2 to i32* store i32 1, i32* %1, align 4 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 1, i64* %3, align 8 ret i64 0 }
1
CompRealVul
jp2_cmap_getdata_11593
jp2_cmap_getdata
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = trunc i64 %1 to i32 %6 = udiv i32 %5, 4 store i32 %6, i32* %4, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7, i64 8) %9 = add i64 %2, 16 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = icmp eq i64 %8, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_7 LBL_1: %13 = load i32, i32* %4, align 4 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_7, label LBL_2 LBL_2: %15 = ptrtoint i64* %arg2 to i64 %16 = call i64 @FUNC(i64 %15, i64 %8) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %8, i64* %.reg2mem store i64 0, i64* %indvars.iv6.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_7, label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %20 = add i64 %.reload, 4 %21 = call i64 @FUNC(i64 %15, i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_7, label LBL_4 LBL_4: %25 = add i64 %.reload, 5 %26 = call i64 @FUNC(i64 %15, i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_5, label LBL_7 LBL_5: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv6.reload, 1 %29 = load i32, i32* %4, align 4 %30 = zext i32 %29 to i64 %31 = icmp ult i64 %indvars.iv.next, %30 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_5.dec_label_pc_40120c_crit_edge, label LBL_7 LBL_6: %.pre = load i64, i64* %10, align 8 %32 = mul i64 %indvars.iv.next, 8 %33 = add i64 %32, %.pre %34 = call i64 @FUNC(i64 %15, i64 %33) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 %33, i64* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv6.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %37, label LBL_7, label LBL_3 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 3, 1, 2, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i32* %4, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2, 5, 6, 7 } uselistorder i64 (i64, i64)* @jp2_getuint8, { 1, 0 } uselistorder i64 (i64, i64)* @jp2_getuint16, { 1, 0 } uselistorder i64 4294967295, { 2, 0, 1, 3, 4 } uselistorder label LBL_7, { 2, 1, 4, 3, 0, 5, 6 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
cil_reset_classpermission_12351
cil_reset_classpermission
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) store i64 %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* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
console_device_9049
console_device
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() ret i64 0 }
0
CompRealVul
img_create_15235
img_create
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %.reg2mem70 = alloca i32 %.reg2mem68 = alloca i8* %.reg2mem66 = alloca i64 %.reg2mem64 = alloca i64 %.reg2mem62 = alloca i64 %.reg2mem60 = alloca i8* %.reg2mem58 = alloca i64 %.reg2mem56 = alloca i64 %.reg2mem54 = alloca i64 %.reg2mem52 = alloca i64 %.reg2mem50 = alloca i32 %.reg2mem48 = alloca i64 %.reg2mem46 = alloca i64 %.reg2mem44 = alloca i64 %.reg2mem = alloca i64 %sv_2 = alloca i8*, align 8 %0 = trunc i64 %arg1 to i32 %1 = inttoptr i64 %arg2 to i8** %2 = call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i32 %2, -1 store i64 0, i64* %.reg2mem store i64 0, i64* %.reg2mem44 store i64 ptrtoint ([4 x i8]* @gv_1 to i64), i64* %.reg2mem46 store i64 0, i64* %.reg2mem48 store i32 %2, i32* %.reg2mem50 store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8** %.reg2mem60 store i64 0, i64* %.reg2mem62 store i64 0, i64* %.reg2mem64 store i64 0, i64* %.reg2mem66 store i8* null, i8** %.reg2mem68 br i1 %3, label LBL_11, label LBL_1 LBL_1: %.reload51 = load i32, i32* %.reg2mem50 %.reload49 = load i64, i64* %.reg2mem48 %.reload47 = load i64, i64* %.reg2mem46 %.reload45 = load i64, i64* %.reg2mem44 %.reload = load i64, i64* %.reg2mem %4 = add i32 %.reload51, -54 %5 = zext i32 %4 to i64 store i64 %5, i64* @0, align 8 store i64 %.reload, i64* %.reg2mem52 store i64 %.reload45, i64* %.reg2mem54 store i64 %.reload47, i64* %.reg2mem56 store i64 %.reload49, i64* %.reg2mem58 switch i32 %.reload51, label LBL_2 [ i32 54, label LBL_8 i32 63, label LBL_3 i32 70, label LBL_4 i32 98, label LBL_5 i32 101, label LBL_7 i32 102, label LBL_6 i32 104, label LBL_3 i32 111, label LBL_9 ] LBL_2: %.reload59 = load i64, i64* %.reg2mem58 %.reload57 = load i64, i64* %.reg2mem56 %.reload55 = load i64, i64* %.reg2mem54 %.reload53 = load i64, i64* %.reg2mem52 %6 = call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq i32 %6, -1 store i64 %.reload53, i64* %.reg2mem store i64 %.reload55, i64* %.reg2mem44 store i64 %.reload57, i64* %.reg2mem46 store i64 %.reload59, i64* %.reg2mem48 store i32 %6, i32* %.reg2mem50 br i1 %7, label LBL_10, label LBL_1 LBL_3: %8 = call i64 @FUNC() store i64 %.reload, i64* %.reg2mem52 store i64 %.reload45, i64* %.reg2mem54 store i64 %.reload47, i64* %.reg2mem56 store i64 %.reload49, i64* %.reg2mem58 br label LBL_2 LBL_4: %9 = load i8*, i8** @gv_2, align 8 %10 = ptrtoint i8* %9 to i64 store i64 %10, i64* %.reg2mem52 store i64 %.reload45, i64* %.reg2mem54 store i64 %.reload47, i64* %.reg2mem56 store i64 %.reload49, i64* %.reg2mem58 br label LBL_2 LBL_5: %11 = load i8*, i8** @gv_2, align 8 %12 = ptrtoint i8* %11 to i64 store i64 %.reload, i64* %.reg2mem52 store i64 %12, i64* %.reg2mem54 store i64 %.reload47, i64* %.reg2mem56 store i64 %.reload49, i64* %.reg2mem58 br label LBL_2 LBL_6: %13 = load i8*, i8** @gv_2, align 8 %14 = ptrtoint i8* %13 to i64 store i64 %.reload, i64* %.reg2mem52 store i64 %.reload45, i64* %.reg2mem54 store i64 %14, i64* %.reg2mem56 store i64 %.reload49, i64* %.reg2mem58 br label LBL_2 LBL_7: %15 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_3, i64 0, i64 0)) br label LBL_22 LBL_8: %16 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_4, i64 0, i64 0)) br label LBL_22 LBL_9: %17 = load i8*, i8** @gv_2, align 8 %18 = ptrtoint i8* %17 to i64 store i64 %.reload, i64* %.reg2mem52 store i64 %.reload45, i64* %.reg2mem54 store i64 %.reload47, i64* %.reg2mem56 store i64 %18, i64* %.reg2mem58 br label LBL_2 LBL_10: %19 = inttoptr i64 %.reload59 to i8* %20 = inttoptr i64 %.reload57 to i8* store i8* %20, i8** %.reg2mem60 store i64 %.reload55, i64* %.reg2mem62 store i64 %.reload53, i64* %.reg2mem64 store i64 %.reload59, i64* %.reg2mem66 store i8* %19, i8** %.reg2mem68 br label LBL_11 LBL_11: %sext = mul i64 %arg1, 4294967296 %.reload69 = load i8*, i8** %.reg2mem68 %.reload67 = load i64, i64* %.reg2mem66 %.reload65 = load i64, i64* %.reg2mem64 %.reload63 = load i64, i64* %.reg2mem62 %.reload61 = load i8*, i8** %.reg2mem60 %21 = load i32, i32* @gv_5, align 4 %22 = zext i32 %21 to i64 %23 = ashr exact i64 %sext, 32 %24 = icmp sgt i64 %23, %22 store i32 %21, i32* %.reg2mem70 br i1 %24, label LBL_13, label LBL_12 LBL_12: %25 = call i64 @FUNC() %.pre = load i32, i32* @gv_5, align 4 store i32 %.pre, i32* %.reg2mem70 br label LBL_13 LBL_13: %.reload71 = load i32, i32* %.reg2mem70 store i32 ptrtoint (i32* @gv_6 to i32), i32* @gv_5, align 4 %26 = sext i32 %.reload71 to i64 %27 = mul i64 %26, 8 %28 = add i64 %27, %arg2 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp sgt i64 %23, zext (i32 ptrtoint (i32* @gv_6 to i32) to i64) store i64 -1, i64* %sv_1.0.reg2mem br i1 %31, label LBL_14, label LBL_17 LBL_14: store i32 ptrtoint (i32* @gv_6 to i32), i32* @gv_5, align 4 %32 = add i64 %arg2, shl (i64 sext (i32 ptrtoint (i32* @gv_6 to i32) to i64), i64 3) %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = bitcast i8** %sv_2 to i64* %36 = call i64 @FUNC(i64 %34, i64* nonnull %35, i64 0) %37 = icmp slt i64 %36, 0 br i1 %37, label LBL_16, label LBL_15 LBL_15: %38 = load i8*, i8** %sv_2, align 8 %39 = load i8, i8* %38, align 1 %40 = icmp eq i8 %39, 0 store i64 %36, i64* %sv_1.0.reg2mem br i1 %40, label LBL_17, label LBL_16 LBL_16: %41 = call i64 @FUNC(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_7, i64 0, i64 0)) %42 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_8, i64 0, i64 0)) br label LBL_22 LBL_17: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %43 = icmp eq i8* %.reload69, null br i1 %43, label LBL_20, label LBL_18 LBL_18: %44 = call i32 @strcmp(i8* nonnull %.reload69, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_9, i64 0, i64 0)) %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_20, label LBL_19 LBL_19: %47 = ptrtoint i8* %.reload61 to i64 %48 = call i64 @FUNC(i64 %30, i64 %47) store i64 %48, i64* %sv_0.0.in.reg2mem br label LBL_21 LBL_20: %49 = ptrtoint i8* %.reload61 to i64 %50 = call i64 @FUNC(i64 %30, i64 %49, i64 %.reload63, i64 %.reload65, i64 %.reload67, i64 %sv_1.0.reload, i64 0) store i64 %50, i64* %sv_0.0.in.reg2mem br label LBL_21 LBL_21: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %51 = icmp ne i32 %sv_0.0, 0 %spec.select = zext i1 %51 to i64 ret i64 %spec.select LBL_22: ret i64 1 uselistorder i64 %30, { 1, 0 } uselistorder i64 %.reload, { 3, 2, 1, 0, 4 } uselistorder i64 %.reload45, { 3, 2, 1, 0, 4 } uselistorder i64 %.reload47, { 3, 2, 1, 0, 4 } uselistorder i64 %.reload49, { 3, 2, 1, 0, 4 } uselistorder i8** %1, { 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem44, { 2, 0, 1 } uselistorder i64* %.reg2mem46, { 2, 0, 1 } uselistorder i64* %.reg2mem48, { 2, 0, 1 } uselistorder i32* %.reg2mem50, { 2, 0, 1 } uselistorder i64* %.reg2mem52, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64* %.reg2mem54, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64* %.reg2mem56, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64* %.reg2mem58, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i8** %.reg2mem60, { 0, 2, 1 } uselistorder i64* %.reg2mem62, { 0, 2, 1 } uselistorder i64* %.reg2mem64, { 0, 2, 1 } uselistorder i64* %.reg2mem66, { 0, 2, 1 } uselistorder i8** %.reg2mem68, { 0, 2, 1 } uselistorder i32* %.reg2mem70, { 0, 2, 1 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i32 ptrtoint (i32* @gv_6 to i32), { 0, 2, 1, 3 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32* @gv_5, { 3, 2, 0, 1 } uselistorder i64 (i8*)* @error_report, { 1, 0, 3, 2 } uselistorder i8* null, { 1, 0 } uselistorder [4 x i8]* @gv_1, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 (i32, i8**, i8*)* @getopt, { 1, 0 } uselistorder i64 0, { 12, 6, 7, 13, 14, 15, 16, 35, 33, 17, 18, 19, 20, 0, 1, 2, 23, 24, 3, 4, 5, 21, 22, 8, 25, 26, 9, 27, 28, 29, 30, 31, 32, 10, 11, 34 } uselistorder i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i32 1, { 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_2, { 4, 3, 2, 1, 0, 5 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
virtio_net_set_queues_8312
virtio_net_set_queues
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 br i1 %4, label LBL_8, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = icmp slt i64 %.reload, %9 %11 = zext i32 %storemerge2.reload to i64 br i1 %10, label LBL_3, label LBL_5 LBL_3: %12 = call i64 @FUNC(i64 %5, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_7, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 %5, i64 %11) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_7 LBL_7: %18 = add i32 %storemerge2.reload, 1 %19 = sext i32 %18 to i64 %20 = icmp sgt i64 %3, %19 store i64 %19, i64* %.reg2mem store i32 %18, i32* %storemerge2.reg2mem br i1 %20, label LBL_2, label LBL_8 LBL_8: ret i64 %3 uselistorder i32 %storemerge2.reload, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
net_slirp_smb_15813
net_slirp_smb
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %3 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_2 to i64*), i32 1, i32 17, %_IO_FILE* %2) call void @exit(i32 1) unreachable LBL_2: %4 = ptrtoint i8* %arg1 to i64 %5 = trunc i64 %4 to i32 store i32 %5, i32* @gv_0, align 4 %6 = call i64 @FUNC(i64* nonnull @gv_3) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64* nonnull @gv_3) %11 = call i64 @FUNC(i64 %10, i64 0, i64 %4, i64 0) 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 i32 0, { 1, 2, 0 } uselistorder i32* @gv_0, { 1, 0 } }
1
CompRealVul
mxf_get_d10_aes3_packet_14891
mxf_get_d10_aes3_packet
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem17 = alloca i32 %.reg2mem15 = alloca i64 %.reg2mem13 = alloca i64 %.reg2mem11 = alloca i32 %.reg2mem9 = alloca i64 %.reg2mem7 = alloca i64 %.reg2mem5 = alloca i64 %storemerge23.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = icmp slt i64 %arg4, 61445 store i64 4294967295, i64* %storemerge.reg2mem br i1 %0, label LBL_1, label LBL_11 LBL_1: %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %arg4, 4294967295 %4 = call i64 @FUNC(i64 %1, i64 %3) %5 = call i64 @FUNC(i64 %2, i64 %3, i64 %3) store i64 %3, i64* %sv_1, align 8 %6 = add i64 %3, %arg4 %7 = add nuw nsw i64 %3, 4 store i64 %7, i64* %sv_0, align 8 %8 = icmp ugt i64 %6, %7 br i1 %8, label LBL_2, label LBL_10 LBL_2: %9 = trunc i64 %arg4 to i32 store i64 %3, i64* %.reg2mem13 store i64 %7, i64* %.reg2mem15 store i32 %9, i32* %.reg2mem17 br label LBL_9 LBL_3: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %.reload = load i64, i64* %.reg2mem %10 = call i64 @FUNC(i64* nonnull %sv_0) %11 = add i64 %.reload, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 24 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = udiv i64 %10, 16 %17 = urem i64 %16, 16777216 %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 %17) store i64 %17, i64* %.reg2mem5 br label LBL_6 LBL_5: %19 = udiv i64 %10, 4096 %20 = urem i64 %19, 65536 %21 = call i64 @FUNC(i64* nonnull %sv_1, i64 %20) store i64 %20, i64* %.reg2mem5 br label LBL_6 LBL_6: %.reload6 = load i64, i64* %.reg2mem5 %22 = add i32 %storemerge23.reload, 1 %23 = sext i32 %22 to i64 %24 = icmp sgt i64 %.reload6, %23 store i64 %.reload6, i64* %.reg2mem store i32 %22, i32* %storemerge23.reg2mem br i1 %24, label LBL_3, label LBL_7 LBL_7: %25 = trunc i64 %.reload6 to i32 %.pre = load i64, i64* %sv_0, align 8 store i64 %.reload6, i64* %.reg2mem7 store i64 %.pre, i64* %.reg2mem9 store i32 %25, i32* %.reg2mem11 br label LBL_8 LBL_8: %.reload12 = load i32, i32* %.reg2mem11 %.reload10 = load i64, i64* %.reg2mem9 %.reload8 = load i64, i64* %.reg2mem7 %26 = mul i32 %.reload12, 4 %27 = sub nsw i32 32, %26 %28 = sext i32 %27 to i64 %29 = add i64 %.reload10, %28 store i64 %29, i64* %sv_0, align 8 %30 = icmp ugt i64 %6, %29 store i64 %.reload8, i64* %.reg2mem13 store i64 %29, i64* %.reg2mem15 store i32 %.reload12, i32* %.reg2mem17 br i1 %30, label LBL_9, label LBL_10 LBL_9: %.reload18 = load i32, i32* %.reg2mem17 %.reload16 = load i64, i64* %.reg2mem15 %.reload14 = load i64, i64* %.reg2mem13 %31 = icmp eq i32 %.reload18, 0 store i64 %.reload14, i64* %.reg2mem store i32 0, i32* %storemerge23.reg2mem store i64 %.reload14, i64* %.reg2mem7 store i64 %.reload16, i64* %.reg2mem9 store i32 0, i32* %.reg2mem11 br i1 %31, label LBL_8, label LBL_3 LBL_10: %32 = add i64 %1, 8 %33 = inttoptr i64 %32 to i32* store i32 0, i32* %33, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.reload14, { 1, 0 } uselistorder i64 %29, { 0, 2, 1 } uselistorder i64 %.reload6, { 0, 2, 3, 1 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %3, { 0, 2, 1, 3, 5, 4, 6 } uselistorder i64* %sv_0, { 2, 0, 3, 1 } uselistorder i64* %.reg2mem, { 1, 2, 0 } uselistorder i32* %storemerge23.reg2mem, { 1, 2, 0 } uselistorder i64* %.reg2mem5, { 0, 2, 1 } uselistorder i64* %.reg2mem7, { 1, 0, 2 } uselistorder i64* %.reg2mem9, { 1, 0, 2 } uselistorder i32* %.reg2mem11, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i64 65536, { 1, 0 } uselistorder i64 16777216, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 %arg4, { 1, 0, 2, 3 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
CompRealVul
DetectPrefilterBuildNonPrefilterList_9989
DetectPrefilterBuildNonPrefilterList
define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %.reg2mem7 = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %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 = icmp eq i32 %3, 0 store i32 0, i32* %.lcssa.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = trunc i64 %arg2 to i32 %6 = sub i32 0, %5 %7 = sub i32 %6, 1 %8 = add i64 %0, 12 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 16 store i32 %3, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %11 = mul nuw nsw i64 %indvars.iv.reload, 12 %12 = add i64 %11, %0 %13 = add i64 %12, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %12, 8 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = and i32 %15, %7 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i32 %.reload, i32* %.reg2mem7 br i1 %21, label LBL_5, label LBL_3 LBL_3: %22 = icmp ne i8 %18, 0 %23 = icmp eq i8 %18, %arg3 %24 = icmp eq i1 %23, false %or.cond = icmp eq i1 %22, %24 store i32 %.reload, i32* %.reg2mem7 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %25 = load i32, i32* %9, align 4 %26 = add i32 %25, 1 store i32 %26, i32* %9, align 4 %27 = inttoptr i64 %12 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %25 to i64 %30 = mul i64 %29, 4 %31 = add i64 %10, %30 %32 = inttoptr i64 %31 to i32* store i32 %28, i32* %32, align 4 %.pre = load i32, i32* %2, align 4 store i32 %.pre, i32* %.reg2mem7 br label LBL_5 LBL_5: %.reload8 = load i32, i32* %.reg2mem7 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = zext i32 %.reload8 to i64 %34 = icmp ult i64 %indvars.iv.next, %33 store i32 %.reload8, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %.reload8, i32* %.lcssa.reg2mem br i1 %34, label LBL_2, label LBL_6 LBL_6: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %35 = zext i32 %.lcssa.reload to i64 ret i64 %35 uselistorder i32 %.reload8, { 0, 2, 1 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem7, { 0, 2, 3, 1 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
get_param_17428
get_param
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_8 LBL_1: %2 = icmp eq i32 %arg4, 0 %3 = icmp eq i1 %2, false store i64 %arg1, i64* %storemerge.reg2mem br i1 %3, label LBL_2, label LBL_3 LBL_2: %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %7 = icmp eq i64 %arg2, 0 br i1 %7, label LBL_6, label LBL_4 LBL_4: %8 = inttoptr i64 %arg2 to i8* %9 = call i32 @strlen(i8* %8) %10 = sext i32 %9 to i64 %11 = call i64 @FUNC(i64 %storemerge.reload, i64 %arg2, i64 %10, i64* nonnull %sv_0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, -1 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_8, label LBL_5 LBL_5: %14 = load i64, i64* %sv_0, align 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 store i64 %16, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %17 = zext i32 %arg3 to i64 %18 = call i64 @FUNC(i64 %storemerge.reload, i64 %17, i64* nonnull %sv_0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, -1 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = load i64, i64* %sv_0, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 store i64 %23, 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* %sv_0, { 2, 0, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 1, 3 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_8, { 3, 1, 4, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
task_clock_event_init_70
task_clock_event_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 2 store i64 1, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = call i64 @FUNC(i64 %4) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 2, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
CompRealVul
RegenerateThumbnail_12054
RegenerateThumbnail
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_5 LBL_2: %5 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %6 = load i32, i32* @gv_1, align 4 %7 = zext i32 %5 to i64 %8 = zext i32 %6 to i64 %9 = bitcast i64* %sv_0 to i8* %10 = inttoptr i64 %arg1 to i8* %11 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %9, i32 8242, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %7, i8* %10) %12 = call i32 @system(i8* nonnull %9) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %arg1) store i64 %15, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %16 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder label LBL_5, { 2, 3, 1, 0 } }
1
CompRealVul
ReadType_8027
ReadType
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %.pre2.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.pre.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = ptrtoint i32* %arg1 to i64 br i1 %6, label LBL_1, label LBL_2 LBL_1: %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_1, label LBL_2 LBL_2: %13 = ptrtoint i64* %arg2 to i64 %14 = bitcast i64* %rdi to i32* %15 = trunc i64 %1 to i32 store i32 %15, i32* %.pre2.reg2mem store i64 %13, i64* %sv_1.1.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_6 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %16 = icmp sgt i32 %sv_0.0.reload, 255 store i32 %.pre2.reload, i32* %.pre.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = add i64 %sv_1.1.reload, 1 %18 = trunc i32 %.pre2.reload to i8 %19 = inttoptr i64 %sv_1.1.reload to i8* store i8 %18, i8* %19, align 1 %.pre.pre = load i32, i32* %14, align 8 store i32 %.pre.pre, i32* %.pre.reg2mem store i64 %17, i64* %sv_1.0.reg2mem br label LBL_5 LBL_5: %20 = add i32 %sv_0.0.reload, 1 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.pre.reload = load i32, i32* %.pre.reg2mem %21 = call i64 @FUNC(i64 %7) store i32 %.pre.reload, i32* %.pre2.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i32 %20, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %.pre2.reload = load i32, i32* %.pre2.reg2mem switch i32 %.pre2.reload, label LBL_7 [ i32 13, label LBL_8 i32 10, label LBL_8 i32 9, label LBL_8 ] LBL_7: %22 = icmp eq i32 %.pre2.reload, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_3, label LBL_8 LBL_8: %24 = inttoptr i64 %sv_1.1.reload to i8* store i8 0, i8* %24, align 1 ret i64 %sv_1.1.reload uselistorder i32 %.pre2.reload, { 0, 1, 3, 2 } uselistorder i64 %sv_1.1.reload, { 3, 2, 4, 0, 1 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %.pre2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @NextCh, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 2, 0, 3, 1 } uselistorder i64 (i64)* @isseparator, { 1, 0 } uselistorder label LBL_8, { 3, 0, 1, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
nbd_negotiate_handle_list_6715
nbd_negotiate_handle_list
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_1, label LBL_2 LBL_1: %storemerge2 = load i64, i64* @gv_0, align 8 %3 = icmp eq i64 %storemerge2, 0 %4 = icmp eq i1 %3, false store i64 %storemerge2, i64* %storemerge3.reg2mem br i1 %4, label LBL_4, label LBL_6 LBL_2: %5 = and i64 %arg2, 4294967295 %6 = call i64 @FUNC(i64 %0, i64 %5, i64 0) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_7 LBL_3: %10 = call i64 @FUNC(i64 %0, i64 1, i64 2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0)) store i64 %10, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %11 = call i64 @FUNC(i64 %0, i64 %storemerge3.reload) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_7 LBL_5: %14 = inttoptr i64 %storemerge3.reload to i64* %storemerge = load i64, i64* %14, align 8 %15 = icmp eq i64 %storemerge, 0 %16 = icmp eq i1 %15, false store i64 %storemerge, i64* %storemerge3.reg2mem br i1 %16, label LBL_4, label LBL_6 LBL_6: %17 = call i64 @FUNC(i64 %0, i64 0, i64 2) store i64 %17, 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 %0, { 3, 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_7, { 2, 0, 3, 1 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
decode_0_7401
decode_0
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.377.reg2mem = alloca i32 %sv_1.278.reg2mem = alloca i32 %sv_2.379.reg2mem = alloca i32 %sv_3.580.reg2mem = alloca i64 %sv_4.381.reg2mem = alloca i64 %sv_5.382.reg2mem = alloca i64 %.reg2mem196 = alloca i32 %.reg2mem194 = alloca i32 %.lcssa44.reg2mem = alloca i64 %sv_5.2.lcssa.reg2mem = alloca i64 %sv_4.2.lcssa.reg2mem = alloca i64 %sv_3.4.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_0.2.lcssa.reg2mem = alloca i32 %.reg2mem192 = alloca i32 %.reg2mem = alloca i32 %sv_6.0.reg2mem = alloca i32 %sv_6.0.ph14.reg2mem = alloca i32 %sv_5.1.ph13.reg2mem = alloca i64 %sv_4.1.ph12.reg2mem = alloca i64 %sv_5.0.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i64 %sv_7.4.reg2mem = alloca i64 %sv_7.3.reg2mem = alloca i64 %sv_6.0.ph.reg2mem = alloca i32 %sv_5.1.ph.reg2mem = alloca i64 %sv_4.1.ph.reg2mem = alloca i64 %sv_0.1.ph.reg2mem = alloca i32 %sv_7.2.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_7.1.reg2mem = alloca i64 %sv_0.266.reg2mem = alloca i32 %sv_1.167.reg2mem = alloca i32 %sv_3.468.reg2mem = alloca i64 %sv_8.069.reg2mem = alloca i32 %sv_4.270.reg2mem = alloca i64 %sv_5.271.reg2mem = alloca i64 %sv_3.2.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %.pre-phi122.reg2mem = alloca i64* %.pre-phi126.reg2mem = alloca i32* %.pre-phi191.reg2mem = alloca i64 %sv_7.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %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 = add i64 %5, 20 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_0.LBL_10_crit_edge, label LBL_2 LBL_1: %.pre121 = inttoptr i64 %5 to i64* %.pre123 = add i64 %5, 12 %.pre125 = inttoptr i64 %.pre123 to i32* %.pre189 = mul i64 %1, 12884901888 %.pre190 = ashr exact i64 %.pre189, 32 store i64 %.pre190, i64* %.pre-phi191.reg2mem store i32* %.pre125, i32** %.pre-phi126.reg2mem store i64* %.pre121, i64** %.pre-phi122.reg2mem store i32 0, i32* %sv_2.1.reg2mem br label LBL_10 LBL_2: %10 = and i64 %arg2, 16 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %6) %13 = trunc i64 %12 to i32 %14 = urem i32 %13, 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = sub nsw i32 4, %14 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %6, i64 %17) br label LBL_5 LBL_5: %19 = inttoptr i64 %5 to i64* %20 = add i64 %5, 12 %21 = inttoptr i64 %20 to i32* %sext = mul i64 %1, 12884901888 %22 = ashr exact i64 %sext, 32 store i32 %8, i32* %sv_2.0.reg2mem br label LBL_6 LBL_6: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %23 = call i64 @FUNC(i64 %6) %24 = call i64 @FUNC(i64 %6) %25 = trunc i64 %24 to i8 %26 = load i64, i64* %19, align 8 %27 = udiv i64 %23, 8 %28 = and i64 %27, 24 %29 = add i64 %26, %28 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = urem i64 %23, 256 %33 = call i64 @FUNC(i64 %2, i64 %32, i8 %25) %sext4 = mul i64 %33, 4294967296 %34 = ashr exact i64 %sext4, 32 %35 = add i64 %34, %31 %36 = load i64, i64* %19, align 8 %37 = add i64 %36, %28 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = load i32, i32* %21, align 4 %41 = sext i32 %40 to i64 %42 = add i64 %39, %41 %43 = trunc i64 %24 to i32 %44 = mul i32 %43, 2 %45 = and i32 %44, 254 %46 = call i64 @FUNC(i64 %6) %47 = trunc i64 %46 to i32 %48 = add i32 %45, %47 store i64 %35, i64* %sv_3.0.reg2mem store i32 %45, i32* %sv_7.0.reg2mem br label LBL_7 LBL_7: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %49 = add i64 %sv_3.0.reload, 4 %50 = add i64 %49, %22 %51 = icmp ult i64 %42, %50 %52 = icmp eq i1 %51, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %52, label LBL_8, label LBL_33 LBL_8: %sv_7.0.reload = load i32, i32* %sv_7.0.reg2mem %53 = add nuw i32 %sv_7.0.reload, 1 %54 = call i64 @FUNC(i64 %2, i64 %sv_3.0.reload) %55 = urem i32 %53, 64 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false %.pre-phi = select i1 %57, i64 %49, i64 %50 %58 = icmp ult i32 %53, %48 store i64 %.pre-phi, i64* %sv_3.0.reg2mem store i32 %53, i32* %sv_7.0.reg2mem br i1 %58, label LBL_7, label LBL_9 LBL_9: %59 = add i32 %sv_2.0.reload, -1 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false store i32 %59, i32* %sv_2.0.reg2mem store i64 %22, i64* %.pre-phi191.reg2mem store i32* %21, i32** %.pre-phi126.reg2mem store i64* %19, i64** %.pre-phi122.reg2mem store i32 %59, i32* %sv_2.1.reg2mem br i1 %61, label LBL_6, label LBL_10 LBL_10: %62 = ptrtoint i64* %arg3 to i64 %63 = trunc i64 %1 to i32 %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %.pre-phi122.reload = load i64*, i64** %.pre-phi122.reg2mem %.pre-phi126.reload = load i32*, i32** %.pre-phi126.reg2mem %.pre-phi191.reload = load i64, i64* %.pre-phi191.reg2mem %64 = load i64, i64* %.pre-phi122.reload, align 8 %65 = add i64 %5, 8 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = sext i32 %67 to i64 %69 = mul i64 %68, 8 %70 = add i64 %69, %64 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = add i64 %5, 16 %74 = inttoptr i64 %73 to i32* %75 = add nsw i64 %.pre-phi191.reload, 4 store i32 %sv_2.1.reload, i32* %sv_2.2.reg2mem store i64 %72, i64* %sv_3.2.reg2mem br label LBL_11 LBL_11: %76 = call i64 @FUNC(i64 %6) %77 = call i64 @FUNC(i64 %6) %78 = trunc i64 %77 to i8 %79 = load i64, i64* %.pre-phi122.reload, align 8 %80 = udiv i64 %76, 8 %81 = and i64 %80, 24 %82 = add i64 %79, %81 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = urem i64 %76, 256 %86 = call i64 @FUNC(i64 %2, i64 %85, i8 %78) %sext5 = mul i64 %86, 4294967296 %87 = ashr exact i64 %sext5, 32 %88 = add i64 %87, %84 %89 = load i64, i64* %.pre-phi122.reload, align 8 %90 = add i64 %89, %81 %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 %93 = load i32, i32* %.pre-phi126.reload, align 4 %94 = sext i32 %93 to i64 %95 = add i64 %92, %94 %96 = add i64 %75, %88 %97 = icmp ult i64 %95, %96 %98 = icmp eq i1 %97, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %98, label LBL_12, label LBL_33 LBL_12: %sv_3.2.reload = load i64, i64* %sv_3.2.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %99 = call i64 @FUNC(i64 %sv_3.2.reload, i64 %88, i32 %63, i32 %63, i64 4) %100 = add i32 %sv_2.2.reload, 1 %101 = urem i32 %100, 64 %102 = icmp eq i32 %101, 0 %103 = icmp eq i1 %102, false %104 = select i1 %103, i64 0, i64 %.pre-phi191.reload %spec.select = add i64 %sv_3.2.reload, 4 %105 = add i64 %spec.select, %104 %106 = load i32, i32* %74, align 4 %107 = sdiv i32 %106, 32768 %108 = zext i32 %107 to i64 %109 = sext i32 %100 to i64 %110 = icmp slt i64 %109, %108 store i32 %100, i32* %sv_2.2.reg2mem store i64 %105, i64* %sv_3.2.reg2mem br i1 %110, label LBL_11, label LBL_13 LBL_13: %111 = call i64 @FUNC(i64 %6) %112 = trunc i64 %111 to i32 %113 = call i64 @FUNC(i64 %6, i64 2) %114 = call i64 @FUNC(i64 %6) %115 = trunc i64 %114 to i32 %116 = icmp ugt i32 %112, %115 store i64 4294967295, i64* %rax.0.reg2mem br i1 %116, label LBL_33, label LBL_14 LBL_14: %117 = call i64 @FUNC(i64 %6) %118 = and i64 %111, 4294967295 %119 = call i64 @FUNC(i64 %6, i64 %118) %120 = add i64 %2, 4 %121 = inttoptr i64 %120 to i32* %122 = load i32, i32* %121, align 4 %123 = icmp eq i32 %122, 0 store i64 0, i64* %rax.0.reg2mem br i1 %123, label LBL_33, label LBL_15 LBL_15: %sext6 = mul i64 %117, 4294967296 %124 = ashr exact i64 %sext6, 32 %125 = add i64 %124, %62 %126 = load i32, i32* %66, align 4 %127 = sext i32 %126 to i64 %128 = mul i64 %127, 8 %129 = load i64, i64* %.pre-phi122.reload, align 8 %130 = add i64 %128, %129 %131 = inttoptr i64 %130 to i64* %132 = load i64, i64* %131, align 8 %133 = mul i64 %1, 2 %sext132 = mul i64 %1, 4294967296 %134 = ashr exact i64 %sext132, 32 %135 = add nsw i64 %134, 4 %136 = and i64 %1, 4294967295 store i32 %122, i32* %.reg2mem194 store i32 %63, i32* %.reg2mem196 store i64 %95, i64* %sv_5.382.reg2mem store i64 %88, i64* %sv_4.381.reg2mem store i64 %132, i64* %sv_3.580.reg2mem store i32 0, i32* %sv_2.379.reg2mem store i32 0, i32* %sv_1.278.reg2mem store i32 0, i32* %sv_0.377.reg2mem br label LBL_32 LBL_16: %sv_1.167.reload = load i32, i32* %sv_1.167.reg2mem %137 = icmp ugt i32 %sv_1.167.reload, %112 %138 = icmp eq i1 %137, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %138, label LBL_17, label LBL_33 LBL_17: %sv_0.266.reload = load i32, i32* %sv_0.266.reg2mem %sv_3.468.reload = load i64, i64* %sv_3.468.reg2mem %sv_8.069.reload = load i32, i32* %sv_8.069.reg2mem %sv_4.270.reload = load i64, i64* %sv_4.270.reg2mem %sv_5.271.reload = load i64, i64* %sv_5.271.reg2mem %139 = and i32 %sv_8.069.reload, 4 %140 = icmp eq i32 %139, 0 %141 = sext i32 %sv_1.167.reload to i64 %142 = add i64 %125, %141 %143 = inttoptr i64 %142 to i8* %144 = load i8, i8* %143, align 1 %145 = urem i8 %144, 16 %146 = udiv i8 %144, 16 %not. = icmp ne i1 %140, true %147 = zext i1 %not. to i32 %sv_1.0.ph = add i32 %sv_1.167.reload, %147 %sv_9.0.ph.in = select i1 %140, i8 %146, i8 %145 %148 = mul i8 %sv_9.0.ph.in, 16 %149 = zext i8 %148 to i64 store i32 %sv_0.266.reload, i32* %sv_0.1.ph.reg2mem store i64 %sv_4.270.reload, i64* %sv_4.1.ph.reg2mem store i64 %sv_5.271.reload, i64* %sv_5.1.ph.reg2mem store i32 0, i32* %sv_6.0.ph.reg2mem br label LBL_22 LBL_18: %150 = add i32 %sv_6.0.reload, 1 %151 = urem i32 %197, 256 %152 = zext i32 %151 to i64 store i64 %152, i64* @0, align 8 %trunc = trunc i32 %197 to i8 store i64 %133, i64* %sv_7.1.reg2mem store i32 %sv_0.1.ph.reload, i32* %sv_0.0.reg2mem store i64 %133, i64* %sv_7.2.reg2mem store i64 %133, i64* %sv_7.3.reg2mem store i64 %133, i64* %sv_7.4.reg2mem store i64 %sv_4.1.ph12.reload, i64* %sv_4.0.reg2mem store i64 %sv_5.1.ph13.reload, i64* %sv_5.0.reg2mem store i32 %150, i32* %sv_6.0.reg2mem switch i8 %trunc, label LBL_28 [ i8 2, label LBL_19 i8 3, label LBL_20 i8 4, label LBL_21 i8 5, label LBL_23 i8 6, label LBL_24 i8 7, label LBL_25 ] LBL_19: store i64 0, i64* %sv_7.1.reg2mem br label LBL_20 LBL_20: %sv_7.1.reload = load i64, i64* %sv_7.1.reg2mem %153 = call i64 @FUNC(i64 %6) %154 = trunc i64 %153 to i32 %sext8 = mul i32 %154, 16777216 %155 = ashr exact i32 %sext8, 24 store i32 %155, i32* %sv_0.0.reg2mem store i64 %sv_7.1.reload, i64* %sv_7.2.reg2mem br label LBL_21 LBL_21: %sv_7.2.reload = load i64, i64* %sv_7.2.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %156 = call i64 @FUNC(i64 %6) %157 = trunc i64 %156 to i8 %158 = and i64 %sv_7.2.reload, 4294967295 %159 = add i64 %158, %sv_3.468.reload %160 = urem i32 %sv_0.0.reload, 256 %161 = zext i32 %160 to i64 %162 = call i64 @FUNC(i64 %2, i8 %157, i64 %159, i64 %161) store i32 %sv_0.0.reload, i32* %sv_0.1.ph.reg2mem store i64 %sv_4.1.ph12.reload, i64* %sv_4.1.ph.reg2mem store i64 %sv_5.1.ph13.reload, i64* %sv_5.1.ph.reg2mem store i32 %150, i32* %sv_6.0.ph.reg2mem br label LBL_22 LBL_22: %sv_6.0.ph.reload = load i32, i32* %sv_6.0.ph.reg2mem %sv_5.1.ph.reload = load i64, i64* %sv_5.1.ph.reg2mem %sv_4.1.ph.reload = load i64, i64* %sv_4.1.ph.reg2mem %sv_0.1.ph.reload = load i32, i32* %sv_0.1.ph.reg2mem store i64 %sv_4.1.ph.reload, i64* %sv_4.1.ph12.reg2mem store i64 %sv_5.1.ph.reload, i64* %sv_5.1.ph13.reg2mem store i32 %sv_6.0.ph.reload, i32* %sv_6.0.ph14.reg2mem br label LBL_2211 LBL_23: store i64 0, i64* %sv_7.3.reg2mem br label LBL_24 LBL_24: %sv_7.3.reload = load i64, i64* %sv_7.3.reg2mem %163 = call i64 @FUNC(i64 %6) %164 = call i64 @FUNC(i64 %6) %165 = trunc i64 %164 to i8 %166 = load i64, i64* %.pre-phi122.reload, align 8 %167 = udiv i64 %163, 8 %168 = and i64 %167, 24 %169 = add i64 %166, %168 %170 = inttoptr i64 %169 to i64* %171 = load i64, i64* %170, align 8 %172 = urem i64 %163, 256 %173 = call i64 @FUNC(i64 %2, i64 %172, i8 %165) %sext7 = mul i64 %173, 4294967296 %174 = ashr exact i64 %sext7, 32 %175 = add i64 %174, %171 %176 = load i64, i64* %.pre-phi122.reload, align 8 %177 = add i64 %176, %168 %178 = inttoptr i64 %177 to i64* %179 = load i64, i64* %178, align 8 %180 = load i32, i32* %.pre-phi126.reload, align 4 %181 = sext i32 %180 to i64 %182 = add i64 %179, %181 store i64 %sv_7.3.reload, i64* %sv_7.4.reg2mem store i64 %175, i64* %sv_4.0.reg2mem store i64 %182, i64* %sv_5.0.reg2mem br label LBL_25 LBL_25: %sv_5.0.reload = load i64, i64* %sv_5.0.reg2mem %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %sv_7.4.reload = load i64, i64* %sv_7.4.reg2mem %183 = and i64 %sv_7.4.reload, 4294967295 %184 = add i64 %sv_4.0.reload, %183 %185 = add i64 %135, %184 %186 = icmp ult i64 %sv_5.0.reload, %185 %187 = icmp eq i1 %186, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %187, label LBL_26, label LBL_33 LBL_26: %188 = call i64 @FUNC(i64 %6) %189 = trunc i64 %188 to i8 %190 = add i64 %183, %sv_3.468.reload %191 = call i64 @FUNC(i64 %2, i8 %189, i64 %190, i64 %184) store i64 %sv_4.0.reload, i64* %sv_4.1.ph12.reg2mem store i64 %sv_5.0.reload, i64* %sv_5.1.ph13.reg2mem store i32 %150, i32* %sv_6.0.ph14.reg2mem br label LBL_2211 LBL_27: %sv_6.0.ph14.reload = load i32, i32* %sv_6.0.ph14.reg2mem %sv_5.1.ph13.reload = load i64, i64* %sv_5.1.ph13.reg2mem %sv_4.1.ph12.reload = load i64, i64* %sv_4.1.ph12.reg2mem store i32 %sv_6.0.ph14.reload, i32* %sv_6.0.reg2mem br label LBL_28 LBL_28: %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem %192 = sext i32 %sv_6.0.reload to i64 %193 = add nsw i64 %192, %149 %194 = mul i64 %193, 4 %195 = add i64 %194, ptrtoint (i32** @gv_0 to i64) %196 = inttoptr i64 %195 to i32* %197 = load i32, i32* %196, align 4 %198 = icmp eq i32 %197, 0 %199 = icmp eq i1 %198, false br i1 %199, label LBL_18, label LBL_29 LBL_29: %200 = add i32 %sv_8.069.reload, 4 %201 = add i64 %sv_3.468.reload, 4 %202 = sext i32 %200 to i64 %203 = icmp sgt i64 %136, %202 store i64 %sv_5.1.ph13.reload, i64* %sv_5.271.reg2mem store i64 %sv_4.1.ph12.reload, i64* %sv_4.270.reg2mem store i32 %200, i32* %sv_8.069.reg2mem store i64 %201, i64* %sv_3.468.reg2mem store i32 %sv_1.0.ph, i32* %sv_1.167.reg2mem store i32 %sv_0.1.ph.reload, i32* %sv_0.266.reg2mem br i1 %203, label LBL_16, label LBL_30 LBL_30: %.pre = load i32, i32* %121, align 4 store i32 %.pre, i32* %.reg2mem store i32 %63, i32* %.reg2mem192 store i32 %sv_0.1.ph.reload, i32* %sv_0.2.lcssa.reg2mem store i32 %sv_1.0.ph, i32* %sv_1.1.lcssa.reg2mem store i64 %201, i64* %sv_3.4.lcssa.reg2mem store i64 %sv_4.1.ph12.reload, i64* %sv_4.2.lcssa.reg2mem store i64 %sv_5.1.ph13.reload, i64* %sv_5.2.lcssa.reg2mem br label LBL_31 LBL_31: %.lcssa44.reload = load i64, i64* %.lcssa44.reg2mem %sv_5.2.lcssa.reload = load i64, i64* %sv_5.2.lcssa.reg2mem %sv_4.2.lcssa.reload = load i64, i64* %sv_4.2.lcssa.reg2mem %sv_3.4.lcssa.reload = load i64, i64* %sv_3.4.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %.reload193 = load i32, i32* %.reg2mem192 %.reload = load i32, i32* %.reg2mem %204 = add i32 %sv_2.379.reload, 4 %sext131 = mul i64 %.lcssa44.reload, 12884901888 %205 = ashr exact i64 %sext131, 32 %206 = add i64 %205, %sv_3.4.lcssa.reload %207 = zext i32 %.reload to i64 %208 = sext i32 %204 to i64 %209 = icmp slt i64 %208, %207 store i32 %.reload, i32* %.reg2mem194 store i32 %.reload193, i32* %.reg2mem196 store i64 %sv_5.2.lcssa.reload, i64* %sv_5.382.reg2mem store i64 %sv_4.2.lcssa.reload, i64* %sv_4.381.reg2mem store i64 %206, i64* %sv_3.580.reg2mem store i32 %204, i32* %sv_2.379.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.278.reg2mem store i32 %sv_0.2.lcssa.reload, i32* %sv_0.377.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %209, label LBL_32, label LBL_33 LBL_32: %sv_0.377.reload = load i32, i32* %sv_0.377.reg2mem %sv_1.278.reload = load i32, i32* %sv_1.278.reg2mem %sv_2.379.reload = load i32, i32* %sv_2.379.reg2mem %sv_3.580.reload = load i64, i64* %sv_3.580.reg2mem %sv_4.381.reload = load i64, i64* %sv_4.381.reg2mem %sv_5.382.reload = load i64, i64* %sv_5.382.reg2mem %.reload197 = load i32, i32* %.reg2mem196 %.reload195 = load i32, i32* %.reg2mem194 %210 = icmp eq i32 %.reload197, 0 store i64 %sv_5.382.reload, i64* %sv_5.271.reg2mem store i64 %sv_4.381.reload, i64* %sv_4.270.reg2mem store i32 0, i32* %sv_8.069.reg2mem store i64 %sv_3.580.reload, i64* %sv_3.468.reg2mem store i32 %sv_1.278.reload, i32* %sv_1.167.reg2mem store i32 %sv_0.377.reload, i32* %sv_0.266.reg2mem store i32 %.reload195, i32* %.reg2mem store i32 0, i32* %.reg2mem192 store i32 %sv_0.377.reload, i32* %sv_0.2.lcssa.reg2mem store i32 %sv_1.278.reload, i32* %sv_1.1.lcssa.reg2mem store i64 %sv_3.580.reload, i64* %sv_3.4.lcssa.reg2mem store i64 %sv_4.381.reload, i64* %sv_4.2.lcssa.reg2mem store i64 %sv_5.382.reload, i64* %sv_5.2.lcssa.reg2mem store i64 0, i64* %.lcssa44.reg2mem br i1 %210, label LBL_31, label LBL_16 LBL_33: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_5.382.reload, { 1, 0 } uselistorder i64 %sv_4.381.reload, { 1, 0 } uselistorder i64 %sv_3.580.reload, { 1, 0 } uselistorder i32 %sv_1.278.reload, { 1, 0 } uselistorder i32 %sv_0.377.reload, { 1, 0 } uselistorder i32 %197, { 2, 0, 1 } uselistorder i64 %sv_4.1.ph12.reload, { 0, 1, 3, 2 } uselistorder i64 %sv_5.1.ph13.reload, { 0, 1, 3, 2 } uselistorder i64 %184, { 1, 0 } uselistorder i64 %163, { 1, 0 } uselistorder i32 %150, { 1, 2, 0 } uselistorder i1 %140, { 1, 0 } uselistorder i32 %sv_1.167.reload, { 2, 1, 0 } uselistorder i32 %100, { 0, 2, 1 } uselistorder i64 %sv_3.2.reload, { 1, 0 } uselistorder i64 %88, { 0, 2, 1 } uselistorder i64 %76, { 1, 0 } uselistorder i64 %.pre-phi191.reload, { 1, 0 } uselistorder i32 %63, { 1, 0, 3, 2 } uselistorder i32 %53, { 0, 2, 1 } uselistorder i64 %49, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %6, { 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 2, 3, 4, 0, 1, 17 } uselistorder i64 %5, { 4, 5, 2, 3, 0, 1, 6 } uselistorder i64 %2, { 4, 3, 2, 5, 6, 0, 1, 7 } uselistorder i64 %1, { 2, 5, 4, 0, 1, 3 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_7.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.2.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.2.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_5.271.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_4.270.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_8.069.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_3.468.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.167.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.266.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_7.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_7.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_7.3.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_7.4.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_4.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_5.0.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem192, { 1, 0, 2 } uselistorder i32* %sv_0.2.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.4.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_4.2.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_5.2.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %.lcssa44.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 4, 6, 7, 2, 1 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 4, { 4, 0, 3, 5, 1, 2, 6, 7 } uselistorder i64 (i64)* @bytestream2_get_le16, { 1, 0 } uselistorder i64 (i64, i64, i8)* @get_video_page_offset, { 2, 1, 0 } uselistorder i64 (i64, i64)* @bytestream2_skip, { 1, 0 } uselistorder i32 4, { 4, 2, 3, 1, 0 } uselistorder i64 (i64)* @bytestream2_tell, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 32, { 2, 4, 1, 5, 6, 7, 3, 0 } uselistorder i64 12884901888, { 1, 2, 0 } uselistorder i64 12, { 1, 0 } uselistorder i32 0, { 3, 5, 7, 9, 4, 10, 0, 1, 2, 8, 11, 12, 13, 14, 6, 15 } uselistorder i64 (i64)* @bytestream2_get_byte, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 8, { 2, 0, 3, 1, 5, 4, 6 } uselistorder label LBL_33, { 2, 4, 3, 5, 6, 1, 0 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_2211, { 1, 0 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
1
CompRealVul
av_malloc_17373
av_malloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = icmp ult i64 %arg1, 2147483616 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_5 LBL_1: %1 = trunc i64 %arg1 to i32 %2 = add i32 %1, 32 %3 = call i64* @malloc(i32 %2) %4 = ptrtoint i64* %3 to i64 store i64 %4, i64* %sv_0, align 8 %5 = icmp eq i64* %3, null %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_5 LBL_2: %7 = urem i64 %4, 32 %8 = sub nsw i64 32, %7 %9 = add i64 %8, %4 store i64 %9, i64* %sv_0, align 8 %10 = add i64 %9, -1 %11 = trunc i64 %8 to i8 %12 = inttoptr i64 %10 to i8* store i8 %11, i8* %12, align 1 %13 = bitcast i64* %sv_0 to i64** %14 = call i32 @posix_memalign(i64** nonnull %13, i32 32, i32 %1) %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %sv_0, align 8 br label LBL_4 LBL_4: %16 = call i64* @memalign(i32 32, i32 %1) %17 = ptrtoint i64* %16 to i64 %sext = mul i64 %17, 4294967296 %18 = ashr exact i64 %sext, 32 store i64 %18, i64* %sv_0, align 8 %19 = call i64* @malloc(i32 %1) %20 = ptrtoint i64* %19 to i64 store i64 %20, i64* %sv_0, align 8 store i64 %20, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0 } uselistorder i64 %4, { 2, 1, 0, 3 } uselistorder i64* %sv_0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 32, { 1, 2, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
1
CompRealVul
utf16be_to_utf8_6074
utf16be_to_utf8
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem43 = alloca i64 %sv_0.0.lcssa.in.reg2mem = alloca i64 %sv_1.015.reg2mem = alloca i32 %sv_0.0.in16.reg2mem = alloca i64 %sv_1.0.ph.ph.reg2mem = alloca i32 %sv_2.110.ph.ph.reg2mem = alloca i32 %sv_0.118.in.reg2mem = alloca i64 %.reg2mem41 = alloca i32* %.reg2mem39 = alloca i64 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_3.0.be.reg2mem = alloca i32 %.reg2mem37 = alloca i32* %.reg2mem35 = alloca i32* %sv_3.020.reg2mem = alloca i32 %.reg2mem33 = alloca i32* %.reg2mem = alloca i64 %sv_4 = alloca i32*, align 8 %sext = mul i64 %arg2, 4294967296 store i32* %arg1, i32** %sv_4, align 8 %0 = icmp slt i64 %arg2, 0 %1 = trunc i64 %arg2 to i32 %2 = zext i1 %0 to i32 %3 = add i32 %2, %1 %4 = urem i32 %3, 2 %5 = sub nsw i32 %4, %2 %6 = icmp eq i32 %5, 1 %7 = icmp eq i1 %6, false %sext5 = add i64 %sext, -4294967296 %spec.select = select i1 %7, i64 %sext, i64 %sext5 %8 = udiv i64 %spec.select, 4294967296 %9 = trunc i64 %8 to i32 %10 = lshr i64 %spec.select, 63 %11 = trunc i64 %10 to i32 %12 = add i32 %11, %9 %13 = ashr i32 %12, 1 %14 = zext i32 %13 to i64 %15 = mul i64 %14, 2 %16 = ptrtoint i32* %arg1 to i64 %17 = add i64 %15, %16 %18 = icmp ugt i64 %17, %16 store i64 %16, i64* %.reg2mem store i32* %arg1, i32** %.reg2mem33 store i32 0, i32* %sv_3.020.reg2mem br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = bitcast i32** %sv_4 to i64* store i64 %16, i64* %19, align 8 %20 = call i64 @FUNC(i64 0, i64 0) store i64 %20, i64* %.reg2mem43 br label LBL_25 LBL_2: %sv_3.020.reload = load i32, i32* %sv_3.020.reg2mem %.reload34 = load i32*, i32** %.reg2mem33 %.reload = load i64, i64* %.reg2mem %21 = add i64 %.reload, 1 %22 = bitcast i32* %.reload34 to i8* %23 = load i8, i8* %22, align 1 %24 = zext i8 %23 to i32 %25 = inttoptr i64 %21 to i8* %26 = load i8, i8* %25, align 1 %27 = add i64 %.reload, 2 %28 = inttoptr i64 %27 to i32* store i32* %28, i32** %sv_4, align 8 %29 = and i32 %24, 252 %30 = icmp eq i32 %29, 216 %31 = icmp eq i1 %30, false store i32* %28, i32** %.reg2mem35 br i1 %31, label LBL_5, label LBL_3 LBL_3: %32 = icmp ugt i64 %17, %27 %33 = icmp eq i1 %32, false store i32 %sv_3.020.reload, i32* %sv_3.0.lcssa.reg2mem br i1 %33, label LBL_12, label LBL_4 LBL_4: %34 = inttoptr i64 %27 to i8* %35 = load i8, i8* %34, align 1 %36 = add i64 %.reload, 4 %37 = inttoptr i64 %36 to i32* store i32* %37, i32** %sv_4, align 8 %38 = and i8 %35, -4 %39 = icmp eq i8 %38, -36 %40 = icmp eq i1 %39, false store i32* %37, i32** %.reg2mem35 br i1 %40, label LBL_5, label LBL_11 LBL_5: %41 = mul i32 %24, 256 %42 = zext i8 %26 to i32 %43 = or i32 %41, %42 %.reload36 = load i32*, i32** %.reg2mem35 %44 = icmp ult i32 %43, 128 br i1 %44, label LBL_6, label LBL_8 LBL_6: %45 = add i32 %sv_3.020.reload, 1 store i32* %.reload36, i32** %.reg2mem37 store i32 %45, i32* %sv_3.0.be.reg2mem br label LBL_7 LBL_7: %sv_3.0.be.reload = load i32, i32* %sv_3.0.be.reg2mem %.reload38 = load i32*, i32** %.reg2mem37 %46 = ptrtoint i32* %.reload38 to i64 %47 = icmp ugt i64 %17, %46 store i64 %46, i64* %.reg2mem store i32* %.reload38, i32** %.reg2mem33 store i32 %sv_3.0.be.reload, i32* %sv_3.020.reg2mem store i32 %sv_3.0.be.reload, i32* %sv_3.0.lcssa.reg2mem br i1 %47, label LBL_2, label LBL_12 LBL_8: %48 = icmp ult i32 %43, 2048 br i1 %48, label LBL_9, label LBL_10 LBL_9: %49 = add i32 %sv_3.020.reload, 2 store i32* %.reload36, i32** %.reg2mem37 store i32 %49, i32* %sv_3.0.be.reg2mem br label LBL_7 LBL_10: %50 = add i32 %sv_3.020.reload, 3 store i32* %.reload36, i32** %.reg2mem37 store i32 %50, i32* %sv_3.0.be.reg2mem br label LBL_7 LBL_11: %51 = add i32 %sv_3.020.reload, 4 store i32* %37, i32** %.reg2mem37 store i32 %51, i32* %sv_3.0.be.reg2mem br label LBL_7 LBL_12: %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %52 = bitcast i32** %sv_4 to i64* store i64 %16, i64* %52, align 8 %53 = zext i32 %sv_3.0.lcssa.reload to i64 %54 = call i64 @FUNC(i64 0, i64 %53) store i64 %16, i64* %.reg2mem39 store i32* %arg1, i32** %.reg2mem41 store i64 %54, i64* %sv_0.118.in.reg2mem br label LBL_13 LBL_13: %sv_0.118.in.reload = load i64, i64* %sv_0.118.in.reg2mem %.reload42 = load i32*, i32** %.reg2mem41 %.reload40 = load i64, i64* %.reg2mem39 %sv_0.118 = inttoptr i64 %sv_0.118.in.reload to i8* %55 = add i64 %.reload40, 1 %56 = bitcast i32* %.reload42 to i8* %57 = load i8, i8* %56, align 1 %58 = zext i8 %57 to i32 %59 = mul i32 %58, 256 %60 = inttoptr i64 %55 to i8* %61 = load i8, i8* %60, align 1 %62 = zext i8 %61 to i32 %63 = or i32 %59, %62 %64 = add i64 %.reload40, 2 %65 = inttoptr i64 %64 to i32* store i32* %65, i32** %sv_4, align 8 %66 = and i32 %58, 252 %67 = icmp eq i32 %66, 216 %68 = icmp eq i1 %67, false br i1 %68, label LBL_17, label LBL_14 LBL_14: %69 = icmp ugt i64 %17, %64 %70 = icmp eq i1 %69, false store i64 %54, i64* %.reg2mem43 br i1 %70, label LBL_25, label LBL_15 LBL_15: %71 = add i64 %.reload40, 3 %72 = inttoptr i64 %64 to i8* %73 = load i8, i8* %72, align 1 %74 = zext i8 %73 to i32 %75 = inttoptr i64 %71 to i8* %76 = load i8, i8* %75, align 1 %77 = add i64 %.reload40, 4 %78 = inttoptr i64 %77 to i32* store i32* %78, i32** %sv_4, align 8 %79 = and i32 %74, 252 %80 = icmp eq i32 %79, 220 %81 = icmp eq i1 %80, false br i1 %81, label LBL_17, label LBL_16 LBL_16: %82 = mul i32 %74, 256 %83 = zext i8 %76 to i32 %84 = mul i32 %63, 1024 %85 = and i32 %84, 1047552 %.masked = and i32 %82, 768 %86 = or i32 %85, %83 %87 = or i32 %86, %.masked %88 = add nuw nsw i32 %87, 65536 %89 = udiv i32 %88, 262144 %90 = trunc i32 %89 to i8 %91 = urem i8 %90, 8 %92 = or i8 %91, -16 store i8 %92, i8* %sv_0.118, align 1 store i32 %88, i32* %sv_2.110.ph.ph.reg2mem store i32 12, i32* %sv_1.0.ph.ph.reg2mem br label LBL_22 LBL_17: %93 = icmp ult i32 %63, 128 br i1 %93, label LBL_21, label LBL_18 LBL_18: %94 = icmp ult i32 %63, 2048 br i1 %94, label LBL_19, label LBL_20 LBL_19: %95 = udiv i32 %63, 64 %96 = trunc i32 %95 to i8 %97 = urem i8 %96, 32 %98 = or i8 %97, -64 store i8 %98, i8* %sv_0.118, align 1 store i32 %63, i32* %sv_2.110.ph.ph.reg2mem store i32 0, i32* %sv_1.0.ph.ph.reg2mem br label LBL_22 LBL_20: %99 = udiv i8 %57, 16 %100 = or i8 %99, -32 store i8 %100, i8* %sv_0.118, align 1 store i32 %63, i32* %sv_2.110.ph.ph.reg2mem store i32 6, i32* %sv_1.0.ph.ph.reg2mem br label LBL_22 LBL_21: store i8 %61, i8* %sv_0.118, align 1 %sv_0.0.in13 = add i64 %sv_0.118.in.reload, 1 store i64 %sv_0.0.in13, i64* %sv_0.0.lcssa.in.reg2mem br label LBL_24 LBL_22: %sv_1.0.ph.ph.reload = load i32, i32* %sv_1.0.ph.ph.reg2mem %sv_2.110.ph.ph.reload = load i32, i32* %sv_2.110.ph.ph.reg2mem %sv_0.0.in1326 = add i64 %sv_0.118.in.reload, 1 store i64 %sv_0.0.in1326, i64* %sv_0.0.in16.reg2mem store i32 %sv_1.0.ph.ph.reload, i32* %sv_1.015.reg2mem br label LBL_23 LBL_23: %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem %sv_0.0.in16.reload = load i64, i64* %sv_0.0.in16.reg2mem %sv_0.017 = inttoptr i64 %sv_0.0.in16.reload to i8* %101 = and i32 %sv_1.015.reload, 30 %102 = lshr i32 %sv_2.110.ph.ph.reload, %101 %103 = trunc i32 %102 to i8 %104 = urem i8 %103, 64 %105 = or i8 %104, -128 store i8 %105, i8* %sv_0.017, align 1 %106 = add i32 %sv_1.015.reload, -6 %sv_0.0.in = add i64 %sv_0.0.in16.reload, 1 %107 = icmp slt i32 %106, 0 %108 = icmp eq i1 %107, false store i64 %sv_0.0.in, i64* %sv_0.0.in16.reg2mem store i32 %106, i32* %sv_1.015.reg2mem store i64 %sv_0.0.in, i64* %sv_0.0.lcssa.in.reg2mem br i1 %108, label LBL_23, label LBL_24 LBL_24: %sv_0.0.lcssa.in.reload = load i64, i64* %sv_0.0.lcssa.in.reg2mem %109 = load i32*, i32** %sv_4, align 8 %110 = ptrtoint i32* %109 to i64 %111 = icmp ugt i64 %17, %110 store i64 %110, i64* %.reg2mem39 store i32* %109, i32** %.reg2mem41 store i64 %sv_0.0.lcssa.in.reload, i64* %sv_0.118.in.reg2mem store i64 %54, i64* %.reg2mem43 br i1 %111, label LBL_13, label LBL_25 LBL_25: %.reload44 = load i64, i64* %.reg2mem43 ret i64 %.reload44 uselistorder i32 %63, { 0, 1, 3, 4, 5, 2 } uselistorder i32 %58, { 1, 0 } uselistorder i8* %sv_0.118, { 1, 3, 2, 0 } uselistorder i64 %.reload40, { 0, 2, 1, 3 } uselistorder i64 %sv_0.118.in.reload, { 1, 2, 0 } uselistorder i32* %.reload38, { 1, 0 } uselistorder i32 %sv_3.020.reload, { 1, 4, 3, 2, 0 } uselistorder i64 %17, { 2, 1, 4, 3, 0 } uselistorder i64 %16, { 0, 4, 3, 1, 5, 2 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i32** %sv_4, { 7, 6, 5, 1, 4, 3, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32** %.reg2mem33, { 2, 0, 1 } uselistorder i32* %sv_3.020.reg2mem, { 2, 0, 1 } uselistorder i32** %.reg2mem35, { 0, 2, 1 } uselistorder i32** %.reg2mem37, { 1, 2, 3, 0, 4 } uselistorder i32* %sv_3.0.be.reg2mem, { 1, 2, 3, 0, 4 } uselistorder i64* %.reg2mem39, { 1, 0, 2 } uselistorder i32** %.reg2mem41, { 1, 0, 2 } uselistorder i64* %sv_0.118.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.110.ph.ph.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_1.0.ph.ph.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.0.in16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.015.reg2mem, { 1, 0, 2 } uselistorder i32 2048, { 1, 0 } uselistorder i32 128, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i32 216, { 1, 0 } uselistorder i32 252, { 1, 2, 0 } uselistorder i64 1, { 2, 0, 1, 3, 4 } uselistorder i64 (i64, i64)* @sdsnewlen, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 2, { 1, 2, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_22, { 1, 2, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
__ext4_journal_stop_11784
__ext4_journal_stop
define i64 @FUNC(i8* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_2: %8 = trunc i64 %1 to i32 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2) %15 = icmp eq i32 %8, 0 %16 = trunc i64 %14 to i32 %spec.select3 = select i1 %15, i32 %16, i32 %8 store i32 %spec.select3, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_4: %17 = inttoptr i64 %11 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %2) %22 = icmp eq i32 %8, 0 %23 = icmp eq i1 %22, false %24 = trunc i64 %21 to i32 %spec.select = select i1 %23, i32 %8, i32 %24 %25 = icmp eq i32 %spec.select, 0 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = trunc i64 %arg2 to i32 %27 = ptrtoint i8* %arg1 to i64 %28 = call i64 @FUNC(i64 %20, i64 %27, i32 %26, i32 %spec.select) store i32 %spec.select, i32* %rax.0.shrunk.reg2mem br 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 %8, { 0, 1, 3, 2 } uselistorder i64 %2, { 0, 3, 1, 2, 4 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 (i64)* @jbd2_journal_stop, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 4, 1, 5 } uselistorder label LBL_6, { 2, 1, 0, 3 } }
1
CompRealVul
tpm_tis_initfn_212
tpm_tis_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1, i64 %2, i64* nonnull @gv_0, i64 %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 2) ret i64 %3 uselistorder i64 %1, { 1, 0, 2 } }
0
CompRealVul
cpu_copy_3230
cpu_copy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32* %1 = load i32*, i32** %0 %2 = load i32*, i32** %0 %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %5) %9 = inttoptr i64 %7 to i64* store i64 %5, i64* %9, align 8 %10 = ptrtoint i32* %2 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = load i32, i32* %2, align 4 %15 = call i64 @FUNC(i64 %5, i32 %14, i32 %13, i64 0) %16 = ptrtoint i32* %1 to i64 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %16, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = load i32, i32* %1, align 4 %24 = call i64 @FUNC(i64 %5, i32 %23, i32 %22, i32 %19, i64 0) ret i64 %7 uselistorder i32** %0, { 1, 0 } }
0
CompRealVul
flush_old_exec_11427
flush_old_exec
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %sv_0.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %0, i64 %8) %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %10, i64* %sv_0.0.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: store i64 0, i64* %arg1, align 8 %14 = load i64, i64* @gv_0, align 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = and i32 %16, -4 store i32 %17, i32* %15, align 4 %18 = call i64 @FUNC() %19 = load i64, i64* @gv_0, align 8 %20 = add i64 %19, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %5, 16 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sub i32 0, %25 %27 = sub i32 %26, 1 %28 = and i32 %22, %27 store i32 %28, i32* %21, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %29 = and i64 %sv_0.0.reload, 4294967295 store i64 %29, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
CompRealVul
jvp_literal_number_literal_13098
jvp_literal_number_literal
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = call i64 @FUNC(i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 ptrtoint ([5 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_6 LBL_3: %10 = call i64 @FUNC(i64 %5) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_6 LBL_4: %13 = inttoptr i64 %6 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %rax.0.reg2mem br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %0) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i32 %19, 14 %21 = sext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21) store i64 %22, i64* %13, align 8 %23 = call i64 @FUNC(i64 %5, i64 %22) %.pre = load i64, i64* %13, align 8 store i64 %.pre, 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 %0, { 1, 2, 3, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2, 3 } }
1
CompRealVul
vidioc_g_register_18373
vidioc_g_register
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %3, i64 %4) %6 = trunc i64 %5 to i32 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* store i32 4, i32* %10, align 4 ret i64 0 }
1
CompRealVul
bandwidth_pid_7499
bandwidth_pid
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem13 = alloca i8* %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8, align 1 %sv_4 = alloca i8*, align 8 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %sv_7 = alloca i8*, align 8 %sv_8 = alloca i64, align 8 %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC() %7 = icmp eq i64 %5, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %10 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_1 to i64*), i32 1, i32 27, %_IO_FILE* %9) call void @exit(i32 1) unreachable LBL_2: %11 = inttoptr i64 %5 to i8* %12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_1 to i64*), i32 1, i32 27, %_IO_FILE* %14) call void @exit(i32 1) unreachable LBL_4: %16 = sext i32 %arg4 to i64 %sext = mul i64 %arg1, 4294967296 %17 = ashr exact i64 %sext, 32 %18 = inttoptr i64 %5 to i64* call void @free(i64* %18) %19 = trunc i64 %17 to i32 %20 = bitcast i8** %sv_7 to i64* %21 = call i64 @FUNC(i64* nonnull %20, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i32 %19, i64 %16, i64 %arg5, i64 %1) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, -1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_6: %26 = load i8*, i8** %sv_7, align 8 %27 = bitcast i64* %sv_6 to %stat* %28 = call i32 @stat(i8* %26, %stat* nonnull %27) %29 = icmp eq i32 %28, -1 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %32 = call i32 @fwrite(i64* bitcast ([56 x i8]* @gv_5 to i64*), i32 1, i32 55, %_IO_FILE* %31) call void @exit(i32 1) unreachable LBL_8: %33 = and i64 %17, 4294967295 %34 = bitcast i32* %sv_5 to i64* %35 = call i64 @FUNC(i64 %33, i64* nonnull %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, -1 %38 = icmp eq i1 %37, false br i1 %38, label LBL_10, label LBL_9 LBL_9: %39 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %40 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_6 to i64*), i32 1, i32 41, %_IO_FILE* %39) call void @exit(i32 1) unreachable LBL_10: %41 = call i64 @FUNC() %42 = load i32, i32* %sv_5, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0)) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %48 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_6 to i64*), i32 1, i32 41, %_IO_FILE* %47) call void @exit(i32 1) unreachable LBL_12: %49 = inttoptr i64 %arg2 to i8* %50 = call i32 @strcmp(i8* %49, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0)) %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_14, label LBL_13 LBL_13: %53 = trunc i64 %arg5 to i32 %54 = call i64 @FUNC(i64 %33, i64 %arg3, i32 %arg4, i32 %53) br label LBL_16 LBL_14: %55 = call i32 @strcmp(i8* %49, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_9, i64 0, i64 0)) %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_16, label LBL_15 LBL_15: %58 = call i64 @FUNC(i64 %33, i64 %arg3) br label LBL_16 LBL_16: %59 = icmp eq i64 %arg3, 0 br i1 %59, label LBL_17, label LBL_18 LBL_17: store i64 0, i64* %sv_2, align 8 br label LBL_40 LBL_18: %60 = bitcast i8** %sv_4 to i64* %61 = call i64 @FUNC(i64* nonnull %60, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_10, i64 0, i64 0), i32 ptrtoint ([22 x i8]* @gv_11 to i32), i64 %33, i64 %arg5, i64 %1) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, -1 %64 = icmp eq i1 %63, false br i1 %64, label LBL_20, label LBL_19 LBL_19: %65 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_20: %66 = load i8*, i8** %sv_4, align 8 %67 = call %_IO_FILE* @fopen(i8* %66, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_12, i64 0, i64 0)) %68 = icmp eq %_IO_FILE* %67, null %69 = icmp eq i1 %68, false br i1 %69, label LBL_22, label LBL_21 LBL_21: %70 = load i8*, i8** %sv_4, align 8 %71 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %72 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %71, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_13, i64 0, i64 0), i8* %70) call void @exit(i32 1) unreachable LBL_22: %73 = inttoptr i64 %arg3 to i8* %74 = call i32 @strlen(i8* %73) %75 = call i8* @fgets(i8* nonnull %sv_3, i32 1024, %_IO_FILE* %67) %76 = icmp eq i8* %75, null %77 = icmp eq i1 %76, false store i8* null, i8** %sv_0.0.reg2mem br i1 %77, label LBL_23, label LBL_34 LBL_23: %78 = ptrtoint i64* %sv_8 to i64 %79 = sext i32 %74 to i64 %80 = add i64 %78, -1280 %81 = add i64 %80, %79 %82 = inttoptr i64 %81 to i8* br label LBL_24 LBL_24: %83 = call i8* @strchr(i8* nonnull %sv_3, i32 10) %84 = icmp eq i8* %83, null br i1 %84, label LBL_26, label LBL_25 LBL_25: store i8 0, i8* %83, align 1 br label LBL_26 LBL_26: %85 = load i8, i8* %sv_3, align 1 %86 = icmp eq i8 %85, 0 store i8* null, i8** %sv_0.0.reg2mem br i1 %86, label LBL_34, label LBL_27 LBL_27: %87 = call i32 @strncmp(i8* nonnull %sv_3, i8* %73, i32 %74) %88 = icmp eq i32 %87, 0 %89 = icmp eq i1 %88, false br i1 %89, label LBL_28, label LBL_29 LBL_28: %90 = call i8* @fgets(i8* nonnull %sv_3, i32 1024, %_IO_FILE* %67) %91 = icmp eq i8* %90, null %92 = icmp eq i1 %91, false store i8* null, i8** %sv_0.0.reg2mem br i1 %92, label LBL_24, label LBL_34 LBL_29: %93 = load i8, i8* %82, align 1 %94 = icmp eq i8 %93, 58 %95 = icmp eq i1 %94, false br i1 %95, label LBL_28, label LBL_30 LBL_30: %96 = ptrtoint i8* %sv_3 to i64 %97 = add i64 %96, 1 %98 = add i64 %97, %79 %99 = inttoptr i64 %98 to i8* %100 = call i8* @strdup(i8* %99) %101 = icmp eq i8* %100, null %102 = icmp eq i1 %101, false br i1 %102, label LBL_32, label LBL_31 LBL_31: %103 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0)) unreachable LBL_32: %104 = ptrtoint i8* %100 to i64 %105 = call i64 @FUNC(i64 %104) %106 = trunc i64 %105 to i32 %107 = icmp eq i32 %106, 0 %108 = icmp eq i1 %107, false store i8* %100, i8** %sv_0.0.reg2mem br i1 %108, label LBL_34, label LBL_33 LBL_33: %109 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %110 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %109, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_15, i64 0, i64 0), i8* %100) call void @exit(i32 1) unreachable LBL_34: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %111 = load i8*, i8** %sv_4, align 8 %112 = bitcast i8* %111 to i64* call void @free(i64* %112) %113 = call i32 @fclose(%_IO_FILE* %67) store i64 0, i64* %sv_2, align 8 %114 = icmp eq i8* %sv_0.0.reload, null br i1 %114, label LBL_40, label LBL_35 LBL_35: %115 = call i32 @strcmp(i8* %49, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0)) %116 = icmp eq i32 %115, 0 %117 = icmp eq i1 %116, false %118 = ptrtoint i8* %sv_0.0.reload to i64 br i1 %117, label LBL_38, label LBL_36 LBL_36: %119 = zext i32 %arg4 to i64 %120 = call i64 @FUNC(i64* nonnull %sv_2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_16, i64 0, i64 0), i32 ptrtoint ([18 x i8]* @gv_17 to i32), i64 %arg2, i64 %118, i64 %119) %121 = trunc i64 %120 to i32 %122 = icmp eq i32 %121, -1 %123 = icmp eq i1 %122, false br i1 %123, label LBL_42, label LBL_37 LBL_37: %124 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_38: %125 = call i64 @FUNC(i64* nonnull %sv_2, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_18, i64 0, i64 0), i32 ptrtoint ([18 x i8]* @gv_17 to i32), i64 %arg2, i64 %118, i64 %1) %126 = trunc i64 %125 to i32 %127 = icmp eq i32 %126, -1 %128 = icmp eq i1 %127, false br i1 %128, label LBL_42, label LBL_39 LBL_39: %129 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_40: %130 = call i64 @FUNC(i64* nonnull %sv_2, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_19, i64 0, i64 0), i32 ptrtoint ([18 x i8]* @gv_17 to i32), i64 %arg2, i64 %arg5, i64 %1) %131 = trunc i64 %130 to i32 %132 = icmp eq i32 %131, -1 %133 = icmp eq i1 %132, false br i1 %133, label LBL_42, label LBL_41 LBL_41: %134 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_42: %135 = load i64, i64* %sv_2, align 8 %136 = icmp eq i64 %135, 0 %137 = icmp eq i1 %136, false br i1 %137, label LBL_44, label LBL_43 LBL_43: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_20, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_21, i64 0, i64 0), i32 145, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_22, i64 0, i64 0)) br label LBL_44 LBL_44: store i64 0, i64* @gv_23, align 8 %138 = call i32 @setreuid(i32 0, i32 0) %139 = icmp eq i32 %138, 0 br i1 %139, label LBL_46, label LBL_45 LBL_45: %140 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_24, i64 0, i64 0)) unreachable LBL_46: %141 = call i32 @setregid(i32 0, i32 0) %142 = icmp eq i32 %141, 0 br i1 %142, label LBL_48, label LBL_47 LBL_47: %143 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_25, i64 0, i64 0)) unreachable LBL_48: %144 = load i8*, i8** @gv_26, align 8 %145 = icmp eq i8* %144, null %146 = icmp eq i1 %145, false %147 = ptrtoint i8* %144 to i64 store i64 %147, i64* %.reg2mem store i8* %144, i8** %.reg2mem13 br i1 %146, label LBL_50, label LBL_49 LBL_49: %148 = call i64 @FUNC() %149 = inttoptr i64 %148 to i8* store i8* %149, i8** @gv_26, align 8 store i64 %148, i64* %.reg2mem store i8* %149, i8** %.reg2mem13 br label LBL_50 LBL_50: %.reload14 = load i8*, i8** %.reg2mem13 %150 = icmp eq i8* %.reload14, null %151 = icmp eq i1 %150, false br i1 %151, label LBL_52, label LBL_51 LBL_51: %152 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %153 = call i32 @fwrite(i64* bitcast ([69 x i8]* @gv_27 to i64*), i32 1, i32 68, %_IO_FILE* %152) call void @exit(i32 1) unreachable LBL_52: %.reload = load i64, i64* %.reg2mem %154 = bitcast i8** %sv_1 to i64* store i64 %.reload, i64* %154, align 8 %155 = call i32 @clearenv() %156 = inttoptr i64 %.reload to i8* %157 = bitcast i8** %sv_1 to i8* %158 = insertvalue [1 x i8*] undef, i8* %157, 0 %159 = call i32 @execvp(i8* %156, [1 x i8*] %158) %160 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_28, i64 0, i64 0)) unreachable uselistorder i64 %.reload, { 1, 0 } uselistorder i64 %118, { 1, 0 } uselistorder i8* %100, { 1, 0, 2, 3 } uselistorder i32 %74, { 1, 0 } uselistorder %_IO_FILE* %67, { 1, 2, 0, 3 } uselistorder i64 %33, { 1, 2, 0, 3 } uselistorder i8** %sv_4, { 2, 1, 0, 3 } uselistorder i8* %sv_3, { 2, 5, 4, 1, 3, 0 } uselistorder i64* %sv_2, { 4, 1, 2, 3, 5, 0 } uselistorder i8** %sv_1, { 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i8** %sv_0.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem13, { 0, 2, 1 } uselistorder i8** @gv_26, { 1, 0 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i8* null, { 6, 7, 8, 4, 1, 9, 0, 5, 2, 3 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 } uselistorder i32 1024, { 1, 0 } uselistorder i64 (i8*)* @errExit, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64*, i8*, i32, i64, i64, i64)* @asprintf, { 4, 3, 2, 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i32 0, { 4, 0, 1, 5, 2, 3, 6, 7, 8, 9, 10, 11, 12 } uselistorder i32 (i8*, i8*)* @strcmp, { 3, 2, 1, 0 } uselistorder void (i32)* @exit, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 11, 0, 13, 14, 15, 16, 17, 18, 19, 20 } uselistorder i64 ()* @EUID_ROOT, { 1, 0 } uselistorder i64 %arg5, { 2, 1, 0, 3 } uselistorder i32 %arg4, { 1, 0, 2 } uselistorder i64 %arg3, { 2, 3, 1, 0 } uselistorder i64 %arg2, { 2, 1, 0, 3 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_34, { 3, 1, 0, 2 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_24, { 1, 0 } }
1
CompRealVul
nilfs_segctor_drop_written_files_3876
nilfs_segctor_drop_written_files
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.18.reg2mem = alloca i32 %.reg2mem9 = alloca i64 %.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32*, align 8 %sv_2 = alloca i32*, align 8 %4 = call i64 @FUNC(i64 %2) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %7, -24 %9 = inttoptr i64 %8 to i32* store i32* %9, i32** %sv_2, align 8 %storemerge.in.in.in4 = inttoptr i64 %7 to i64* %storemerge.in.in5 = load i64, i64* %storemerge.in.in.in4, align 8 %storemerge.in6 = add i64 %storemerge.in.in5, -24 %storemerge7 = inttoptr i64 %storemerge.in6 to i32* store i32* %storemerge7, i32** %sv_1, align 8 %10 = add i64 %7, -8 %11 = icmp eq i64 %10, %3 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %2) store i64 %13, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %14 = urem i64 %1, 2 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false %17 = add i64 %3, 24 %18 = bitcast i32** %sv_2 to i64* store i32* %9, i32** %.reg2mem store i64 %10, i64* %.reg2mem9 store i32 0, i32* %sv_0.18.reg2mem br label LBL_3 LBL_3: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %.reload10 = load i64, i64* %.reg2mem9 %19 = call i64 @FUNC(i64 1, i64 %.reload10) %20 = trunc i64 %19 to i8 %21 = icmp eq i8 %20, 1 %22 = icmp eq i1 %21, false store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br i1 %22, label LBL_8, label LBL_4 LBL_4: %.reload = load i32*, i32** %.reg2mem %23 = ptrtoint i32* %.reload to i64 %24 = add i64 %23, 16 %25 = call i64 @FUNC(i64 2, i64 %24) %26 = trunc i64 %25 to i8 %27 = icmp eq i8 %26, 0 %28 = icmp eq i1 %27, false store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br i1 %28, label LBL_8, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 3, i64 %24) %30 = add i64 %23, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32) store i64 0, i64* %31, align 8 %34 = load i32*, i32** %sv_2, align 8 %35 = ptrtoint i32* %34 to i64 %36 = add i64 %35, 24 %37 = call i64 @FUNC(i64 %36) %38 = load i32, i32* %34, align 4 %39 = icmp ne i32 %38, 0 %or.cond = icmp eq i1 %16, %39 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %40 = call i64 @FUNC(i64 %36, i64 %17) store i32 1, i32* %sv_0.0.reg2mem br label LBL_8 LBL_7: %41 = call i64 @FUNC(i64 %2) %42 = call i64 @FUNC(i64 %35) %43 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %44 = load i32*, i32** %sv_1, align 8 %45 = ptrtoint i32* %44 to i64 store i64 %45, i64* %18, align 8 %46 = add i64 %45, 24 %storemerge.in.in.in = inttoptr i64 %46 to i64* %storemerge.in.in = load i64, i64* %storemerge.in.in.in, align 8 %storemerge.in = add i64 %storemerge.in.in, -24 %storemerge = inttoptr i64 %storemerge.in to i32* store i32* %storemerge, i32** %sv_1, align 8 %47 = add i64 %45, 16 %48 = icmp eq i64 %47, %3 %49 = icmp eq i1 %48, false store i32* %44, i32** %.reg2mem store i64 %47, i64* %.reg2mem9 store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem br i1 %49, label LBL_3, label LBL_9 LBL_9: %50 = call i64 @FUNC(i64 %2) %51 = icmp eq i32 %sv_0.0.reload, 0 store i64 %50, i64* %rax.0.reg2mem br i1 %51, label LBL_11, label LBL_10 LBL_10: %52 = add i64 %3, 40 %53 = call i64 @FUNC(i64 %52) store i64 %53, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %45, { 2, 1, 0 } uselistorder i32** %sv_2, { 2, 0, 1 } uselistorder i32** %sv_1, { 2, 0, 1 } uselistorder i64 %3, { 1, 3, 2, 0, 4 } uselistorder i64 %2, { 1, 3, 2, 0, 4 } uselistorder i32** %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem9, { 1, 0, 2 } uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 24, { 0, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64)* @spin_unlock, { 1, 2, 0 } uselistorder i1 false, { 4, 2, 3, 1, 0 } uselistorder i64 -24, { 1, 0, 2 } uselistorder i64 (i64)* @spin_lock, { 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_8, { 2, 3, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
get_set_object_5932
get_set_object
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 store i8 0, i8* %sv_0, align 1 %5 = call i64 @FUNC(i64 %4, i8* nonnull %sv_0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = ptrtoint i8* %sv_0 to i64 %10 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %9, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %11 = load i8, i8* %sv_0, align 1 %12 = icmp eq i8 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_5 LBL_3: %13 = and i64 %5, 4294967295 %14 = call i64 @FUNC(i64 %4, i64 %13) %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = inttoptr i64 %14 to i32* store i32 1, i32* %16, align 4 store i64 %14, 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 i8* %sv_0, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
0
CompRealVul
callexp_12420
callexp
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) br label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1, i64 46) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1.backedge LBL_2: %4 = call i64 @FUNC(i64 %arg1, i64 91) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %arg1, i64 93) br label LBL_1.backedge LBL_4: br label LBL_1 LBL_5: %8 = call i64 @FUNC(i64 %arg1, i64 40) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_7, label LBL_6 LBL_6: %11 = call i64 @FUNC(i64 %arg1, i64 41) br label LBL_1.backedge LBL_7: ret i64 %0 uselistorder i64 (i64, i64)* @jsP_expect, { 1, 0 } uselistorder i64 (i64, i64)* @jsP_accept, { 2, 1, 0 } uselistorder label LBL_1.backedge, { 1, 0, 2 } }
1
CompRealVul
ntlm_av_pair_get_next_offset_7358
ntlm_av_pair_get_next_offset
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = icmp eq i64* %arg3, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %arg2, i64* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %7 = load i64, i64* %sv_0, align 8 %8 = add i64 %7, 264 store i64 %8, i64* %arg3, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64* null, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
CompRealVul
dec_ill_2118
dec_ill
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = urem i64 %3, 256 %6 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %4, i64 %2, i64 %1) ret i64 %6 uselistorder i64* %0, { 3, 2, 1, 0 } }
0
CompRealVul
usb_net_handle_data_15981
usb_net_handle_data
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 store i64 4294967295, i64* %sv_0.02.reg2mem switch i32 %3, label LBL_7 [ i32 1, label LBL_1 i32 2, label LBL_4 ] LBL_1: %4 = ptrtoint i32* %arg2 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 store i64 4294967295, i64* %sv_0.02.reg2mem switch i32 %7, label LBL_7 [ i32 1, label LBL_2 i32 2, label LBL_3 ] LBL_2: %8 = call i64 @FUNC(i64 %2, i64 %4) store i64 %8, i64* %sv_0.0.in.reg2mem br label LBL_6 LBL_3: %9 = call i64 @FUNC(i64 %2, i64 %4) store i64 %9, i64* %sv_0.0.in.reg2mem br label LBL_6 LBL_4: %10 = ptrtoint i32* %arg2 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 2 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %sv_0.02.reg2mem br i1 %15, label LBL_7, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %2, i64 %10) store i64 %16, i64* %sv_0.0.in.reg2mem br label LBL_6 LBL_6: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %17 = icmp eq i32 %sv_0.0, -1 %18 = icmp eq i1 %17, false store i64 %sv_0.0.in.reload, i64* %sv_0.02.reg2mem store i64 %sv_0.0.in.reload, i64* %sv_0.03.reg2mem br i1 %18, label LBL_8, label LBL_7 LBL_7: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %19 = ptrtoint i32* %arg2 to i64 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %19, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 %3, i32 %25, i32 %22) store i64 %sv_0.02.reload, i64* %sv_0.03.reg2mem br label LBL_8 LBL_8: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %28 = and i64 %sv_0.03.reload, 4294967295 ret i64 %28 uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.02.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %sv_0.03.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 2, 0, 1 } uselistorder i64 4294967295, { 3, 0, 2, 1 } uselistorder i32* %arg2, { 1, 0, 2 } uselistorder label LBL_7, { 3, 0, 2, 1 } uselistorder label LBL_6, { 2, 1, 0 } }
1
CompRealVul
socket_create_11834
socket_create
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 store i32 1, i32* %sv_1, align 4 %0 = call i32 @socket(i32 2, i32 1, i32 6) %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %3 = bitcast i32* %sv_1 to i64* %4 = call i32 @setsockopt(i32 %0, i32 1, i32 2, i64* nonnull %3, i32 4) %5 = icmp eq i32 %4, -1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0)) %7 = zext i32 %0 to i64 %8 = call i64 @FUNC(i64 %7) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %9 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16) store i64 2, i64* %sv_0, align 8 %10 = call i32 @htonl(i32 0) %11 = trunc i64 %arg1 to i16 %12 = call i16 @htons(i16 %11) %13 = bitcast i64* %sv_0 to %sockaddr* %14 = call i32 @bind(i32 %0, %sockaddr* nonnull %13, i32 16) %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_5 LBL_5: call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %17 = zext i32 %0 to i64 %18 = call i64 @FUNC(i64 %17) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %19 = call i32 @listen(i32 %0, i32 1) %20 = icmp eq i32 %19, -1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_7 LBL_7: call void @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0)) %22 = zext i32 %0 to i64 %23 = call i64 @FUNC(i64 %22) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %24 = zext i32 %0 to i64 store i64 %24, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %0, { 3, 2, 4, 1, 5, 0, 6, 7 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder void (i8*)* @perror, { 3, 2, 1, 0 } }
1