dataset stringclasses 3 values | file stringlengths 7 83 | fun_name stringlengths 2 83 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
BinRealVul | vp9_pick_filter_level_18716 | vp9_pick_filter_level | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i32
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
store i32 0, i32* %storemerge.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %2, 16
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
store i32 %7, i32* %storemerge.reg2mem
br label LBL_2
LBL_2:
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i32*
%storemerge.reload = load i32, i32* %storemerge.reg2mem
store i32 %storemerge.reload, i32* %9, align 4
%10 = trunc i64 %arg3 to i32
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_5, label LBL_3
LBL_3:
%13 = add i64 %2, 12
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_6, label LBL_4
LBL_4:
store i32 0, i32* %14, align 4
store i64 %8, i64* %rax.0.reg2mem
br label LBL_7
LBL_5:
%17 = bitcast i64* %rsi to i32*
%18 = call i64 @FUNC(i64 %2)
%19 = trunc i64 %18 to i32
%20 = add i64 %2, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %23, i64 0)
%25 = mul i64 %24, 20723
%26 = add i64 %25, 1015158
%27 = and i64 %26, 4294967295
%28 = call i64 @FUNC(i64 %27, i64 18)
%29 = load i32, i32* %17, align 8
%30 = icmp eq i32 %29, 0
%31 = icmp eq i1 %30, false
%32 = add i64 %28, 4294967292
%spec.select = select i1 %31, i64 %28, i64 %32
%33 = and i64 %spec.select, 4294967295
%34 = call i64 @FUNC(i64 %33, i64 0, i32 %19)
%35 = trunc i64 %34 to i32
%36 = add i64 %2, 12
%37 = inttoptr i64 %36 to i32*
store i32 %35, i32* %37, align 4
store i64 %34, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%38 = ptrtoint i64* %arg1 to i64
%39 = call i64 @FUNC(i64 %38, i64 %2, i64 0)
%40 = trunc i64 %39 to i32
store i32 %40, i32* %14, align 4
store i64 %39, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 5, 0, 3, 4, 1, 6, 2 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 4294967295, { 0, 2, 3, 4, 1, 5 }
uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | virtio_pci_exit_3468 | virtio_pci_exit | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
ret i64 %1
} | 0 |
BinRealVul | gen_div_2610 | gen_div | define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC()
%2 = trunc i64 %1 to i32
%3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%4 = zext i32 %3 to i64
%5 = call i64 @FUNC(i64 0, i64 %4, i32 %arg4, i64 0)
%6 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%7 = zext i32 %arg4 to i64
%8 = and i64 %1, 4294967295
%9 = call i64 @FUNC(i64 %8, i64 %7, i32 %6)
%10 = zext i32 %arg3 to i64
%11 = zext i32 %arg2 to i64
%12 = call i64 @FUNC(i64 %11, i64 %10, i32 %2)
%13 = call i64 @FUNC(i64 %8)
%14 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%15 = zext i32 %14 to i64
%16 = call i64 @FUNC(i64 %15, i64 %15)
%17 = call i64 @FUNC(i64 %0)
ret i64 %17
uselistorder i64 %15, { 1, 0 }
} | 0 |
BinRealVul | http_send_data_675 | http_send_data | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = add i64 %2, 16
%6 = inttoptr i64 %5 to i64*
%7 = trunc i64 %1 to i32
br label LBL_3
LBL_1:
%8 = call i64 @FUNC(i64 %2)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %9, 0
%11 = icmp eq i1 %10, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_10
LBL_2:
%12 = icmp eq i32 %9, 0
%13 = icmp eq i1 %12, false
store i64 0, i64* %rax.0.reg2mem
br i1 %13, label LBL_10, label LBL_3
LBL_3:
%14 = load i64, i64* %4, align 8
%15 = load i64, i64* %6, align 8
%16 = icmp ugt i64 %15, %14
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_1, label LBL_4
LBL_4:
%18 = sub i64 %15, %14
%19 = inttoptr i64 %14 to i64*
%20 = trunc i64 %18 to i32
%21 = call i32 @write(i32 %7, i64* %19, i32 %20)
%22 = icmp slt i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_7, label LBL_5
LBL_5:
%24 = call i32* @__errno_location()
%25 = load i32, i32* %24, align 4
%26 = icmp eq i32 %25, 11
br i1 %26, label LBL_9, label LBL_6
LBL_6:
%27 = call i32* @__errno_location()
%28 = load i32, i32* %27, align 4
%29 = icmp eq i32 %28, 4
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %29, label LBL_9, label LBL_10
LBL_7:
%30 = load i64, i64* %4, align 8
%31 = sext i32 %21 to i64
%32 = add i64 %30, %31
store i64 %32, i64* %4, align 8
%33 = add i64 %2, 24
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = add i32 %35, %21
store i32 %36, i32* %34, align 4
%37 = add i64 %2, 40
%38 = zext i32 %36 to i64
%39 = call i64 @FUNC(i64 %37, i64 %38)
%40 = add i64 %2, 32
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = icmp eq i64 %42, 0
br i1 %43, label LBL_9, label LBL_8
LBL_8:
%44 = inttoptr i64 %42 to i32*
%45 = load i32, i32* %44, align 4
%46 = add i32 %45, %21
store i32 %46, i32* %44, align 4
br label LBL_9
LBL_9:
store i64 0, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 0, 1, 2, 5, 4, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i1 false, { 2, 3, 0, 1 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder label LBL_10, { 3, 2, 0, 1 }
} | 0 |
BinRealVul | unzzip_cat_file_5734 | unzzip_cat_file | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%sv_0 = alloca i64, align 8
%0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0)
%1 = icmp eq i64 %0, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_5, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 1024)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp slt i32 %3, 0
%6 = icmp eq i1 %5, false
%7 = icmp eq i1 %4, false
%8 = icmp eq i1 %6, %7
br i1 %8, label LBL_2, label LBL_4
LBL_2:
%9 = inttoptr i64 %arg3 to %_IO_FILE*
store i32 %3, i32* %.reg2mem
br label LBL_3
LBL_3:
%.reload = load i32, i32* %.reg2mem
%10 = call i32 @fwrite(i64* nonnull %sv_0, i32 1, i32 %.reload, %_IO_FILE* %9)
%11 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 1024)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
%14 = icmp slt i32 %12, 0
%15 = icmp eq i1 %14, false
%16 = icmp eq i1 %13, false
%17 = icmp eq i1 %15, %16
store i32 %12, i32* %.reg2mem
br i1 %17, label LBL_3, label LBL_4
LBL_4:
%18 = call i64 @FUNC(i64 %0)
store i64 %18, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %12, { 0, 2, 1 }
uselistorder i64 %0, { 1, 2, 0, 3 }
uselistorder i64* %sv_0, { 1, 2, 0 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 3, 2, 0, 1 }
uselistorder i32 0, { 2, 3, 0, 1 }
uselistorder i64 (i64, i64*, i64)* @zzip_file_read, { 1, 0 }
uselistorder i64 1024, { 1, 0 }
uselistorder i32 1, { 3, 4, 2, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | __filterQuotedShell_5896 | __filterQuotedShell | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.lcssa.reg2mem = alloca i8*
%sv_0.0.reg2mem = alloca i8*
%sv_1.02.reg2mem = alloca i64
%sv_0.13.reg2mem = alloca i8*
%.reg2mem = alloca i8
%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_10
LBL_1:
%2 = inttoptr i64 %arg1 to i8*
%3 = call i32 @strlen(i8* %2)
%4 = add i32 %3, 1
%5 = call i64* @malloc(i32 %4)
%6 = icmp eq i64* %5, null
%7 = icmp eq i1 %6, false
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_2, label LBL_10
LBL_2:
%8 = bitcast i64* %5 to i8*
%9 = load i8, i8* %2, align 1
%10 = icmp eq i8 %9, 0
%11 = icmp eq i1 %10, false
store i8 %9, i8* %.reg2mem
store i8* %8, i8** %sv_0.13.reg2mem
store i64 %arg1, i64* %sv_1.02.reg2mem
store i8* %8, i8** %sv_0.1.lcssa.reg2mem
br i1 %11, label LBL_3, label LBL_9
LBL_3:
%sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem
%sv_0.13.reload = load i8*, i8** %sv_0.13.reg2mem
%.reload = load i8, i8* %.reg2mem
%12 = icmp sgt i8 %.reload, 92
br i1 %12, label LBL_7, label LBL_4
LBL_4:
%13 = icmp sgt i8 %.reload, 31
br i1 %13, label LBL_6, label LBL_5
LBL_5:
store i8* %sv_0.13.reload, i8** %sv_0.0.reg2mem
store i8* %sv_0.13.reload, i8** %sv_0.0.reg2mem
switch i8 %.reload, label LBL_7 [
i8 10, label LBL_8
i8 13, label LBL_8
]
LBL_6:
%14 = add i8 %.reload, 32
%15 = urem i8 %14, 64
%16 = zext i8 %15 to i64
%17 = lshr i64 1152921505143717893, %16
%18 = urem i64 %17, 2
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
%21 = icmp eq i1 %20, false
%22 = icmp eq i1 %21, false
store i8* %sv_0.13.reload, i8** %sv_0.0.reg2mem
br i1 %22, label LBL_8, label LBL_7
LBL_7:
%23 = ptrtoint i8* %sv_0.13.reload to i64
%24 = add i64 %23, 1
%25 = inttoptr i64 %24 to i8*
store i8 %.reload, i8* %sv_0.13.reload, align 1
store i8* %25, i8** %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem
%26 = add i64 %sv_1.02.reload, 1
%27 = inttoptr i64 %26 to i8*
%28 = load i8, i8* %27, align 1
%29 = icmp eq i8 %28, 0
%30 = icmp eq i1 %29, false
store i8 %28, i8* %.reg2mem
store i8* %sv_0.0.reload, i8** %sv_0.13.reg2mem
store i64 %26, i64* %sv_1.02.reg2mem
store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem
br i1 %30, label LBL_3, label LBL_9
LBL_9:
%31 = ptrtoint i64* %5 to i64
%sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem
store i8 0, i8* %sv_0.1.lcssa.reload, align 1
store i64 %31, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8 %.reload, { 4, 1, 0, 2, 3 }
uselistorder i8* %sv_0.13.reload, { 3, 4, 2, 0, 1 }
uselistorder i64* %5, { 2, 0, 1 }
uselistorder i8* %.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.13.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.0.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder i1 false, { 4, 2, 1, 3, 0, 5, 6 }
uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_10, { 2, 0, 1 }
uselistorder label LBL_8, { 3, 2, 0, 1 }
uselistorder label LBL_7, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | wv_read_header_4538 | wv_read_header | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 32
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = inttoptr i64 %3 to i32*
store i32 0, i32* %4, align 4
%5 = call i64 @FUNC(i64 %0, i64 %0)
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
%8 = icmp eq i1 %7, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_6
LBL_1:
%9 = call i64 @FUNC(i64 %0, i64 0)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_6
LBL_2:
%12 = inttoptr i64 %9 to i64*
%13 = load i64, i64* %12, align 8
%14 = inttoptr i64 %13 to i32*
store i32 1, i32* %14, align 4
%15 = load i64, i64* %12, align 8
%16 = add i64 %15, 4
%17 = inttoptr i64 %16 to i32*
store i32 2, i32* %17, align 4
%18 = load i64, i64* %12, align 8
%19 = add i64 %3, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = add i64 %18, 8
%23 = inttoptr i64 %22 to i32*
store i32 %21, i32* %23, align 4
%24 = load i64, i64* %12, align 8
%25 = add i64 %3, 8
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i64 %24, 12
%29 = inttoptr i64 %28 to i32*
store i32 %27, i32* %29, align 4
%30 = load i64, i64* %12, align 8
%31 = add i64 %3, 12
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = add i64 %30, 16
%35 = inttoptr i64 %34 to i32*
store i32 %33, i32* %35, align 4
%36 = load i32, i32* %26, align 4
%37 = zext i32 %36 to i64
%38 = call i64 @FUNC(i64 %9, i64 64, i64 1, i64 %37)
%39 = add i64 %0, 8
%40 = inttoptr i64 %39 to i64*
store i64 0, i64* %40, align 8
%41 = add i64 %3, 16
%42 = inttoptr i64 %41 to i64*
%43 = load i64, i64* %42, align 8
%44 = mul i64 %43, 1000000
%45 = load i64, i64* %12, align 8
%46 = add i64 %45, 12
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = sext i32 %48 to i64
%50 = udiv i64 %44, %49
%51 = add i64 %0, 16
%52 = inttoptr i64 %51 to i64*
store i64 %50, i64* %52, align 8
%53 = call i64 @FUNC(i64 %9)
%54 = trunc i64 %53 to i32
%55 = icmp eq i32 %54, 0
%56 = icmp eq i1 %55, false
store i64 0, i64* %rax.0.reg2mem
br i1 %56, label LBL_6, label LBL_3
LBL_3:
%57 = call i64 @FUNC(i64 %9)
%58 = call i64 @FUNC(i64 %0)
%59 = add i64 %0, 24
%60 = inttoptr i64 %59 to i64*
%61 = load i64, i64* %60, align 8
%62 = call i64 @FUNC(i64 %61, i64 4202512, i64 0, i64 0)
%63 = icmp eq i64 %62, 0
%64 = icmp eq i1 %63, false
store i64 %61, i64* %rdi.0.reg2mem
br i1 %64, label LBL_5, label LBL_4
LBL_4:
%65 = call i64 @FUNC(i64 %0)
store i64 %0, i64* %rdi.0.reg2mem
br label LBL_5
LBL_5:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%66 = call i64 @FUNC(i64 %rdi.0.reload, i64 %57, i64 0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %9, { 0, 2, 1, 3, 4 }
uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 6, 8, 7, 9 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64 0, { 1, 6, 11, 8, 7, 0, 12, 13, 9, 2, 3, 4, 5, 10 }
uselistorder label LBL_6, { 1, 0, 2, 3 }
} | 0 |
BinRealVul | softfloat_mul_2288 | softfloat_mul | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = and i64 %arg1, 4294967295
%1 = and i64 %arg2, 4294967295
%narrow = mul nuw i64 %1, %0
%2 = udiv i64 %arg2, 4294967296
%narrow1 = mul nuw i64 %2, %0
%3 = udiv i64 %narrow, 4294967296
%4 = add i64 %3, %narrow1
%5 = and i64 %narrow, 4294967295
%6 = udiv i64 %4, 2097152
%7 = call i64 @FUNC(i64 %6)
%8 = urem i64 %7, 64
%9 = shl i64 1, %8
%10 = add i64 %9, %5
%11 = udiv i64 %10, 4294967296
%12 = add i64 %11, %4
%13 = udiv i64 %12, 1048576
ret i64 %13
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %narrow, { 1, 0 }
uselistorder i64 4294967295, { 2, 0, 1 }
} | 0 |
BinRealVul | ffs_func_revmap_intf_9277 | ffs_func_revmap_intf | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i64
%sv_1.05.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 4294967263, i64* %storemerge.reg2mem
br i1 %7, label LBL_1, label LBL_6
LBL_1:
%8 = trunc i64 %arg2 to i32
%9 = urem i32 %8, 256
store i32 %5, i32* %sv_1.05.reg2mem
store i64 %0, i64* %sv_0.03.reg2mem
br label LBL_2
LBL_2:
%sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem
%sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem
%10 = inttoptr i64 %sv_0.03.reload to i16*
%11 = load i16, i16* %10, align 2
%12 = icmp slt i16 %11, 0
br i1 %12, label LBL_5, label LBL_3
LBL_3:
%13 = sext i16 %11 to i32
%14 = icmp eq i32 %9, %13
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_5, label LBL_4
LBL_4:
%16 = sub i64 %sv_0.03.reload, %0
%17 = ashr i64 %16, 1
store i64 %17, i64* %storemerge.reg2mem
br label LBL_6
LBL_5:
%18 = add i32 %sv_1.05.reload, -1
%19 = add i64 %sv_0.03.reload, 2
%20 = icmp eq i32 %18, 0
%21 = icmp eq i1 %20, false
store i32 %18, i32* %sv_1.05.reg2mem
store i64 %19, i64* %sv_0.03.reg2mem
store i64 4294967263, i64* %storemerge.reg2mem
br i1 %21, label LBL_2, label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sv_0.03.reload, { 1, 2, 0 }
uselistorder i64 %0, { 1, 0, 2 }
uselistorder i32* %sv_1.05.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_6, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | changedline_13582 | changedline | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_5
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = and i64 %arg3, 4294967295
%sext2 = mul i64 %arg3, 4294967296
%sext = mul i64 %arg2, 4294967296
%4 = ashr exact i64 %sext, 32
%5 = ashr exact i64 %sext2, 32
store i64 %4, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_2:
%6 = mul i64 %sv_0.0.reload, 4294967296
%sext3 = add i64 %6, 4294967296
%7 = ashr exact i64 %sext3, 32
%8 = ashr exact i64 %sext3, 30
%9 = add i64 %8, %2
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 0
store i64 %7, i64* %sv_0.0.reg2mem
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = add nsw i64 %7, 4294967295
%14 = and i64 %13, 4294967295
%15 = call i64 @FUNC(i64 %2, i64 %14)
%16 = trunc i64 %15 to i32
%17 = call i64 @FUNC(i64 %2, i64 %3)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %16, %18
%20 = icmp eq i1 %19, false
%21 = zext i1 %20 to i64
store i64 %21, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%22 = and i64 %sv_0.0.reload, 4294967295
%23 = icmp sgt i64 %5, %22
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_2, label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %7, { 1, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }
uselistorder i64 (i64, i64)* @luaG_getfuncline, { 1, 0 }
uselistorder i64 32, { 1, 0, 2 }
uselistorder i64 4294967296, { 4, 0, 1, 2, 3 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_5, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | get_time_10545 | get_time | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0 = alloca i32, align 4
%0 = trunc i64 %arg1 to i32
%1 = mul i32 %0, 2
%2 = and i32 %1, 62
store i32 %2, i32* %sv_0, align 4
%3 = bitcast i32* %sv_0 to %tm*
%4 = call i32 @mktime(%tm* nonnull %3)
%5 = sext i32 %4 to i64
ret i64 %5
} | 0 |
BinRealVul | dimC_box_read_13214 | dimC_box_read | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.lcssa.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%indvars.iv10.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1, i64 3)
%3 = call i64 @FUNC(i64 %0)
%4 = trunc i64 %3 to i8
%5 = add i64 %1, 4
%6 = inttoptr i64 %5 to i8*
store i8 %4, i8* %6, align 1
%7 = call i64 @FUNC(i64 %0)
%8 = trunc i64 %7 to i8
%9 = add i64 %1, 5
%10 = inttoptr i64 %9 to i8*
store i8 %8, i8* %10, align 1
%11 = call i64 @FUNC(i64 %0, i64 4)
%12 = trunc i64 %11 to i32
%13 = add i64 %1, 8
%14 = inttoptr i64 %13 to i32*
store i32 %12, i32* %14, align 4
%15 = call i64 @FUNC(i64 %0, i64 1)
%16 = trunc i64 %15 to i32
%17 = add i64 %1, 12
%18 = inttoptr i64 %17 to i32*
store i32 %16, i32* %18, align 4
%19 = call i64 @FUNC(i64 %0, i64 1)
%20 = trunc i64 %19 to i32
%21 = add i64 %1, 16
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
%23 = call i64 @FUNC(i64 %0, i64 2)
%24 = trunc i64 %23 to i32
%25 = add i64 %1, 20
%26 = inttoptr i64 %25 to i32*
store i32 %24, i32* %26, align 4
%27 = bitcast i64* %rdi to i32*
%28 = load i32, i32* %27, align 8
%29 = add i32 %28, 1
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i64 %30)
%32 = icmp eq i64 %31, 0
%33 = icmp eq i1 %32, false
store i64 1, i64* %rax.0.reg2mem
br i1 %33, label LBL_1, label LBL_17
LBL_1:
%34 = inttoptr i64 %31 to i8*
%35 = zext i32 %28 to i64
%36 = add i64 %31, %35
%37 = inttoptr i64 %36 to i8*
store i8 0, i8* %37, align 1
store i8 0, i8* %34, align 1
%38 = icmp eq i32 %28, 0
store i64 0, i64* %indvars.iv10.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
br i1 %38, label LBL_6, label LBL_2
LBL_2:
%indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem
%39 = call i64 @FUNC(i64 %1, i64 1)
%40 = call i64 @FUNC(i64 %0)
%41 = add i64 %indvars.iv10.reload, %31
%42 = trunc i64 %40 to i8
%43 = inttoptr i64 %41 to i8*
store i8 %42, i8* %43, align 1
%44 = icmp eq i8 %42, 0
br i1 %44, label LBL_2.LBL_6_crit_edge, label LBL_3
LBL_3:
%indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1
%45 = icmp ult i64 %indvars.iv.next11, %35
store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem
br i1 %45, label LBL_2, label LBL_5
LBL_4:
%46 = trunc i64 %indvars.iv10.reload to i32
store i32 %46, i32* %sv_0.0.lcssa.reg2mem
br label LBL_6
LBL_5:
%47 = trunc i64 %indvars.iv.next11 to i32
store i32 %47, i32* %sv_0.0.lcssa.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%48 = icmp eq i32 %sv_0.0.lcssa.reload, %28
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_8, label LBL_7
LBL_7:
%50 = call i64 @FUNC(i64 %31)
store i64 2, i64* %rax.0.reg2mem
br label LBL_17
LBL_8:
%51 = call i64 @FUNC(i64 %31)
%52 = add i64 %1, 24
%53 = inttoptr i64 %52 to i64*
store i64 %51, i64* %53, align 8
store i8 0, i8* %34, align 1
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %sv_0.1.lcssa.reg2mem
br i1 %38, label LBL_13, label LBL_9
LBL_9:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%54 = call i64 @FUNC(i64 %1, i64 1)
%55 = call i64 @FUNC(i64 %0)
%56 = add i64 %indvars.iv.reload, %31
%57 = trunc i64 %55 to i8
%58 = inttoptr i64 %56 to i8*
store i8 %57, i8* %58, align 1
%59 = icmp eq i8 %57, 0
br i1 %59, label LBL_9.LBL_13_crit_edge, label LBL_10
LBL_10:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%60 = icmp ult i64 %indvars.iv.next, %35
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %60, label LBL_9, label LBL_12
LBL_11:
%61 = trunc i64 %indvars.iv.reload to i32
store i32 %61, i32* %sv_0.1.lcssa.reg2mem
br label LBL_13
LBL_12:
%62 = trunc i64 %indvars.iv.next to i32
store i32 %62, i32* %sv_0.1.lcssa.reg2mem
br label LBL_13
LBL_13:
%sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem
%63 = icmp eq i32 %sv_0.1.lcssa.reload, %28
%64 = icmp eq i1 %63, false
br i1 %64, label LBL_15, label LBL_14
LBL_14:
%65 = call i64 @FUNC(i64 %31)
store i64 2, i64* %rax.0.reg2mem
br label LBL_17
LBL_15:
%66 = call i64 @FUNC(i64 %31)
%67 = add i64 %1, 32
%68 = inttoptr i64 %67 to i64*
store i64 %66, i64* %68, align 8
%69 = call i64 @FUNC(i64 %31)
%70 = load i64, i64* %53, align 8
%71 = icmp eq i64 %70, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %71, label LBL_17, label LBL_16
LBL_16:
%72 = load i64, i64* %68, align 8
%73 = icmp eq i64 %72, 0
%spec.select = zext i1 %73 to i64
ret i64 %spec.select
LBL_17:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %indvars.iv.next, { 1, 0, 2 }
uselistorder i64 %indvars.iv.reload, { 2, 0, 1 }
uselistorder i64 %indvars.iv.next11, { 1, 0, 2 }
uselistorder i64 %indvars.iv10.reload, { 2, 0, 1 }
uselistorder i64 %31, { 3, 5, 4, 0, 7, 6, 1, 2, 8, 9 }
uselistorder i32 %28, { 2, 1, 3, 0, 4 }
uselistorder i64* %indvars.iv10.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }
uselistorder i64 (i64)* @gf_strdup, { 1, 0 }
uselistorder i64 (i64)* @gf_free, { 2, 1, 0 }
uselistorder i64 0, { 5, 6, 0, 1, 7, 2, 3, 4 }
uselistorder i64 2, { 1, 0, 2 }
uselistorder i64 1, { 0, 3, 4, 2, 5, 1, 6, 7 }
uselistorder i64 (i64, i64)* @gf_bs_read_int, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @gf_bs_read_u8, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE, { 2, 1, 0 }
uselistorder label LBL_17, { 0, 2, 3, 1 }
uselistorder label LBL_13, { 1, 2, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | get_list_object_5931 | get_list_object | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i8, align 1
store i8 0, i8* %sv_0, align 1
%1 = call i64 @FUNC(i64 %0, i8* nonnull %sv_0)
%2 = trunc i64 %1 to i32
%3 = icmp slt i32 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%6 = load i8, i8* %sv_0, align 1
%7 = icmp eq i8 %6, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_3, label LBL_5
LBL_3:
%8 = and i64 %1, 4294967295
%9 = call i64 @FUNC(i64 %0, i64 %8)
%10 = icmp eq i64 %9, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %10, label LBL_5, label LBL_4
LBL_4:
%11 = inttoptr i64 %9 to i32*
store i32 1, i32* %11, align 4
store i64 %9, 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, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i8 0, { 2, 1, 3, 0 }
uselistorder label LBL_5, { 2, 0, 1, 3 }
} | 0 |
BinRealVul | nfs_lock_18056 | nfs_lock | define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i32* %arg3 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %3, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %3, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = trunc i64 %2 to i32
%12 = add i64 %4, 16
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %4, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = zext i32 %10 to i64
%21 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %14, i32 %11, i64 %20, i64 %7)
%22 = icmp eq i64* %arg1, null
%23 = icmp eq i1 %22, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %23, label LBL_1, label LBL_7
LBL_1:
%24 = and i64 %1, 8256
%25 = icmp eq i64 %24, 8192
%26 = icmp eq i1 %25, false
%27 = icmp eq i32 %11, 2
%or.cond = or i1 %26, %27
store i64 4294967219, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_2, label LBL_7
LBL_2:
%sext = mul i64 %arg2, 4294967296
%28 = ashr exact i64 %sext, 32
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 1
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_4, label LBL_3
LBL_3:
%32 = and i64 %28, 4294967295
%33 = call i64 @FUNC(i64 %4, i64 %32, i64 %3)
store i64 %33, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%34 = icmp eq i1 %27, false
%35 = and i64 %28, 4294967295
br i1 %34, label LBL_6, label LBL_5
LBL_5:
%36 = call i64 @FUNC(i64 %4, i64 %35, i64 %3)
store i64 %36, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%37 = call i64 @FUNC(i64 %4, i64 %35, i64 %3)
store i64 %37, 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 %35, { 1, 0 }
uselistorder i64 %28, { 1, 2, 0 }
uselistorder i1 %27, { 1, 0 }
uselistorder i64 %4, { 1, 2, 0, 3, 4 }
uselistorder i64 %3, { 1, 2, 0, 3, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder label LBL_7, { 2, 3, 4, 0, 1 }
} | 1 |
BinRealVul | red_channel_client_event_10674 | red_channel_client_event | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg3 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = urem i64 %arg2, 2
%3 = icmp eq i64 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %0)
br label LBL_2
LBL_2:
%5 = and i64 %arg2, 2
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_4, label LBL_3
LBL_3:
%7 = call i64 @FUNC(i64 %0)
br label LBL_4
LBL_4:
%8 = call i64 @FUNC(i64 %0)
ret i64 %8
uselistorder i64 %0, { 2, 1, 0, 3 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
} | 0 |
BinRealVul | shash_update_unaligned_4932 | shash_update_unaligned | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%2 = ptrtoint i64* %sv_0 to i64
%3 = call i64 @FUNC(i64 %1)
%4 = call i64 @FUNC(i64 %1)
%5 = trunc i64 %0 to i32
%6 = sub i32 0, %5
%7 = sub i32 %6, 1
%8 = trunc i64 %4 to i32
%9 = and i32 %8, %7
%10 = add i32 %9, 1
%11 = zext i32 %10 to i64
%12 = call i64 @FUNC(i64 %11, i64 %4)
%13 = and i64 %12, 4294967295
%14 = add nuw nsw i64 %13, 23
%15 = udiv i64 %14, 16
%16 = mul i64 %15, 16
%17 = add i64 %2, 15
%18 = sub i64 %17, %16
%19 = and i64 %18, -16
%20 = icmp ugt i32 %10, %arg3
%spec.select = select i1 %20, i32 %arg3, i32 %10
%21 = inttoptr i64 %19 to i64*
%22 = call i64* @memcpy(i64* %21, i64* %arg2, i32 %spec.select)
ret i64 %1
} | 0 |
BinRealVul | isp1760_ep_alloc_request_18451 | isp1760_ep_alloc_request | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = and i64 %arg2, 4294967295
%1 = call i64 @FUNC(i64 0, i64 %0)
ret i64 %1
} | 1 |
BinRealVul | getToken_11629 | getToken | define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem9 = alloca i64
%.reg2mem7 = alloca i64
%.reg2mem = alloca i8
%0 = ptrtoint i64* %arg2 to i64
%1 = icmp eq i64* %arg2, null
%.pre = add i64 %0, %arg1
%.pre3 = inttoptr i64 %.pre to i8*
br i1 %1, label LBL_0.LBL_4_crit_edge, label LBL_2
LBL_1:
%.pre6 = load i8, i8* %.pre3, align 1
store i8 %.pre6, i8* %.reg2mem
br label LBL_4
LBL_2:
%2 = add i64 %0, 1
%3 = call i16** @__ctype_b_loc()
%4 = load i16*, i16** %3, align 8
%5 = ptrtoint i16* %4 to i64
%6 = load i8, i8* %.pre3, align 1
%7 = zext i8 %6 to i64
%8 = mul i64 %7, 2
%9 = add i64 %8, %5
%10 = inttoptr i64 %9 to i16*
%11 = load i16, i16* %10, align 2
%12 = and i16 %11, 8192
%13 = icmp eq i16 %12, 0
%14 = icmp eq i1 %13, false
store i8 %6, i8* %.reg2mem
br i1 %14, label LBL_3, label LBL_4
LBL_3:
store i64 %2, i64* %arg2, align 8
%15 = call i16** @__ctype_b_loc()
%16 = load i16*, i16** %15, align 8
%17 = ptrtoint i16* %16 to i64
%18 = load i8, i8* %.pre3, align 1
%19 = zext i8 %18 to i64
%20 = mul i64 %19, 2
%21 = add i64 %20, %17
%22 = inttoptr i64 %21 to i16*
%23 = load i16, i16* %22, align 2
%24 = and i16 %23, 8192
%25 = icmp eq i16 %24, 0
%26 = icmp eq i1 %25, false
store i8 %18, i8* %.reg2mem
br i1 %26, label LBL_3, label LBL_4
LBL_4:
%.reload = load i8, i8* %.reg2mem
%27 = icmp eq i8 %.reload, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_6, label LBL_5
LBL_5:
store i64 %0, i64* %arg3, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_15
LBL_6:
%29 = call i16** @__ctype_b_loc()
%30 = load i16*, i16** %29, align 8
%31 = ptrtoint i16* %30 to i64
%32 = load i8, i8* %.pre3, align 1
%33 = zext i8 %32 to i64
%34 = mul i64 %33, 2
%35 = add i64 %34, %31
%36 = inttoptr i64 %35 to i16*
%37 = load i16, i16* %36, align 2
%38 = and i16 %37, 1024
%39 = icmp eq i16 %38, 0
br i1 %39, label LBL_10, label LBL_7
LBL_7:
store i64 %0, i64* %arg3, align 8
%40 = icmp eq i64* %arg3, null
store i64 1, i64* %rax.0.reg2mem
br i1 %40, label LBL_15, label LBL_8
LBL_8:
%41 = call i16** @__ctype_b_loc()
%42 = load i16*, i16** %41, align 8
%43 = ptrtoint i16* %42 to i64
%44 = add i64 %43, %arg1
%45 = inttoptr i64 %44 to i8*
%46 = load i8, i8* %45, align 1
%47 = zext i8 %46 to i64
%48 = mul i64 %47, 2
%49 = add i64 %48, %43
%50 = inttoptr i64 %49 to i16*
%51 = load i16, i16* %50, align 2
%52 = and i16 %51, 8
%53 = icmp eq i16 %52, 0
%54 = icmp eq i1 %53, false
store i64 %43, i64* %.reg2mem7
store i64 1, i64* %rax.0.reg2mem
br i1 %54, label LBL_9, label LBL_15
LBL_9:
%.reload8 = load i64, i64* %.reg2mem7
%55 = add i64 %.reload8, 1
store i64 %55, i64* %arg3, align 8
%56 = call i16** @__ctype_b_loc()
%57 = load i16*, i16** %56, align 8
%58 = ptrtoint i16* %57 to i64
%59 = add i64 %58, %arg1
%60 = inttoptr i64 %59 to i8*
%61 = load i8, i8* %60, align 1
%62 = zext i8 %61 to i64
%63 = mul i64 %62, 2
%64 = add i64 %63, %58
%65 = inttoptr i64 %64 to i16*
%66 = load i16, i16* %65, align 2
%67 = and i16 %66, 8
%68 = icmp eq i16 %67, 0
%69 = icmp eq i1 %68, false
store i64 %58, i64* %.reg2mem7
store i64 1, i64* %rax.0.reg2mem
br i1 %69, label LBL_9, label LBL_15
LBL_10:
%70 = call i16** @__ctype_b_loc()
%71 = load i16*, i16** %70, align 8
%72 = ptrtoint i16* %71 to i64
%73 = load i8, i8* %.pre3, align 1
%74 = zext i8 %73 to i64
%75 = mul i64 %74, 2
%76 = add i64 %75, %72
%77 = inttoptr i64 %76 to i16*
%78 = load i16, i16* %77, align 2
%79 = and i16 %78, 2048
%80 = icmp eq i16 %79, 0
br i1 %80, label LBL_14, label LBL_11
LBL_11:
store i64 %0, i64* %arg3, align 8
%81 = icmp eq i64* %arg3, null
store i64 2, i64* %rax.0.reg2mem
br i1 %81, label LBL_15, label LBL_12
LBL_12:
%82 = call i16** @__ctype_b_loc()
%83 = load i16*, i16** %82, align 8
%84 = ptrtoint i16* %83 to i64
%85 = add i64 %84, %arg1
%86 = inttoptr i64 %85 to i8*
%87 = load i8, i8* %86, align 1
%88 = zext i8 %87 to i64
%89 = mul i64 %88, 2
%90 = add i64 %89, %84
%91 = inttoptr i64 %90 to i16*
%92 = load i16, i16* %91, align 2
%93 = and i16 %92, 8
%94 = icmp eq i16 %93, 0
%95 = icmp eq i1 %94, false
store i64 %84, i64* %.reg2mem9
store i64 2, i64* %rax.0.reg2mem
br i1 %95, label LBL_13, label LBL_15
LBL_13:
%.reload10 = load i64, i64* %.reg2mem9
%96 = add i64 %.reload10, 1
store i64 %96, i64* %arg3, align 8
%97 = call i16** @__ctype_b_loc()
%98 = load i16*, i16** %97, align 8
%99 = ptrtoint i16* %98 to i64
%100 = add i64 %99, %arg1
%101 = inttoptr i64 %100 to i8*
%102 = load i8, i8* %101, align 1
%103 = zext i8 %102 to i64
%104 = mul i64 %103, 2
%105 = add i64 %104, %99
%106 = inttoptr i64 %105 to i16*
%107 = load i16, i16* %106, align 2
%108 = and i16 %107, 8
%109 = icmp eq i16 %108, 0
%110 = icmp eq i1 %109, false
store i64 %99, i64* %.reg2mem9
store i64 2, i64* %rax.0.reg2mem
br i1 %110, label LBL_13, label LBL_15
LBL_14:
%111 = add i64 %0, 1
store i64 %111, i64* %arg3, align 8
store i64 3, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8* %.pre3, { 2, 3, 4, 1, 0 }
uselistorder i64 %0, { 4, 2, 1, 5, 3, 0 }
uselistorder i64* %.reg2mem7, { 2, 0, 1 }
uselistorder i64* %.reg2mem9, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 4, 3, 6, 2, 1, 5, 7 }
uselistorder i16 8, { 2, 1, 3, 0 }
uselistorder i16 0, { 3, 2, 4, 5, 1, 6, 7, 0 }
uselistorder i16 8192, { 1, 0 }
uselistorder i64 2, { 1, 3, 0, 4, 2, 5, 6, 7, 8, 9, 10 }
uselistorder i16** ()* @__ctype_b_loc, { 3, 2, 5, 6, 1, 7, 4, 0 }
uselistorder i64 1, { 3, 4, 1, 5, 0, 2, 6 }
uselistorder i64* %arg3, { 2, 3, 4, 1, 5, 6, 0, 7 }
uselistorder i64 %arg1, { 2, 1, 3, 0, 4 }
uselistorder label LBL_15, { 6, 3, 2, 5, 1, 0, 4, 7 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_4, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | screen_new_12291 | screen_new | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%1 = call i64 @FUNC(i64 %0)
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = call i64 @FUNC(i64 %0, i64 80)
%5 = bitcast i32* %sv_0 to i64*
%6 = bitcast i32* %sv_1 to i64*
%7 = call i64 @FUNC(i64 %0, i64* nonnull %5, i64* nonnull %6)
%8 = inttoptr i64 %4 to i64*
store i64 %0, i64* %8, align 8
%9 = add i64 %4, 8
%10 = inttoptr i64 %9 to i64*
store i64 %1, i64* %10, align 8
%11 = add i64 %4, 16
%12 = inttoptr i64 %11 to i32*
store i32 1, i32* %12, align 4
%13 = add i64 %4, 20
%14 = inttoptr i64 %13 to i32*
store i32 -1, i32* %14, align 4
%15 = add i64 %4, 24
%16 = inttoptr i64 %15 to i32*
store i32 -1, i32* %16, align 4
%17 = load i32, i32* %sv_0, align 4
%18 = add i64 %4, 28
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = load i32, i32* %sv_1, align 4
%21 = add i64 %4, 32
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
%23 = add i64 %4, 40
%24 = inttoptr i64 %23 to i64*
store i64 0, i64* %24, align 8
%25 = add i64 %4, 48
%26 = inttoptr i64 %25 to i64*
store i64 0, i64* %26, align 8
%27 = load i32, i32* %sv_1, align 4
%28 = zext i32 %27 to i64
%29 = load i32, i32* %sv_0, align 4
%30 = zext i32 %29 to i64
%31 = add i64 %4, 56
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = call i64 @FUNC(i64 %4, i64 0, i64 %30, i64 %28)
%35 = inttoptr i64 %33 to i64*
store i64 %34, i64* %35, align 8
%36 = load i64, i64* %32, align 8
%37 = inttoptr i64 %36 to i64*
%38 = load i64, i64* %37, align 8
%39 = add i64 %4, 64
%40 = inttoptr i64 %39 to i64*
store i64 %38, i64* %40, align 8
%41 = load i64, i64* %8, align 8
%42 = call i64 @FUNC(i64 %41, i64 0)
%43 = add i64 %4, 72
%44 = inttoptr i64 %43 to i64*
store i64 %42, i64* %44, align 8
%45 = load i64, i64* %10, align 8
%46 = call i64 @FUNC(i64 %45, i64* nonnull @gv_0, i64 %4)
store i64 %4, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32* %sv_1, { 1, 0, 2 }
uselistorder i32* %sv_0, { 1, 0, 2 }
uselistorder i64 %0, { 2, 1, 0, 3 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @vterm_allocator_malloc, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | rds_tcp_exit_8824 | rds_tcp_exit | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = call i64 @FUNC()
%2 = load i64, i64* @gv_0, align 8
%3 = call i64 @FUNC(i64 1, i64 %2)
%4 = load i64, i64* @gv_1, align 8
%5 = call i64 @FUNC(i64 2, i64 %4)
%6 = call i64 @FUNC(i64* nonnull @gv_2)
%7 = call i64 @FUNC()
%8 = call i64 @FUNC(i64* nonnull @gv_3)
%9 = call i64 @FUNC()
%10 = load i64, i64* @gv_4, align 8
%11 = call i64 @FUNC(i64 %10)
ret i64 %11
uselistorder i64 (i64, i64)* @rds_info_deregister_func, { 1, 0 }
} | 0 |
BinRealVul | start_afu_4561 | start_afu | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%5 = mul nuw nsw i64 %indvars.iv.reload, 24
%6 = add i64 %5, %4
%7 = call i64 @FUNC(i64 %6)
%8 = add i64 %6, 8
%9 = call i64 @FUNC(i64 %8)
%10 = add i64 %6, 16
%11 = inttoptr i64 %10 to i64*
store i64 %4, i64* %11, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%12 = call i64 @FUNC(i64 %4)
%13 = add i64 %4, 240
%14 = inttoptr i64 %13 to i64*
%15 = call i64* @memset(i64* %14, i32 0, i32 40)
%16 = add i64 %4, 280
%17 = inttoptr i64 %16 to i64*
store i64 %13, i64* %17, align 8
%18 = add i64 %4, 272
%19 = add i64 %4, 288
%20 = inttoptr i64 %19 to i64*
store i64 %18, i64* %20, align 8
%21 = load i64, i64* %17, align 8
%22 = add i64 %4, 296
%23 = inttoptr i64 %22 to i64*
store i64 %21, i64* %23, align 8
%24 = add i64 %4, 304
%25 = inttoptr i64 %24 to i32*
store i32 1, i32* %25, align 4
%26 = call i64 @FUNC(i64 %4)
%27 = and i64 %26, 4294967295
%28 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %3, i64 %2, i64 %1)
ret i64 %27
uselistorder i64 %4, { 1, 2, 3, 5, 4, 7, 6, 8, 9, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 2, 1, 0 }
} | 0 |
BinRealVul | read_huffman_tables_923 | read_huffman_tables | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%2 = ptrtoint i64* %sv_1 to i64
%3 = mul i32 %arg3, 8
%4 = zext i32 %3 to i64
%5 = bitcast i32* %sv_0 to i64*
%6 = call i64 @FUNC(i64* nonnull %5, i64 %0, i64 %4)
store i32 0, i32* %sv_0, align 4
%7 = add i64 %1, 3072
%8 = add i64 %1, 6144
%9 = add i64 %2, -8
%10 = inttoptr i64 %9 to i64*
%11 = add i64 %2, -16
%12 = inttoptr i64 %11 to i64*
%13 = add i64 %2, -24
%14 = inttoptr i64 %13 to i64*
%15 = add i64 %2, -32
%16 = inttoptr i64 %15 to i64*
store i32 0, i32* %storemerge2.reg2mem
br label LBL_1
LBL_1:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%17 = sext i32 %storemerge2.reload to i64
%18 = mul i64 %17, 1024
%19 = add i64 %18, %1
%20 = call i64 @FUNC(i64 %19, i64* nonnull %5)
%21 = trunc i64 %20 to i32
%22 = icmp slt i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %23, label LBL_2, label LBL_5
LBL_2:
%24 = load i32, i32* %sv_0, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 1024
%27 = add i64 %26, %1
%28 = add i64 %26, %7
%29 = call i64 @FUNC(i64 %28, i64 %27)
%30 = trunc i64 %29 to i32
%31 = icmp slt i32 %30, 0
%32 = icmp eq i1 %31, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %32, label LBL_3, label LBL_5
LBL_3:
%33 = load i32, i32* %sv_0, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 8
%36 = add i64 %35, %8
%37 = call i64 @FUNC(i64 %36)
%38 = load i32, i32* %sv_0, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 1024
%41 = add i64 %40, %7
%42 = add i64 %40, %1
%43 = mul i64 %39, 8
%44 = add i64 %43, %8
store i64 0, i64* %10, align 8
store i64 4, i64* %12, align 8
store i64 4, i64* %14, align 8
store i64 %41, i64* %16, align 8
%45 = call i64 @FUNC(i64 %44, i64 12, i64 256, i64 %42, i64 1, i64 1)
%46 = load i32, i32* %sv_0, align 4
%47 = add i32 %46, 1
store i32 %47, i32* %sv_0, align 4
%48 = icmp slt i32 %47, 3
store i32 %47, i32* %storemerge2.reg2mem
br i1 %48, label LBL_1, label LBL_4
LBL_4:
%49 = call i64 @FUNC(i64 %1)
%50 = call i64 @FUNC(i64* nonnull %5)
%51 = trunc i64 %50 to i32
%52 = sdiv i32 %51, 16384
%53 = zext i32 %52 to i64
store i64 %53, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %47, { 0, 2, 1 }
uselistorder i64 %40, { 1, 0 }
uselistorder i64 %26, { 1, 0 }
uselistorder i32* %sv_0, { 1, 5, 4, 3, 2, 0, 6 }
uselistorder i64 %1, { 5, 0, 1, 2, 3, 4 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 0, { 2, 3, 0, 1 }
uselistorder label LBL_5, { 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | net_handle_fd_param_14447 | net_handle_fd_param | 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
%sext = mul i64 %1, 72057594037927936
%2 = ashr exact i64 %sext, 56
%3 = and i64 %2, 4294967295
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_4, label LBL_1
LBL_1:
%8 = ptrtoint i64* %arg1 to i64
%9 = call i64 @FUNC(i64 %8, i64 %arg2)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, -1
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%13 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_5
LBL_3:
%14 = and i64 %9, 4294967295
store i64 %14, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%15 = inttoptr i64 %arg2 to i8*
%16 = call i32 @strtol(i8* %15, i8** null, i32 0)
%17 = sext i32 %16 to i64
store i64 %17, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 %arg2, { 1, 0, 2 }
} | 1 |
BinRealVul | write_header_15564 | write_header | define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%2 = trunc i64 %arg3 to i32
%3 = icmp sgt i32 %2, 4
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_4
LBL_1:
%4 = ptrtoint i64* %arg2 to i64
%5 = trunc i64 %1 to i32
%6 = mul i64 %arg3, 8
%7 = and i64 %6, 4294967288
%8 = call i64 @FUNC(i64* nonnull %sv_0, i64 %4, i64 %7)
%9 = ashr i32 %5, 4
%10 = add nsw i32 %9, -1
%11 = zext i32 %10 to i64
%12 = call i64 @FUNC(i64* nonnull %sv_0, i64 4, i64 %11)
%13 = ptrtoint i32* %arg1 to i64
%14 = add i64 %13, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = zext i32 %16 to i64
%18 = call i64 @FUNC(i64* nonnull %sv_0, i64 12, i64 %17)
%19 = add i64 %13, 8
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = ashr i32 %21, 4
%23 = add nsw i32 %22, -1
%24 = zext i32 %23 to i64
%25 = call i64 @FUNC(i64* nonnull %sv_0, i64 4, i64 %24)
%26 = add i64 %13, 12
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = zext i32 %28 to i64
%30 = call i64 @FUNC(i64* nonnull %sv_0, i64 12, i64 %29)
%31 = call i64 @FUNC(i64* nonnull %sv_0)
%32 = add i64 %4, 4
%33 = add i64 %13, 16
%34 = inttoptr i64 %33 to i8*
%35 = load i8, i8* %34, align 1
%36 = inttoptr i64 %32 to i8*
store i8 %35, i8* %36, align 1
%37 = load i8, i8* %34, align 1
%38 = urem i8 %37, 2
%39 = icmp eq i8 %38, 0
store i64 5, i64* %rax.0.reg2mem
br i1 %39, label LBL_4, label LBL_2
LBL_2:
%40 = add i64 %arg3, 4294967291
%41 = and i64 %40, 4294967295
%42 = add i64 %4, 5
%43 = call i64 @FUNC(i64 %13, i64 %42, i64 %41)
%44 = trunc i64 %43 to i32
%45 = icmp slt i32 %44, 0
%46 = icmp eq i1 %45, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %46, label LBL_3, label LBL_4
LBL_3:
%47 = add i64 %43, 5
%phitmp = and i64 %47, 4294967295
store i64 %phitmp, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4 }
uselistorder i32 0, { 2, 3, 0, 1, 4 }
uselistorder i64 5, { 1, 2, 0 }
uselistorder i64 12, { 0, 2, 1 }
uselistorder i64 (i64*, i64, i64)* @put_bits, { 3, 2, 1, 0 }
uselistorder i64 4, { 0, 1, 3, 2 }
uselistorder i64 8, { 1, 0, 2, 3 }
uselistorder i32 4, { 1, 2, 0 }
uselistorder i64 %arg3, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 2, 0, 3 }
} | 1 |
BinRealVul | ireftype_box_dump_12059 | ireftype_box_dump | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rdx.0.in.lcssa.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = trunc i64 %3 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_1, label LBL_7
LBL_1:
%8 = ptrtoint i32* %arg1 to i64
%9 = add i64 %8, 4
%10 = inttoptr i64 %9 to i32*
%11 = icmp eq i32 %5, 1
%12 = icmp eq i1 %11, false
%spec.store.select = select i1 %12, i32 %5, i32 1969974903
store i32 %spec.store.select, i32* %10, align 4
%13 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)
%14 = add i64 %8, 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i32 %16, i64 %4, i64 %2, i64 %1)
%18 = add i64 %8, 12
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = icmp eq i32 %20, 0
store i32 %16, i32* %rdx.0.in.lcssa.reg2mem
br i1 %21, label LBL_4, label LBL_2
LBL_2:
%22 = add i64 %8, 16
%23 = inttoptr i64 %22 to i64*
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_3
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%24 = load i64, i64* %23, align 8
%25 = mul i64 %indvars.iv.reload, 4
%26 = add i64 %24, %25
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i32 %28, i64 %4, i64 %2, i64 %1)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%30 = load i32, i32* %19, align 4
%31 = zext i32 %30 to i64
%32 = icmp ult i64 %indvars.iv.next, %31
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %28, i32* %rdx.0.in.lcssa.reg2mem
br i1 %32, label LBL_3, label LBL_4
LBL_4:
%33 = add i64 %8, 24
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = icmp eq i32 %35, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_6, label LBL_5
LBL_5:
%rdx.0.in.lcssa.reload = load i32, i32* %rdx.0.in.lcssa.reg2mem
%38 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i32 %rdx.0.in.lcssa.reload, i64 %4, i64 %2, i64 %1)
br label LBL_6
LBL_6:
%39 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %arg2)
store i32 2, i32* %10, align 4
br label LBL_7
LBL_7:
ret i64 0
uselistorder i32* %19, { 1, 0 }
uselistorder i64 %8, { 0, 2, 3, 1, 4, 5, 6 }
uselistorder i32 %5, { 2, 1, 0 }
uselistorder i64 %4, { 2, 1, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @gf_fprintf, { 1, 2, 0 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder i64 %arg2, { 1, 0, 2, 3, 4 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | __vm_enough_memory_4241 | __vm_enough_memory | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg2)
%1 = load i64, i64* @gv_0, align 8
%2 = icmp eq i64 %1, 1
%3 = icmp eq i1 %2, false
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_7
LBL_1:
%4 = icmp eq i64 %1, 2
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_5, label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 0)
%7 = load i64, i64* @gv_1, align 8
%8 = add i64 %7, %6
%9 = call i64 @FUNC(i64 0)
%10 = add i64 %8, %9
%11 = icmp eq i32 %arg3, 0
%12 = icmp eq i1 %11, false
%13 = udiv i64 %10, 32
%14 = select i1 %12, i64 0, i64 %13
%sv_0.0 = sub i64 %10, %14
%15 = icmp ugt i64 %sv_0.0, %arg2
store i64 0, i64* %rax.0.reg2mem
br i1 %15, label LBL_7, label LBL_3
LBL_3:
%16 = call i64 @FUNC()
%17 = load i64, i64* @gv_2, align 8
%18 = icmp ugt i64 %16, %17
br i1 %18, label LBL_4, label LBL_6
LBL_4:
%19 = sub i64 %16, %17
%20 = udiv i64 %19, 32
%.op = sub nsw i64 0, %20
%.neg = select i1 %12, i64 0, i64 %.op
%sv_1.0 = add i64 %19, %sv_0.0
%21 = add i64 %sv_1.0, %.neg
%22 = icmp ugt i64 %21, %arg2
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_7, label LBL_6
LBL_5:
%23 = call i64 @FUNC(i64* nonnull @gv_3)
store i64 0, i64* %rax.0.reg2mem
br i1 false, label LBL_7, label LBL_6
LBL_6:
%24 = call i64 @FUNC(i64 %arg2)
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %19, { 1, 0 }
uselistorder i64 %10, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder i64 (i64)* @global_page_state, { 1, 0 }
uselistorder i64 %arg2, { 2, 0, 1, 3 }
uselistorder label LBL_7, { 4, 0, 1, 2, 3 }
} | 0 |
BinRealVul | RemoveICCProfileFromResourceBlock_9074 | RemoveICCProfileFromResourceBlock | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%rbx.05.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%sv_2 = alloca i16, align 2
%sv_3 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = icmp ult i64 %1, 16
store i64 %1, i64* %rax.1.reg2mem
br i1 %2, label LBL_12, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 %0)
%4 = add i64 %3, %1
%5 = add i64 %4, -16
%6 = bitcast i16* %sv_2 to i64*
%7 = bitcast i32* %sv_0 to i64*
store i64 %3, i64* %rbx.05.reg2mem
br label LBL_10
LBL_2:
%8 = call i64 @FUNC(i64 %rbx.05.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i64 %8, i64* %rax.1.reg2mem
br i1 %11, label LBL_12, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 0, i64 %rbx.05.reload, i64* nonnull %sv_3)
%13 = call i64 @FUNC(i64 0, i64 %12, i64* nonnull %6)
%14 = call i64 @FUNC(i64 0, i64 %13, i64* nonnull %sv_1)
%15 = call i64 @FUNC(i64 0, i64 %14, i64* nonnull %7)
%16 = load i16, i16* %sv_2, align 2
%17 = icmp eq i16 %16, 1039
%18 = icmp eq i1 %17, false
%19 = load i32, i32* %sv_0, align 4
%20 = zext i32 %19 to i64
br i1 %18, label LBL_9, label LBL_4
LBL_4:
%21 = call i64 @FUNC(i64 %20)
%22 = add i64 %21, 12
%23 = icmp slt i64 %22, 12
store i64 %22, i64* %rax.1.reg2mem
br i1 %23, label LBL_12, label LBL_5
LBL_5:
%24 = icmp sgt i64 %1, %22
store i64 %1, i64* %rax.1.reg2mem
br i1 %24, label LBL_6, label LBL_12
LBL_6:
%25 = add i64 %22, %rbx.05.reload
%26 = icmp ult i64 %25, %5
%27 = icmp eq i1 %26, false
br i1 %27, label LBL_8, label LBL_7
LBL_7:
%28 = add i64 %4, -12
%29 = sub i64 %28, %rbx.05.reload
%30 = sub i64 %29, %21
%31 = call i64 @FUNC(i64 %rbx.05.reload, i64 %25, i64 %30)
br label LBL_8
LBL_8:
%32 = sub i64 %1, %22
%33 = call i64 @FUNC(i64 %0, i64 %32)
store i64 %33, i64* %rax.1.reg2mem
br label LBL_12
LBL_9:
%34 = add i64 %15, %20
%35 = urem i32 %19, 2
%36 = icmp ne i32 %35, 0
%37 = zext i1 %36 to i64
%spec.select = add i64 %34, %37
%38 = icmp ugt i64 %3, %spec.select
store i64 %spec.select, i64* %rbx.05.reg2mem
br i1 %38, label LBL_11, label LBL_10
LBL_10:
%rbx.05.reload = load i64, i64* %rbx.05.reg2mem
%39 = icmp ult i64 %rbx.05.reload, %5
store i64 %5, i64* %rax.1.reg2mem
br i1 %39, label LBL_2, label LBL_12
LBL_11:
%40 = zext i32 %35 to i64
store i64 %40, i64* %rax.1.reg2mem
br label LBL_12
LBL_12:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i64 %rbx.05.reload, { 1, 2, 0, 4, 5, 3 }
uselistorder i32 %35, { 1, 0 }
uselistorder i64 %22, { 3, 1, 2, 0, 4 }
uselistorder i64 %20, { 1, 0 }
uselistorder i64 %5, { 0, 2, 1 }
uselistorder i64 %3, { 2, 0, 1 }
uselistorder i64 %1, { 4, 0, 3, 2, 1, 5 }
uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 5, 4, 6, 2, 7 }
uselistorder i64 (i64, i64, i64*)* @PushShortPixel, { 1, 0 }
uselistorder i64 (i64, i64, i64*)* @PushLongPixel, { 1, 0 }
uselistorder label LBL_12, { 2, 0, 4, 5, 3, 1, 6 }
uselistorder label LBL_10, { 1, 0 }
} | 0 |
BinRealVul | f2fs_init_extent_tree_11824 | f2fs_init_extent_tree | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = trunc i64 %2 to i8
%4 = icmp eq i8 %3, 1
br i1 %4, label LBL_3, label LBL_1
LBL_1:
%5 = icmp eq i64* %arg2, null
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_8, label LBL_2
LBL_2:
store i64 0, i64* %arg2, align 8
store i64 1, i64* %rax.0.reg2mem
br label LBL_8
LBL_3:
%6 = call i64 @FUNC(i64 %0)
%7 = icmp eq i64* %arg2, null
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_8, label LBL_4
LBL_4:
%8 = ptrtoint i64* %arg2 to i64
%9 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8)
%10 = call i64 @FUNC(i64 %6)
%11 = add i64 %6, 4
%12 = call i64 @FUNC(i64 %11)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_7, label LBL_5
LBL_5:
%16 = call i64 @FUNC(i64 %1, i64 %6, i64* nonnull %sv_0)
store i64 %16, i64* %sv_0, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label LBL_7, label LBL_6
LBL_6:
%18 = call i64 @FUNC(i64 %1)
%19 = add i64 %1, 4
%20 = load i64, i64* %sv_0, align 8
%21 = call i64 @FUNC(i64 %20, i64 %19)
%22 = call i64 @FUNC(i64 %1)
br label LBL_7
LBL_7:
%23 = call i64 @FUNC(i64 %6)
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 %6, { 1, 0, 3, 2 }
uselistorder i64 %1, { 2, 1, 0, 3 }
uselistorder i64* %sv_0, { 2, 3, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder i64* %arg2, { 3, 0, 1, 2 }
uselistorder label LBL_8, { 2, 0, 3, 1 }
uselistorder label LBL_7, { 2, 0, 1 }
} | 1 |
BinRealVul | os_set_proc_name_3990 | os_set_proc_name | 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
%sv_0 = alloca i64, align 8
%4 = icmp eq i64 %arg1, 0
br i1 %4, label LBL_4, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64* nonnull %sv_0, i64 16, i64 %arg1)
%6 = ptrtoint i64* %sv_0 to i64
%7 = trunc i64 %6 to i32
%8 = trunc i64 %arg1 to i32
%9 = trunc i64 %2 to i32
%10 = trunc i64 %1 to i32
%11 = call i32 @prctl(i32 15, i32 %7, i32 %8, i32 %9, i32 %10)
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_3, label LBL_2
LBL_2:
call void @perror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_3:
%13 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%14 = call i32 @fwrite(i64* bitcast ([49 x i8]* @gv_2 to i64*), i32 1, i32 48, %_IO_FILE* %13)
call void @exit(i32 1)
unreachable
LBL_4:
ret i64 %3
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder void (i32)* @exit, { 1, 0 }
} | 0 |
BinRealVul | wv_get_value_integer_16713 | wv_get_value_integer | define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.1.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = trunc i64 %1 to i32
%5 = icmp eq i32 %4, 0
store i32 %arg3, i32* %sv_0.1.reg2mem
br i1 %5, label LBL_3, label LBL_1
LBL_1:
%6 = urem i32 %4, 32
%7 = shl i32 %arg3, %6
%8 = add i64 %3, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp eq i32 %10, 0
store i32 %7, i32* %sv_0.1.reg2mem
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = trunc i64 %2 to i32
%13 = add i64 %3, 24
%14 = and i64 %1, 4294967295
%15 = call i64 @FUNC(i64 %13, i64 %14)
%16 = trunc i64 %15 to i32
%17 = or i32 %7, %16
%18 = mul i32 %12, 9
%19 = urem i32 %17, 65536
%20 = mul nuw nsw i32 %19, 3
%21 = udiv i32 %17, 65536
%22 = add i32 %21, %18
%23 = add i32 %22, %20
store i32 %23, i32* %arg2, align 4
store i32 %17, i32* %sv_0.1.reg2mem
br label LBL_3
LBL_3:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%24 = add i64 %3, 8
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = and i32 %26, %sv_0.1.reload
%28 = add i64 %3, 12
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = or i32 %30, %27
%32 = add i32 %31, %sv_0.1.reload
%33 = add i64 %3, 16
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = urem i32 %35, 32
%37 = shl i32 %32, %36
%38 = sub i32 %37, %31
%39 = add i64 %3, 20
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = urem i32 %41, 32
%43 = shl i32 %38, %42
%rdx.1 = zext i32 %43 to i64
ret i64 %rdx.1
uselistorder i32 %31, { 1, 0 }
uselistorder i32 %sv_0.1.reload, { 1, 0 }
uselistorder i32 %7, { 1, 0 }
uselistorder i64 %3, { 2, 3, 5, 4, 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 %arg3, { 1, 0 }
} | 1 |
BinRealVul | nested_vmx_check_permission_19312 | nested_vmx_check_permission | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 1, i64* %storemerge.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %0, i64 6)
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | spapr_drc_detach_17096 | spapr_drc_detach | 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 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 1
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %2)
%9 = and i64 %8, 4294967295
%10 = call i64 @FUNC(i64 %9)
%11 = add i64 %2, 8
%12 = inttoptr i64 %11 to i8*
store i8 1, i8* %12, align 1
store i64 %2, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%13 = call i64 @FUNC(i64 %2)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 2
br i1 %15, label LBL_5, label LBL_3
LBL_3:
%16 = add i64 %2, 4
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = icmp eq i32 %18, 3
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = call i64 @FUNC(i64 %2)
%21 = and i64 %20, 4294967295
%22 = call i64 @FUNC(i64 %21)
%23 = add i64 %2, 8
%24 = inttoptr i64 %23 to i8*
store i8 1, i8* %24, align 1
store i64 %2, i64* %rax.0.reg2mem
br label LBL_8
LBL_5:
%25 = add i64 %2, 9
%26 = inttoptr i64 %25 to i8*
%27 = load i8, i8* %26, align 1
%28 = icmp eq i8 %27, 0
br i1 %28, label LBL_7, label LBL_6
LBL_6:
%29 = add i64 %2, 8
%30 = inttoptr i64 %29 to i8*
store i8 1, i8* %30, align 1
%31 = call i64 @FUNC(i64 %2)
%32 = and i64 %31, 4294967295
%33 = call i64 @FUNC(i64 %32)
store i64 %33, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%34 = call i64 @FUNC(i64 %2)
store i64 %34, 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 %2, { 8, 5, 7, 6, 1, 3, 4, 2, 9, 0, 10, 11, 12 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 (i64)* @spapr_drc_index, { 3, 2, 1, 0 }
} | 1 |
BinRealVul | mk_iov_create_17506 | mk_iov_create | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg1 to i32
%1 = trunc i64 %arg2 to i32
%2 = call i64 @FUNC(i64 48)
%3 = inttoptr i64 %2 to i32*
store i32 %1, i32* %3, align 4
%sext = mul i64 %arg1, 4294967296
%4 = ashr exact i64 %sext, 28
%5 = call i64 @FUNC(i64 %4)
%6 = add i64 %2, 8
%7 = inttoptr i64 %6 to i64*
store i64 %5, i64* %7, align 8
%8 = ashr exact i64 %sext, 29
%9 = call i64 @FUNC(i64 %8)
%10 = add i64 %2, 16
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
%12 = add i64 %2, 24
%13 = inttoptr i64 %12 to i32*
store i32 0, i32* %13, align 4
%14 = add i64 %2, 32
%15 = inttoptr i64 %14 to i64*
store i64 0, i64* %15, align 8
%16 = add i64 %2, 40
%17 = inttoptr i64 %16 to i32*
store i32 %0, i32* %17, align 4
ret i64 %2
uselistorder i64 %sext, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 (i64)* @mk_mem_malloc_z, { 1, 0 }
} | 1 |
BinRealVul | sql_close_17425 | sql_close | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
store i64 0, i64* %arg1, align 8
ret i64 0
} | 1 |
BinRealVul | base64_encode_xmlrpc_6256 | base64_encode_xmlrpc | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.29.reg2mem = alloca i64
%sv_1.211.reg2mem = alloca i32
%indvars.iv15.reg2mem = alloca i64
%sv_2.023.reg2mem = alloca i32
%sv_0.05.reg2mem = alloca i64
%sv_1.06.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%storemerge212.reg2mem = alloca i32
%indvars.iv17.reg2mem = alloca i64
%storemerge313.reg2mem = alloca i32
%indvars.iv20.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_3 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
store i64 0, i64* %indvars.iv20.reg2mem
store i32 0, i32* %storemerge313.reg2mem
br label LBL_1
LBL_1:
%storemerge313.reload = load i32, i32* %storemerge313.reg2mem
%indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem
%2 = trunc i32 %storemerge313.reload to i8
%3 = add i8 %2, 65
%4 = add i64 %indvars.iv20.reload, ptrtoint (i8** @gv_0 to i64)
%5 = inttoptr i64 %4 to i8*
store i8 %3, i8* %5, align 1
%6 = add i8 %2, 97
%7 = add nuw nsw i64 %indvars.iv20.reload, 4210810
%8 = inttoptr i64 %7 to i8*
store i8 %6, i8* %8, align 1
%indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1
%9 = add nuw nsw i32 %storemerge313.reload, 1
%exitcond22 = icmp eq i64 %indvars.iv.next21, 26
store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem
store i32 %9, i32* %storemerge313.reg2mem
store i64 0, i64* %indvars.iv17.reg2mem
store i32 0, i32* %storemerge212.reg2mem
br i1 %exitcond22, label LBL_2, label LBL_1
LBL_2:
%storemerge212.reload = load i32, i32* %storemerge212.reg2mem
%indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem
%10 = trunc i32 %storemerge212.reload to i8
%11 = add i8 %10, 48
%12 = add nuw nsw i64 %indvars.iv17.reload, 4210836
%13 = inttoptr i64 %12 to i8*
store i8 %11, i8* %13, align 1
%indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1
%14 = add nuw nsw i32 %storemerge212.reload, 1
%exitcond19 = icmp eq i64 %indvars.iv.next18, 10
store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem
store i32 %14, i32* %storemerge212.reg2mem
br i1 %exitcond19, label LBL_3, label LBL_2
LBL_3:
%15 = ptrtoint i64* %sv_3 to i64
store i8 43, i8* inttoptr (i64 4210846 to i8*), align 2
store i8 47, i8* inttoptr (i64 4210847 to i8*), align 1
%16 = add i64 %15, -27
%17 = add i64 %15, -31
%18 = add i64 %0, 8
%19 = inttoptr i64 %18 to i32*
store i32 0, i32* %sv_1.211.reg2mem
store i64 %arg2, i64* %sv_0.29.reg2mem
br label LBL_13
LBL_4:
%sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem
%sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%20 = add i64 %sv_0.05.reload, 1
%21 = add i32 %sv_1.06.reload, 1
%22 = icmp sgt i32 %21, %arg3
br i1 %22, label LBL_7, label LBL_5
LBL_5:
%23 = icmp eq i32 %21, 0
%24 = icmp slt i32 %21, 0
%25 = icmp eq i1 %24, false
%26 = icmp eq i1 %23, false
%27 = icmp eq i1 %25, %26
br i1 %27, label LBL_6, label LBL_7
LBL_6:
%28 = inttoptr i64 %sv_0.05.reload to i8*
%29 = load i8, i8* %28, align 1
%30 = add nuw nsw i64 %16, %indvars.iv.reload
%31 = inttoptr i64 %30 to i8*
store i8 %29, i8* %31, align 1
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%32 = icmp ult i64 %indvars.iv.next, 3
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %21, i32* %sv_1.06.reg2mem
store i64 %20, i64* %sv_0.05.reg2mem
store i32 0, i32* %sv_2.023.reg2mem
br i1 %32, label LBL_4, label LBL_9
LBL_7:
%33 = trunc i64 %indvars.iv.reload to i32
%34 = icmp slt i32 %33, 1
store i32 1, i32* %sv_2.023.reg2mem
br i1 %34, label LBL_14, label LBL_9
LBL_8:
%35 = icmp eq i32 %sv_2.023.reload, 0
store i32 %21, i32* %sv_1.211.reg2mem
store i64 %20, i64* %sv_0.29.reg2mem
br i1 %35, label LBL_13, label LBL_14
LBL_9:
%sv_2.023.reload = load i32, i32* %sv_2.023.reg2mem
store i64 0, i64* %indvars.iv15.reg2mem
br label LBL_10
LBL_10:
%indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem
%36 = add nuw nsw i64 %17, %indvars.iv15.reload
%37 = inttoptr i64 %36 to i8*
%38 = load i8, i8* %37, align 1
%39 = sext i8 %38 to i64
%40 = and i64 %39, 4294967295
%41 = call i64 @FUNC(i64 %0, i64 %40)
%42 = load i32, i32* %19, align 4
%43 = srem i32 %42, 72
%44 = icmp eq i32 %43, 0
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_12, label LBL_11
LBL_11:
%46 = call i64 @FUNC(i64 %0, i64 10)
br label LBL_12
LBL_12:
%indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next16, 4
store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem
br i1 %exitcond, label LBL_8, label LBL_10
LBL_13:
%sv_0.29.reload = load i64, i64* %sv_0.29.reg2mem
%sv_1.211.reload = load i32, i32* %sv_1.211.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
store i32 %sv_1.211.reload, i32* %sv_1.06.reg2mem
store i64 %sv_0.29.reload, i64* %sv_0.05.reg2mem
br label LBL_4
LBL_14:
%47 = call i64 @FUNC(i64 %0, i64 10)
ret i64 %47
uselistorder i32 %21, { 0, 1, 3, 2, 4 }
uselistorder i64 %indvars.iv.reload, { 2, 0, 1 }
uselistorder i64 %15, { 1, 0 }
uselistorder i64 %indvars.iv20.reload, { 0, 2, 1 }
uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge313.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv17.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge212.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_1.06.reg2mem, { 2, 1, 0 }
uselistorder i64* %sv_0.05.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_2.023.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64, i64)* @buffer_add, { 0, 2, 1 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder i64 10, { 1, 2, 0 }
uselistorder i64 1, { 2, 3, 4, 1, 0 }
uselistorder i32 0, { 4, 7, 1, 5, 6, 0, 2, 3, 8 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | vscsi_find_req_15643 | vscsi_find_req | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg2 to i32
%1 = icmp ult i32 %0, 256
br i1 %1, label LBL_1, label LBL_2
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = mul i64 %arg2, 4
%4 = and i64 %3, 17179869180
%5 = add i64 %4, %2
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
%spec.select = select i1 %9, i64 %5, i64 0
ret i64 %spec.select
LBL_2:
ret i64 0
} | 1 |
BinRealVul | RegisterVIFFImage_12998 | RegisterVIFFImage | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i64*
store i64 4198784, i64* %2, align 8
%3 = add i64 %0, 24
%4 = inttoptr i64 %3 to i64*
store i64 4198791, i64* %4, align 8
%5 = add i64 %0, 32
%6 = inttoptr i64 %5 to i64*
store i64 4198798, i64* %6, align 8
%7 = call i64 @FUNC(i64 %0)
%8 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))
%9 = add i64 %8, 16
%10 = inttoptr i64 %9 to i64*
store i64 4198784, i64* %10, align 8
%11 = add i64 %8, 24
%12 = inttoptr i64 %11 to i64*
store i64 4198791, i64* %12, align 8
%13 = call i64 @FUNC(i64 %8)
ret i64 0
uselistorder i64 (i64)* @RegisterMagickInfo, { 1, 0 }
uselistorder i64 (i8*, i8*, i8*)* @AcquireMagickInfo, { 1, 0 }
} | 1 |
BinRealVul | virtio_ioport_read_3417 | virtio_ioport_read | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = and i64 %1, 4294967295
store i64 %2, i64* @0, align 8
%3 = udiv i64 %1, 4
%4 = trunc i64 %3 to i32
%5 = urem i32 %4, 1073741824
%arg2.tr = trunc i64 %arg2 to i32
%6 = mul i32 %arg2.tr, 1073741824
%7 = or i32 %5, %6
store i32 -1, i32* %sv_0.0.reg2mem
switch i32 %7, label LBL_10 [
i32 0, label LBL_1
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_4
i32 4, label LBL_5
i32 5, label LBL_6
i32 6, label LBL_7
i32 7, label LBL_8
i32 8, label LBL_9
]
LBL_1:
%8 = trunc i64 %0 to i32
store i32 %8, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_2:
%9 = add i64 %0, 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
store i32 %11, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_3:
%12 = add i64 %0, 12
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = zext i32 %14 to i64
%16 = call i64 @FUNC(i64 %0, i64 %15)
%17 = trunc i64 %16 to i32
%18 = udiv i32 %17, 4096
store i32 %18, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_4:
%19 = add i64 %0, 12
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = zext i32 %21 to i64
%23 = call i64 @FUNC(i64 %0, i64 %22)
%24 = trunc i64 %23 to i32
store i32 %24, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_5:
%25 = add i64 %0, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
store i32 %27, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_6:
%28 = add i64 %0, 16
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
store i32 %30, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_7:
%31 = add i64 %0, 20
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
store i32 0, i32* %32, align 4
%34 = add i64 %0, 8
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = zext i32 %36 to i64
%38 = call i64 @FUNC(i64 %37, i64 0)
store i32 %33, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_8:
%39 = add i64 %0, 24
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
store i32 %41, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_9:
%42 = add i64 %0, 12
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = zext i32 %44 to i64
%46 = call i64 @FUNC(i64 %0, i64 %45)
%47 = trunc i64 %46 to i32
store i32 %47, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_10:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%48 = zext i32 %sv_0.0.reload to i64
ret i64 %48
uselistorder i64 %0, { 12, 11, 10, 8, 9, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_10, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }
} | 0 |
BinRealVul | intel_sdvo_lvds_init_17449 | intel_sdvo_lvds_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 8, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_7
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = inttoptr i64 %0 to i32*
%5 = bitcast i64* %arg1 to i32*
store i32 1, i32* %5, align 4
store i32 2, i32* %4, align 4
%6 = trunc i64 %arg2 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = add i64 %3, 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = or i32 %11, 1
store i32 %12, i32* %10, align 4
%13 = add i64 %0, 4
%14 = inttoptr i64 %13 to i32*
store i32 1, i32* %14, align 4
br label LBL_5
LBL_3:
%15 = icmp eq i32 %6, 1
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = add i64 %3, 8
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = or i32 %19, 2
store i32 %20, i32* %18, align 4
%21 = add i64 %0, 4
%22 = inttoptr i64 %21 to i32*
store i32 2, i32* %22, align 4
br label LBL_5
LBL_5:
%23 = add i64 %3, 4
%24 = inttoptr i64 %23 to i32*
store i32 3, i32* %24, align 4
%25 = call i64 @FUNC(i64 %3, i64 %0)
%26 = call i64 @FUNC(i64 %3, i64 %0)
%27 = trunc i64 %26 to i8
%28 = icmp eq i8 %27, 1
%29 = icmp eq i1 %28, false
store i64 1, i64* %rax.0.reg2mem
br i1 %29, label LBL_6, label LBL_7
LBL_6:
%30 = call i64 @FUNC(i64 %0)
%31 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 2, 3, 4, 1, 0 }
uselistorder i64 %0, { 1, 4, 2, 5, 0, 3, 6, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 8, { 1, 2, 0 }
uselistorder label LBL_7, { 2, 0, 1 }
} | 1 |
BinRealVul | decode_syncpoint_1934 | decode_syncpoint | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%2 = load i64, i64* %1
%3 = load i64, i64* %1
%4 = load i128, i128* %0
%5 = load i128, i128* %0
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = call i64 @FUNC(i64 %11)
%13 = add i64 %12, -8
%14 = add i64 %6, 16
%15 = inttoptr i64 %14 to i64*
store i64 %13, i64* %15, align 8
%16 = call i64 @FUNC(i64 %6, i64 %11, i64 1, i64 0)
%17 = call i64 @FUNC(i64 %11)
%18 = call i64 @FUNC(i64 %11)
%19 = load i64, i64* %15, align 8
%20 = call i64 @FUNC(i64 %11)
%21 = mul i64 %20, 16
%22 = sub i64 %19, %21
store i64 %22, i64* %arg3, align 8
%23 = icmp slt i64 %22, 0
%24 = icmp eq i1 %23, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %24, label LBL_1, label LBL_8
LBL_1:
%25 = add i64 %17, %16
%26 = add i64 %6, 24
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = sext i32 %28 to i64
%30 = udiv i64 %18, %29
%31 = add i64 %6, 32
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = urem i64 %18, %29
%35 = mul i64 %34, 8
%36 = add i64 %35, %33
%37 = inttoptr i64 %36 to i64*
%38 = load i64, i64* %37, align 8
%39 = call i64 @FUNC(i64 %6, i64 %38, i64 %30)
%40 = call i64 @FUNC(i64 %11, i64 %25)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 0
%43 = icmp eq i1 %42, false
br i1 %43, label LBL_3, label LBL_2
LBL_2:
%44 = call i64 @FUNC(i64 %11)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_4, label LBL_3
LBL_3:
%47 = call i64 @FUNC(i64 %9, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %38, i64 %3, i64 %2)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_8
LBL_4:
%48 = load i32, i32* %27, align 4
%49 = sext i32 %48 to i64
%50 = udiv i64 %18, %49
%51 = icmp slt i64 %50, 0
br i1 %51, label LBL_6, label LBL_5
LBL_5:
%52 = call i128 @FUNC(i128 %4, i128 %4)
%53 = call i128 @FUNC(i64 %50)
%54 = call i64 @FUNC(i128 %53)
store i64 %54, i64* %storemerge.reg2mem
br label LBL_7
LBL_6:
%55 = udiv i64 %50, 2
%56 = urem i64 %50, 2
%57 = or i64 %55, %56
%58 = call i128 @FUNC(i128 %5, i128 %5)
%59 = call i128 @FUNC(i64 %57)
%60 = call i128 @FUNC(i128 %59, i128 %59)
%61 = call i64 @FUNC(i128 %60)
store i64 %61, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%62 = load i64, i64* %32, align 8
%63 = load i32, i32* %27, align 4
%64 = sext i32 %63 to i64
%65 = urem i64 %18, %64
%66 = mul i64 %65, 8
%67 = add i64 %66, %62
%68 = inttoptr i64 %67 to i64*
%69 = load i64, i64* %68, align 8
%70 = call i128 @FUNC(i64 %69)
%71 = call i128 @__asm_movsd.1(i64 %storemerge.reload)
%72 = call i128 @FUNC(i128 %71, i128 %70)
%73 = call i128 @__asm_movsd.1(i64 4696837146684686336)
%74 = call i128 @FUNC(i128 %73, i128 %72)
%75 = call i64 @FUNC(i128 %74)
store i64 %75, i64* %arg2, align 8
%76 = load i64, i64* %15, align 8
%77 = call i64 @FUNC(i64 %6, i64 %76, i64 %75, i64 %62)
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 %62, { 1, 0 }
uselistorder i128 %59, { 1, 0 }
uselistorder i64 %50, { 1, 0, 3, 2 }
uselistorder i64 %18, { 2, 3, 0, 1 }
uselistorder i64 %6, { 0, 1, 3, 2, 4, 5, 6 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %1, { 1, 0 }
uselistorder i128* %0, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 (i64)* @ffio_read_varlen, { 1, 0 }
uselistorder i64 (i64)* @avio_tell, { 1, 0 }
uselistorder label LBL_8, { 1, 2, 0 }
} | 0 |
BinRealVul | nvme_trans_inquiry_18830 | nvme_trans_inquiry | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i32* %arg3 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 %4, i64 0)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
store i64 4294967284, i64* %sv_0.1.reg2mem
br i1 %7, label LBL_1, label LBL_22
LBL_1:
%8 = ptrtoint i64* %arg2 to i64
%9 = ptrtoint i64* %arg1 to i64
%10 = trunc i64 %2 to i32
%sext = mul i32 %10, 16777216
%11 = ashr exact i32 %sext, 24
%12 = trunc i64 %3 to i32
%13 = trunc i64 %1 to i8
%14 = icmp eq i8 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_5, label LBL_2
LBL_2:
%16 = trunc i32 %11 to i8
%17 = icmp eq i8 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %9, i64 %8, i64 %5, i32 %12)
store i64 %19, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_4:
%20 = call i64 @FUNC(i64 %8, i64 1, i64 2, i64 3, i64 4)
store i64 %20, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_5:
%21 = urem i32 %11, 256
%22 = icmp eq i32 %21, 177
br i1 %22, label LBL_19, label LBL_6
LBL_6:
%23 = icmp ugt i32 %21, 177
br i1 %23, label LBL_20, label LBL_7
LBL_7:
%24 = icmp eq i32 %21, 176
br i1 %24, label LBL_18, label LBL_8
LBL_8:
%25 = icmp ugt i32 %21, 176
br i1 %25, label LBL_20, label LBL_9
LBL_9:
%26 = icmp eq i32 %21, 131
br i1 %26, label LBL_16, label LBL_10
LBL_10:
%27 = icmp ugt i32 %21, 131
br i1 %27, label LBL_20, label LBL_11
LBL_11:
%28 = icmp eq i32 %21, 129
br i1 %28, label LBL_17, label LBL_12
LBL_12:
%29 = icmp ugt i32 %21, 129
br i1 %29, label LBL_20, label LBL_13
LBL_13:
%trunc = trunc i32 %11 to i8
switch i8 %trunc, label LBL_20 [
i8 0, label LBL_14
i8 -128, label LBL_15
]
LBL_14:
%30 = call i64 @FUNC(i64 %9, i64 %8, i64 %5, i32 %12)
store i64 %30, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_15:
%31 = call i64 @FUNC(i64 %9, i64 %8, i64 %5, i32 %12)
store i64 %31, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_16:
%32 = call i64 @FUNC(i64 %9, i64 %8, i64 %5, i32 %12)
store i64 %32, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_17:
%33 = call i64 @FUNC(i64 %9, i64 %8, i32 %12)
store i64 %33, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_18:
%34 = call i64 @FUNC(i64 %9, i64 %8, i64 %5, i32 %12)
store i64 %34, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_19:
%35 = call i64 @FUNC(i64 %9, i64 %8, i32 %12)
store i64 %35, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_20:
%36 = call i64 @FUNC(i64 %8, i64 1, i64 2, i64 3, i64 4)
store i64 %36, i64* %sv_0.0.reg2mem
br label LBL_21
LBL_21:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%37 = call i64 @FUNC(i64 %5)
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_22
LBL_22:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%38 = and i64 %sv_0.1.reload, 4294967295
ret i64 %38
uselistorder i32 %21, { 7, 3, 6, 2, 5, 1, 4, 0 }
uselistorder i32 %12, { 6, 5, 3, 4, 1, 2, 0 }
uselistorder i32 %11, { 1, 0, 2 }
uselistorder i64 %9, { 6, 5, 3, 4, 1, 2, 0 }
uselistorder i64 %8, { 7, 8, 6, 4, 5, 2, 3, 1, 0 }
uselistorder i64 %5, { 4, 3, 2, 0, 1, 5, 6 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 8, 9, 7, 5, 6, 3, 4, 2, 1 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64, i64, i64)* @nvme_trans_completion, { 1, 0 }
uselistorder label LBL_22, { 1, 0 }
} | 1 |
BinRealVul | mysofa_getAttribute_7212 | mysofa_getAttribute | define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 0, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_6
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
store i64 %2, i64* %sv_0.03.reg2mem
br label LBL_2
LBL_2:
%sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem
%3 = inttoptr i64 %sv_0.03.reload to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 0
br i1 %5, label LBL_5, label LBL_3
LBL_3:
%6 = inttoptr i64 %4 to i8*
%7 = call i32 @strcmp(i8* %arg2, i8* %6)
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_5, label LBL_4
LBL_4:
%10 = add i64 %sv_0.03.reload, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
store i64 %12, i64* %storemerge.reg2mem
br label LBL_6
LBL_5:
%13 = add i64 %sv_0.03.reload, 16
%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* %sv_0.03.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %17, label LBL_2, label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sv_0.03.reload, { 1, 2, 0 }
uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_6, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | sldns_str2wire_str_buf_18998 | sldns_str2wire_str_buf | define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_0.04.reg2mem = alloca i32
%sv_1 = alloca i64, align 8
%sv_2 = alloca i8, align 1
store i8 0, i8* %sv_2, align 1
store i64 %arg1, i64* %sv_1, align 8
%0 = icmp eq i64* %arg3, null
%1 = icmp eq i1 %0, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_9
LBL_1:
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %sv_1 to i64
%4 = call i64 @FUNC(i8* nonnull %sv_2, i64* nonnull %sv_1)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i32 0, i32* %sv_0.04.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
br i1 %7, label LBL_2, label LBL_7
LBL_2:
%sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem
%8 = icmp ult i32 %sv_0.04.reload, 255
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = load i64, i64* %sv_1, align 8
%10 = sub i64 %9, %arg1
%11 = call i64 @FUNC(i64 4294967294, i64 %10)
store i64 %11, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%12 = sext i32 %sv_0.04.reload to i64
%13 = add nsw i64 %12, 1
%14 = icmp ugt i64 %13, %3
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_6, label LBL_5
LBL_5:
%16 = load i64, i64* %sv_1, align 8
%17 = sub i64 %16, %arg1
%18 = call i64 @FUNC(i64 4294967295, i64 %17)
store i64 %18, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%19 = trunc i64 %13 to i32
%20 = add i64 %13, %2
%21 = load i8, i8* %sv_2, align 1
%22 = inttoptr i64 %20 to i8*
store i8 %21, i8* %22, align 1
%23 = call i64 @FUNC(i8* nonnull %sv_2, i64* nonnull %sv_1)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
%26 = icmp eq i1 %25, false
store i32 %19, i32* %sv_0.04.reg2mem
store i32 %19, i32* %sv_0.0.lcssa.reg2mem
br i1 %26, label LBL_2, label LBL_7
LBL_7:
%27 = load i64, i64* %sv_1, align 8
%28 = icmp eq i64 %27, 0
%29 = icmp eq i1 %28, false
store i64 4294967293, i64* %rax.0.reg2mem
br i1 %29, label LBL_8, label LBL_9
LBL_8:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%30 = trunc i32 %sv_0.0.lcssa.reload to i8
%31 = bitcast i64* %arg2 to i8*
store i8 %30, i8* %31, align 1
%32 = sext i32 %sv_0.0.lcssa.reload to i64
%33 = add nsw i64 %32, 1
store i64 %33, i64* %arg3, align 8
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 %13, { 0, 2, 1 }
uselistorder i32 %sv_0.04.reload, { 1, 0 }
uselistorder i8* %sv_2, { 1, 2, 0, 3 }
uselistorder i64* %sv_1, { 2, 1, 4, 5, 0, 3, 6 }
uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 5, 4, 2 }
uselistorder i64 1, { 1, 2, 0, 3 }
uselistorder i64 (i64, i64)* @RET_ERR, { 1, 0 }
uselistorder i64 (i8*, i64*)* @sldns_parse_char, { 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2 }
uselistorder label LBL_9, { 2, 0, 3, 4, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | nfs_setattr_update_inode_4419 | nfs_setattr_update_inode | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem2 = alloca i32
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = trunc i64 %2 to i32
%6 = urem i32 %5, 8
%7 = icmp eq i32 %6, 0
store i32 %5, i32* %.reg2mem2
br i1 %7, label LBL_8, label LBL_1
LBL_1:
%8 = urem i32 %5, 2
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = trunc i64 %1 to i32
%11 = add i64 %3, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = urem i32 %13, 512
%15 = and i32 %10, -512
%16 = or i32 %14, %15
%17 = bitcast i64* %arg1 to i32*
store i32 %16, i32* %17, align 4
br label LBL_3
LBL_3:
%18 = bitcast i64* %rsi to i32*
%19 = and i32 %5, 2
%20 = icmp eq i32 %19, 0
store i32 %5, i32* %.reg2mem
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = add i64 %3, 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = add i64 %4, 4
%25 = inttoptr i64 %24 to i32*
store i32 %23, i32* %25, align 4
%.pre = load i32, i32* %18, align 8
store i32 %.pre, i32* %.reg2mem
br label LBL_5
LBL_5:
%.reload = load i32, i32* %.reg2mem
%26 = and i32 %.reload, 4
%27 = icmp eq i32 %26, 0
br i1 %27, label LBL_7, label LBL_6
LBL_6:
%28 = add i64 %3, 12
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = add i64 %4, 8
%32 = inttoptr i64 %31 to i32*
store i32 %30, i32* %32, align 4
br label LBL_7
LBL_7:
%33 = add i64 %4, 16
%34 = call i64 @FUNC(i64 %33)
%35 = call i64 @FUNC(i64 %4)
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = or i32 %37, 3
store i32 %38, i32* %36, align 4
%39 = call i64 @FUNC(i64 %33)
%.pre1 = load i32, i32* %18, align 8
store i32 %.pre1, i32* %.reg2mem2
br label LBL_8
LBL_8:
%.reload3 = load i32, i32* %.reg2mem2
%40 = and i32 %.reload3, 8
%41 = icmp eq i32 %40, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %41, label LBL_10, label LBL_9
LBL_9:
%42 = call i64 @FUNC(i64 %4, i64 1)
%43 = add i64 %3, 16
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = add i64 %4, 12
%47 = inttoptr i64 %46 to i32*
store i32 %45, i32* %47, align 4
%48 = load i32, i32* %44, align 4
%49 = zext i32 %48 to i64
%50 = call i64 @FUNC(i64 %4, i64 %49)
store i64 %50, 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 %5, { 1, 4, 2, 0, 3 }
uselistorder i64 %4, { 4, 6, 5, 3, 2, 1, 0 }
uselistorder i64 %3, { 2, 1, 0, 3 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem2, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder i32 8, { 1, 0 }
} | 0 |
BinRealVul | ff_get_cpu_flags_x86_6 | ff_get_cpu_flags_x86 | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i32
%sv_0.9.reg2mem = alloca i64
%.pre-phi8.reg2mem = alloca i8*
%sv_1.0.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i32
%1 = load i32, i32* %0
%2 = load i32, i32* %0
%3 = load i32, i32* %0
%4 = load i32, i32* %0
%5 = load i32, i32* %0
%6 = load i32, i32* %0
%sv_3 = alloca i32, align 4
%7 = load i32, i32* %0
%8 = load i32, i32* %0
%9 = load i32, i32* %0
%10 = sext i32 %9 to i64
%11 = sext i32 %8 to i64
%12 = sext i32 %7 to i64
%13 = sext i32 %6 to i64
%14 = call i64 @FUNC(i64 0, i64 %13, i64 %12, i64 %11, i64 %10)
%15 = icmp slt i32 %6, 1
%.pre = sext i32 %5 to i64
%.pre5 = sext i32 %4 to i64
store i32 0, i32* %sv_2.0.reg2mem
store i32 0, i32* %sv_1.0.reg2mem
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%16 = sext i32 %3 to i64
%17 = call i64 @FUNC(i64 1, i64 %16, i64 %.pre5, i64 %.pre, i64 0)
%18 = udiv i32 %3, 256
%19 = urem i32 %18, 16
%20 = udiv i32 %3, 1048576
%21 = urem i32 %20, 256
%22 = add nuw nsw i32 %21, %19
%23 = udiv i32 %3, 16
%24 = urem i32 %23, 16
%25 = udiv i32 %3, 4096
%26 = and i32 %25, 240
%27 = or i32 %26, %24
store i32 %27, i32* %sv_2.0.reg2mem
store i32 %22, i32* %sv_1.0.reg2mem
br label LBL_2
LBL_2:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%28 = sext i32 %2 to i64
%29 = sext i32 %1 to i64
%30 = call i64 @FUNC(i64 2147483648, i64 %29, i64 %.pre5, i64 %.pre, i64 %28)
%31 = icmp sgt i32 %1, -1
%32 = icmp eq i32 %1, -2147483648
%33 = or i1 %31, %32
br i1 %33, label LBL_2.LBL_5_crit_edge, label LBL_4
LBL_3:
%.pre7 = bitcast i32* %sv_3 to i8*
store i8* %.pre7, i8** %.pre-phi8.reg2mem
br label LBL_5
LBL_4:
%34 = sext i32 %3 to i64
%35 = call i64 @FUNC(i64 2147483649, i64 %34, i64 %.pre5, i64 %.pre, i64 0)
%36 = bitcast i32* %sv_3 to i8*
%37 = call i32 @strncmp(i8* nonnull %36, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i32 12)
store i8* %36, i8** %.pre-phi8.reg2mem
br label LBL_5
LBL_5:
%.pre-phi8.reload = load i8*, i8** %.pre-phi8.reg2mem
%38 = call i32 @strncmp(i8* nonnull %.pre-phi8.reload, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i32 12)
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
store i64 0, i64* %sv_0.9.reg2mem
br i1 %40, label LBL_7, label LBL_6
LBL_6:
%41 = icmp eq i32 %sv_1.0.reload, 6
%42 = icmp eq i32 %sv_2.0.reload, 28
%43 = icmp eq i1 %42, %41
%phitmp = select i1 %43, i64 8192, i64 0
store i64 %phitmp, i64* %sv_0.9.reg2mem
br label LBL_7
LBL_7:
%sv_0.9.reload = load i64, i64* %sv_0.9.reg2mem
ret i64 %sv_0.9.reload
uselistorder i32* %sv_3, { 1, 0 }
uselistorder i32 %3, { 0, 5, 4, 3, 2, 1 }
uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %0, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32 16, { 1, 0, 2 }
uselistorder i32 256, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i64 (i64, i64, i64, i64, i64)* @cpuid, { 3, 2, 1, 0 }
uselistorder i32 1, { 5, 6, 4, 3, 2, 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | scsi_req_xfer_mode_1295 | scsi_req_xfer_mode | 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 i8
%4 = icmp ugt i8 %3, -79
br i1 %4, label LBL_9, label LBL_1
LBL_1:
%5 = icmp ugt i8 %3, -81
%6 = icmp eq i8 %3, -96
%or.cond = or i1 %5, %6
br i1 %or.cond, label LBL_8, label LBL_2
LBL_2:
%7 = icmp ugt i8 %3, -96
br i1 %7, label LBL_9, label LBL_3
LBL_3:
%8 = icmp ugt i8 %3, 29
br i1 %8, label LBL_7, label LBL_4
LBL_4:
%9 = icmp ugt i8 %3, 3
br i1 %9, label LBL_6, label LBL_9
LBL_5:
%10 = add i64 %1, 18
%11 = urem i64 %10, 64
%12 = lshr i64 283140358580231, %11
%13 = urem i64 %12, 2
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
%16 = icmp eq i1 %15, false
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_8, label LBL_9
LBL_6:
%18 = urem i8 %3, 64
%19 = icmp eq i8 %18, 0
br i1 %19, label LBL_9, label %20
LBL_7:
%.off = add i8 %3, -46
%23 = icmp ult i8 %.off, 49
br i1 %23, label LBL_5, label LBL_9
LBL_8:
%24 = add i64 %2, 20
%25 = inttoptr i64 %24 to i32*
store i32 1, i32* %25, align 4
br label LBL_12
LBL_9:
%26 = add i64 %2, 16
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = icmp eq i32 %28, 0
%30 = add i64 %2, 20
%31 = inttoptr i64 %30 to i32*
br i1 %29, label LBL_11, label LBL_10
LBL_10:
store i32 2, i32* %31, align 4
br label LBL_12
LBL_11:
store i32 0, i32* %31, align 4
br label LBL_12
LBL_12:
ret i64 %2
uselistorder i32* %31, { 1, 0 }
uselistorder i8 %3, { 7, 0, 5, 4, 3, 6, 2, 1 }
uselistorder i64 %2, { 0, 3, 2, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i1 false, { 0, 1, 2, 4, 3, 5 }
uselistorder i8 -96, { 1, 0 }
uselistorder label LBL_12, { 1, 0, 2 }
uselistorder label LBL_9, { 1, 2, 0, 3, 4, 5, 6 }
uselistorder label LBL_8, { 1, 0, 2 }
} | 0 |
BinRealVul | ksmbd_smb_request_12208 | ksmbd_smb_request | define i64 @FUNC(i64* %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
%4 = zext i1 %3 to i64
ret i64 %4
} | 1 |
BinRealVul | util_ldap_cache_init_17762 | util_ldap_cache_init | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %0, i64 %3)
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %7, 7
%9 = and i64 %8, -8
%10 = load i64, i64* %2, align 8
%11 = add i64 %0, 24
%12 = call i64 @FUNC(i64 %11, i64 %9, i64 %3, i64 %10)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_2, label LBL_1
LBL_1:
%15 = and i64 %12, 4294967295
store i64 %15, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%16 = inttoptr i64 %11 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = load i64, i64* %2, align 8
%20 = load i64, i64* %16, align 8
%21 = call i64 @FUNC(i64 %20)
%22 = add i64 %0, 32
%23 = call i64 @FUNC(i64 %22, i64 0, i64 %21, i64 %18, i64 %19)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label LBL_4, label LBL_3
LBL_3:
%26 = and i64 %23, 4294967295
store i64 %26, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%27 = load i64, i64* @gv_0, align 8
%28 = load i64, i64* %2, align 8
%29 = call i64 @FUNC(i64 %28, i64 %0, i64 4198662, i64 %27)
%30 = load i64, i64* @gv_1, align 8
%31 = load i64, i64* @gv_2, align 8
%32 = load i64, i64* @gv_3, align 8
%33 = load i64, i64* @gv_4, align 8
%34 = add i64 %0, 40
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %0, i64 %36, i64 %33, i64 %32, i64 %31, i64 %30)
%38 = add i64 %0, 48
%39 = inttoptr i64 %38 to i64*
store i64 %37, i64* %39, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 2, 1, 0, 3, 4, 5, 6, 8, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
} | 1 |
BinRealVul | xscom_read_14044 | xscom_read | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32, align 4
%4 = call i64 @FUNC(i64 %3, i64 %arg2)
%5 = and i64 %4, 4294967295
%6 = call i64 @FUNC(i64 %3, i64 %5)
%7 = icmp eq i64 %6, -1
%8 = icmp eq i1 %7, false
store i64 %6, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_3, label LBL_1
LBL_1:
%9 = mul i64 %4, 8
%10 = and i64 %9, 4294967288
%11 = bitcast i32* %sv_1 to i64*
%12 = call i64 @FUNC(i64 %3, i64 %10, i64 0, i64* nonnull %11)
%13 = and i64 %12, 4294967295
%14 = load i32, i32* %sv_1, align 4
%15 = icmp eq i32 %14, 0
store i64 %13, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %5, i64 %2, i64 %1)
%17 = load i64, i64* @gv_1, align 8
%18 = call i64 @FUNC(i64 %17, i64 6)
store i64 0, i64* %storemerge.reg2mem
br label LBL_4
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%19 = load i64, i64* @gv_1, align 8
%20 = call i64 @FUNC(i64 %19, i64 4)
store i64 %sv_0.0.reload, 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* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @xscom_complete, { 1, 0 }
} | 1 |
BinRealVul | read_cpuinfo_16242 | read_cpuinfo | define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1 = alloca i8, align 1
%0 = call i32 @strlen(i8* %arg1)
%1 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))
%2 = icmp eq %_IO_FILE* %1, null
%3 = icmp eq i1 %2, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_6
LBL_1:
%4 = call i8* @fgets(i8* nonnull %sv_1, i32 512, %_IO_FILE* %1)
%5 = icmp eq i8* %4, null
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_5, label LBL_2
LBL_2:
%6 = call i32 @strncmp(i8* nonnull %sv_1, i8* %arg1, i32 %0)
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = trunc i64 %arg3 to i32
%10 = bitcast i64* %arg2 to i8*
%11 = call i8* @strncpy(i8* %10, i8* nonnull %sv_1, i32 %9)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_5
LBL_4:
%12 = load i8, i8* %sv_1, align 1
%13 = icmp eq i8 %12, 0
%14 = icmp eq i1 %13, false
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %14, label LBL_1, label LBL_5
LBL_5:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%15 = call i32 @fclose(%_IO_FILE* %1)
store i64 %sv_0.0.reload, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i8* %sv_1, { 0, 3, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 4294967295, { 2, 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 1, 2, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | nilfs_segctor_drop_written_files_17545 | nilfs_segctor_drop_written_files | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_0.16.reg2mem = alloca i32
%.reg2mem7 = alloca i64
%.reg2mem = alloca i32*
%0 = ptrtoint i64* %arg2 to i64
%sv_1 = alloca i32*, align 8
%sv_2 = alloca i32*, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = add i64 %0, -24
%3 = inttoptr i64 %2 to i32*
store i32* %3, i32** %sv_2, align 8
%storemerge.in.in3 = load i64, i64* %arg2, align 8
%storemerge.in4 = add i64 %storemerge.in.in3, -24
%storemerge5 = inttoptr i64 %storemerge.in4 to i32*
store i32* %storemerge5, i32** %sv_1, align 8
%4 = icmp eq i64* %arg2, %arg1
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %0)
store i64 %6, i64* %rax.0.reg2mem
br label LBL_11
LBL_2:
%7 = ptrtoint i64* %arg1 to i64
%8 = add i64 %7, 16
%9 = bitcast i32** %sv_2 to i64*
store i32* %3, i32** %.reg2mem
store i64 %2, i64* %.reg2mem7
store i32 0, i32* %sv_0.16.reg2mem
br label LBL_3
LBL_3:
%sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem
%.reload8 = load i64, i64* %.reg2mem7
%10 = add i64 %.reload8, 16
%11 = call i64 @FUNC(i64 0, i64 %10)
%12 = trunc i64 %11 to i8
%13 = icmp eq i8 %12, 1
%14 = icmp eq i1 %13, false
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %14, label LBL_8, label LBL_4
LBL_4:
%.reload = load i32*, i32** %.reg2mem
%15 = ptrtoint i32* %.reload to i64
%16 = add i64 %15, 16
%17 = call i64 @FUNC(i64 1, i64 %16)
%18 = trunc i64 %17 to i8
%19 = icmp eq i8 %18, 0
%20 = icmp eq i1 %19, false
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %20, label LBL_8, label LBL_5
LBL_5:
%21 = call i64 @FUNC(i64 2, i64 %16)
%22 = add i64 %15, 8
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %24)
store i64 0, i64* %23, align 8
%26 = load i32*, i32** %sv_2, align 8
%27 = ptrtoint i32* %26 to i64
%28 = add i64 %27, 24
%29 = call i64 @FUNC(i64 %28)
%30 = load i32, i32* %26, align 4
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_7, label LBL_6
LBL_6:
%33 = call i64 @FUNC(i64 %28, i64 %8)
store i32 1, i32* %sv_0.0.reg2mem
br label LBL_8
LBL_7:
%34 = call i64 @FUNC(i64 %0)
%35 = call i64 @FUNC(i64 %27)
%36 = call i64 @FUNC(i64 %0)
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%37 = load i32*, i32** %sv_1, align 8
%38 = ptrtoint i32* %37 to i64
store i64 %38, i64* %9, align 8
%39 = add i64 %38, 24
%40 = inttoptr i64 %39 to i64*
%storemerge.in.in = load i64, i64* %40, 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
%41 = icmp eq i64 %39, %7
%42 = icmp eq i1 %41, false
store i32* %37, i32** %.reg2mem
store i64 %38, i64* %.reg2mem7
store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem
br i1 %42, label LBL_3, label LBL_9
LBL_9:
%43 = call i64 @FUNC(i64 %0)
%44 = icmp eq i32 %sv_0.0.reload, 0
store i64 %43, i64* %rax.0.reg2mem
br i1 %44, label LBL_11, label LBL_10
LBL_10:
%45 = add i64 %7, 32
%46 = call i64 @FUNC(i64 %45)
store i64 %46, 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 %38, { 0, 2, 1 }
uselistorder i64 %7, { 0, 2, 1 }
uselistorder i32** %sv_2, { 2, 0, 1 }
uselistorder i32** %sv_1, { 2, 0, 1 }
uselistorder i64 %0, { 1, 3, 2, 0, 4, 5 }
uselistorder i32** %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem7, { 1, 0, 2 }
uselistorder i32* %sv_0.16.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 i32 0, { 2, 1, 0 }
uselistorder i64 16, { 1, 2, 0 }
uselistorder i64 (i64)* @spin_unlock, { 1, 2, 0 }
uselistorder i1 false, { 4, 1, 2, 3, 0 }
uselistorder i64 -24, { 1, 0, 2 }
uselistorder i64 (i64)* @spin_lock, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_11, { 1, 2, 0 }
uselistorder label LBL_8, { 2, 3, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | cpu_get_clock_locked_1615 | cpu_get_clock_locked | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%1 = load i32, i32* @gv_1, align 4
%2 = icmp eq i32 %1, 0
store i64 %0, i64* %sv_0.0.reg2mem
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i64 @FUNC()
%4 = add i64 %3, %0
store i64 %4, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %0, { 1, 0 }
} | 0 |
BinRealVul | bson_ensure_space_19026 | bson_ensure_space | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i128, i128* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 16
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = sub i64 %arg2, %2
%7 = add i64 %6, %5
%8 = and i64 %7, 4294967295
%9 = add i64 %2, 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = zext i32 %11 to i64
%13 = icmp ugt i64 %8, %12
store i64 0, i64* %rax.0.reg2mem
br i1 %13, label LBL_1, label LBL_7
LBL_1:
%14 = trunc i64 %arg2 to i32
%15 = add i32 %11, %14
%16 = call i128 @FUNC(i128 %1, i128 %1)
%17 = call i128 @FUNC(i32 %15)
%18 = call i128 @FUNC(i64 4609434218613702656)
%19 = call i128 @FUNC(i128 %18, i128 %17)
%20 = call i32 @FUNC(i128 %19)
%21 = load i32, i32* %10, align 4
%22 = zext i32 %21 to i64
%23 = sext i32 %20 to i64
%24 = icmp slt i64 %23, %22
store i32 %20, i32* %sv_0.0.reg2mem
br i1 %24, label LBL_2, label LBL_4
LBL_2:
%25 = add i32 %21, %14
%26 = icmp eq i32 %25, 2147483647
store i32 2147483647, i32* %sv_0.0.reg2mem
br i1 %26, label LBL_3, label LBL_4
LBL_3:
%27 = add i64 %2, 24
%28 = inttoptr i64 %27 to i32*
store i32 -2, i32* %28, align 4
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%29 = sext i32 %sv_0.0.reload to i64
%30 = call i64 @FUNC(i64 %2, i64 %29)
store i64 %30, i64* %arg1, align 8
%31 = icmp eq i64* %arg1, null
%32 = icmp eq i1 %31, false
store i64 %2, i64* %rdi.0.reg2mem
br i1 %32, label LBL_6, label LBL_5
LBL_5:
%33 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %rdi.0.reg2mem
br label LBL_6
LBL_6:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
store i32 %sv_0.0.reload, i32* %10, align 4
%34 = load i64, i64* %4, align 8
%35 = sub i64 %rdi.0.reload, %2
%36 = add i64 %35, %34
store i64 %36, i64* %4, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i64* %4, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0, 3, 4, 5, 2, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_7, { 1, 2, 0 }
} | 1 |
BinRealVul | pvc_getname_13713 | pvc_getname | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
store i64 1, i64* %storemerge.reg2mem
br i1 %4, label LBL_3, label LBL_1
LBL_1:
%5 = add i64 %1, 16
%6 = call i64 @FUNC(i64 0, i64 %5)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 1, i64* %storemerge.reg2mem
br i1 %9, label LBL_2, label LBL_3
LBL_2:
%10 = ptrtoint i64* %arg2 to i64
%11 = bitcast i64* %arg3 to i32*
store i32 16, i32* %11, align 4
%12 = call i64* @memset(i64* %arg2, i32 0, i32 16)
%13 = bitcast i64* %arg2 to i32*
store i32 1, i32* %13, align 4
%14 = load i64, i64* %2, align 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = add i64 %10, 4
%18 = inttoptr i64 %17 to i32*
store i32 %16, i32* %18, align 4
%19 = add i64 %1, 8
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = add i64 %10, 8
%23 = inttoptr i64 %22 to i32*
store i32 %21, i32* %23, align 4
%24 = add i64 %1, 12
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %10, 12
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %10, { 2, 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 1, { 1, 0, 2 }
uselistorder label LBL_3, { 2, 1, 0 }
} | 0 |
BinRealVul | dd_load_text_ext_7113 | dd_load_text_ext | define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i8* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_3, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %0)
%6 = urem i64 %arg3, 2
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC()
unreachable
LBL_3:
%10 = and i64 %arg3, 4294967295
%11 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
%14 = select i1 %13, i64 %0, i64 ptrtoint ([15 x i8]* @gv_2 to i64)
%15 = call i64 @FUNC(i64 %0, i64 %14)
%16 = call i64 @FUNC(i64 %15, i64 %10)
%17 = inttoptr i64 %15 to i64*
call void @free(i64* %17)
ret i64 %16
uselistorder i64 %0, { 2, 0, 1, 3 }
uselistorder i64 %arg3, { 1, 0 }
} | 0 |
BinRealVul | generate_secret_buffer_12014 | generate_secret_buffer | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = call i64 @FUNC(i64 0, i64 %0, i32 %1)
ret i64 %2
} | 1 |
BinRealVul | js_proxy_isArray_12942 | js_proxy_isArray | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 1)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = inttoptr i64 %0 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = call i64 @FUNC(i64 %3)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%8 = call i64 @FUNC(i64 %3)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 1 |
BinRealVul | qdict_get_try_bool_3437 | qdict_get_try_bool | define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.in.in.in.in.reg2mem = alloca i64
%0 = ptrtoint i8* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1, i64 %0)
%3 = call i64 @FUNC(i64 %2)
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %3)
store i64 %5, i64* %storemerge.in.in.in.in.reg2mem
br label LBL_3
LBL_2:
%sext = mul i64 %arg3, 72057594037927936
%6 = ashr exact i64 %sext, 56
store i64 %6, i64* %storemerge.in.in.in.in.reg2mem
br label LBL_3
LBL_3:
%storemerge.in.in.in.in.reload = load i64, i64* %storemerge.in.in.in.in.reg2mem
%storemerge.in.in.in = urem i64 %storemerge.in.in.in.in.reload, 256
%storemerge.in.in = icmp eq i64 %storemerge.in.in.in, 0
%storemerge.in = icmp eq i1 %storemerge.in.in, false
%storemerge = zext i1 %storemerge.in to i64
ret i64 %storemerge
uselistorder i64* %storemerge.in.in.in.in.reg2mem, { 0, 2, 1 }
} | 0 |
BinRealVul | mg_send_digest_auth_request_4469 | mg_send_digest_auth_request | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = bitcast i64* %arg1 to i32*
store i32 401, i32* %4, align 4
%5 = call i32 @time(i32* null)
%6 = sext i32 %5 to i64
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([92 x i8], [92 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %6, i64 %2, i64 %1)
%15 = call i64 @FUNC(i64 %3)
ret i64 %15
uselistorder i64* %0, { 1, 0 }
} | 0 |
BinRealVul | i_alloc_struct_array_18772 | i_alloc_struct_array | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([101 x i8], [101 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %arg4)
ret i64 0
} | 1 |
BinRealVul | pl050_init_15649 | pl050_init | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = trunc i64 %arg3 to i32
%2 = call i64 @FUNC(i64 32)
%3 = load i64, i64* @gv_0, align 8
%4 = load i64, i64* @gv_1, align 8
%5 = call i64 @FUNC(i64 0, i64 %4, i64 %3, i64 %2)
%6 = trunc i64 %5 to i32
%7 = and i64 %arg1, 4294967295
%8 = call i64 @FUNC(i64 %7, i64 4095, i32 %6)
%9 = inttoptr i64 %2 to i32*
store i32 %0, i32* %9, align 4
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i64*
store i64 %arg2, i64* %11, align 8
%12 = add i64 %2, 16
%13 = inttoptr i64 %12 to i32*
store i32 %1, i32* %13, align 4
%14 = icmp eq i32 %1, 0
br i1 %14, label LBL_2, label LBL_1
LBL_1:
%15 = call i64 @FUNC(i64 4198805, i64 %2)
%16 = add i64 %2, 24
%17 = inttoptr i64 %16 to i64*
store i64 %15, i64* %17, align 8
store i64 %15, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%18 = call i64 @FUNC(i64 4198805, i64 %2)
%19 = add i64 %2, 24
%20 = inttoptr i64 %19 to i64*
store i64 %18, i64* %20, align 8
store i64 %18, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6, 7 }
uselistorder i32 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 1, 0, 2 }
} | 1 |
BinRealVul | arch_dup_task_struct_5483 | arch_dup_task_struct | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
%4 = call i64 @FUNC(i64 %0)
%5 = call i64 @FUNC(i64 %0)
%6 = call i64 @FUNC(i64 %0)
%7 = call i64 @FUNC(i64 %0)
%8 = call i64 @FUNC(i64 %1)
ret i64 0
} | 0 |
BinRealVul | alpha_8212 | alpha | define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %arg2 to i32
%3 = udiv i32 %arg3, 100
%4 = icmp ult i32 %3, %2
%5 = ptrtoint i32* %arg1 to i64
%6 = add i64 %5, 4
%7 = inttoptr i64 %6 to i32*
br i1 %4, label LBL_5, label LBL_1
LBL_1:
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i32 100, i32* %rax.0.shrunk.reg2mem
br i1 %10, label LBL_2, label LBL_6
LBL_2:
%11 = trunc i64 %1 to i32
%12 = add i32 %11, 1
store i32 %12, i32* %arg1, align 4
%13 = icmp sgt i32 %11, 4
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = add i64 %5, 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
store i32 %16, i32* %rax.0.shrunk.reg2mem
br label LBL_6
LBL_4:
store i32 0, i32* %arg1, align 4
store i32 0, i32* %7, align 4
store i32 100, i32* %rax.0.shrunk.reg2mem
br label LBL_6
LBL_5:
store i32 1, i32* %7, align 4
%17 = urem i32 %arg3, 100
%18 = sub i32 %2, %3
%19 = mul nuw nsw i32 %17, 100
%20 = mul i32 %18, 99
%21 = add i32 %20, %17
%22 = udiv i32 %19, %21
store i32 %22, 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 %17, { 1, 0 }
uselistorder i32 %11, { 1, 0 }
uselistorder i32* %7, { 2, 0, 1 }
uselistorder i32 %3, { 1, 0 }
uselistorder i32 %2, { 1, 0 }
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32 100, { 4, 2, 1, 0, 3 }
uselistorder i32* %arg1, { 0, 2, 1 }
uselistorder label LBL_6, { 1, 2, 3, 0 }
} | 0 |
BinRealVul | cpu_save_7450 | cpu_save | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%indvars.iv28.reg2mem = alloca i64
%indvars.iv31.reg2mem = alloca i64
%indvars.iv34.reg2mem = alloca i64
%.reg2mem = alloca i64
%indvars.iv39.reg2mem = alloca i64
%indvars.iv36.reg2mem = alloca i64
%indvars.iv45.reg2mem = alloca i64
%indvars.iv42.reg2mem = alloca i64
%indvars.iv48.reg2mem = alloca i64
%indvars.iv51.reg2mem = alloca i64
%indvars.iv54.reg2mem = alloca i64
%indvars.iv57.reg2mem = alloca i64
%indvars.iv60.reg2mem = alloca i64
%indvars.iv63.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0)
store i64 0, i64* %indvars.iv63.reg2mem
br label LBL_1
LBL_1:
%indvars.iv63.reload = load i64, i64* %indvars.iv63.reg2mem
%3 = mul i64 %indvars.iv63.reload, 4
%4 = add i64 %3, %0
%5 = call i64 @FUNC(i64 %1, i64 %4)
%indvars.iv.next64 = add nuw nsw i64 %indvars.iv63.reload, 1
%exitcond65 = icmp eq i64 %indvars.iv.next64, 32
store i64 %indvars.iv.next64, i64* %indvars.iv63.reg2mem
br i1 %exitcond65, label LBL_2, label LBL_1
LBL_2:
%6 = add i64 %0, 128
store i64 0, i64* %indvars.iv60.reg2mem
br label LBL_3
LBL_3:
%indvars.iv60.reload = load i64, i64* %indvars.iv60.reg2mem
%7 = mul i64 %indvars.iv60.reload, 4
%8 = add i64 %6, %7
%9 = call i64 @FUNC(i64 %1, i64 %8)
%indvars.iv.next61 = add nuw nsw i64 %indvars.iv60.reload, 1
%exitcond62 = icmp eq i64 %indvars.iv.next61, 32
store i64 %indvars.iv.next61, i64* %indvars.iv60.reg2mem
br i1 %exitcond62, label LBL_4, label LBL_3
LBL_4:
%10 = add i64 %0, 256
%11 = call i64 @FUNC(i64 %1, i64 %10)
%12 = add i64 %0, 260
%13 = call i64 @FUNC(i64 %1, i64 %12)
%14 = add i64 %0, 264
store i64 0, i64* %indvars.iv57.reg2mem
br label LBL_5
LBL_5:
%indvars.iv57.reload = load i64, i64* %indvars.iv57.reg2mem
%15 = mul i64 %indvars.iv57.reload, 4
%16 = add i64 %14, %15
%17 = call i64 @FUNC(i64 %1, i64 %16)
%indvars.iv.next58 = add nuw nsw i64 %indvars.iv57.reload, 1
%exitcond59 = icmp eq i64 %indvars.iv.next58, 8
store i64 %indvars.iv.next58, i64* %indvars.iv57.reg2mem
br i1 %exitcond59, label LBL_6, label LBL_5
LBL_6:
%18 = add i64 %0, 296
%19 = call i64 @FUNC(i64 %1, i64 %18)
%20 = add i64 %0, 300
%21 = call i64 @FUNC(i64 %1, i64 %20)
%22 = add i64 %0, 304
%23 = call i64 @FUNC(i64 %1, i64 %22)
%24 = add i64 %0, 308
store i64 0, i64* %indvars.iv54.reg2mem
br label LBL_7
LBL_7:
%indvars.iv54.reload = load i64, i64* %indvars.iv54.reg2mem
%25 = mul i64 %indvars.iv54.reload, 4
%26 = add i64 %24, %25
%27 = call i64 @FUNC(i64 %1, i64 %26)
%indvars.iv.next55 = add nuw nsw i64 %indvars.iv54.reload, 1
%exitcond56 = icmp eq i64 %indvars.iv.next55, 4
store i64 %indvars.iv.next55, i64* %indvars.iv54.reg2mem
br i1 %exitcond56, label LBL_8, label LBL_7
LBL_8:
%28 = add i64 %0, 328
store i64 0, i64* %indvars.iv51.reg2mem
br label LBL_9
LBL_9:
%indvars.iv51.reload = load i64, i64* %indvars.iv51.reg2mem
%29 = mul i64 %indvars.iv51.reload, 8
%30 = add i64 %28, %29
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = call i128 @FUNC(i64 %32)
%34 = call i64 @__asm_movsd.1(i128 %33)
%35 = call i64 @FUNC(i64 %1, i64 %34)
%indvars.iv.next52 = add nuw nsw i64 %indvars.iv51.reload, 1
%exitcond53 = icmp eq i64 %indvars.iv.next52, 32
store i64 %indvars.iv.next52, i64* %indvars.iv51.reg2mem
br i1 %exitcond53, label LBL_10, label LBL_9
LBL_10:
%36 = add i64 %0, 584
%37 = call i64 @FUNC(i64 %1, i64 %36)
%38 = add i64 %0, 588
%39 = call i64 @FUNC(i64 %1, i64 %38)
%40 = add i64 %0, 600
%41 = call i64 @FUNC(i64 %1, i64 %40)
%42 = add i64 %0, 604
store i64 0, i64* %indvars.iv48.reg2mem
br label LBL_11
LBL_11:
%indvars.iv48.reload = load i64, i64* %indvars.iv48.reg2mem
%43 = mul i64 %indvars.iv48.reload, 4
%44 = add i64 %42, %43
%45 = call i64 @FUNC(i64 %1, i64 %44)
%indvars.iv.next49 = add nuw nsw i64 %indvars.iv48.reload, 1
%exitcond50 = icmp eq i64 %indvars.iv.next49, 32
store i64 %indvars.iv.next49, i64* %indvars.iv48.reg2mem
br i1 %exitcond50, label LBL_12, label LBL_11
LBL_12:
%46 = add i64 %0, 732
store i64 0, i64* %indvars.iv45.reg2mem
br label LBL_15
LBL_13:
%indvars.iv42.reload = load i64, i64* %indvars.iv42.reg2mem
%47 = add nuw nsw i64 %indvars.iv42.reload, %51
%48 = mul i64 %47, 4
%49 = add i64 %46, %48
%50 = call i64 @FUNC(i64 %1, i64 %49)
%indvars.iv.next43 = add nuw nsw i64 %indvars.iv42.reload, 1
%exitcond44 = icmp eq i64 %indvars.iv.next43, 8
store i64 %indvars.iv.next43, i64* %indvars.iv42.reg2mem
br i1 %exitcond44, label LBL_14, label LBL_13
LBL_14:
%indvars.iv.next46 = add nuw nsw i64 %indvars.iv45.reload, 1
%exitcond47 = icmp eq i64 %indvars.iv.next46, 2
store i64 %indvars.iv.next46, i64* %indvars.iv45.reg2mem
br i1 %exitcond47, label LBL_16, label LBL_15
LBL_15:
%indvars.iv45.reload = load i64, i64* %indvars.iv45.reg2mem
%51 = mul i64 %indvars.iv45.reload, 8
store i64 0, i64* %indvars.iv42.reg2mem
br label LBL_13
LBL_16:
%52 = add i64 %0, 796
store i64 0, i64* %indvars.iv39.reg2mem
br label LBL_19
LBL_17:
%indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem
%53 = add nuw nsw i64 %indvars.iv36.reload, %57
%54 = mul i64 %53, 4
%55 = add i64 %52, %54
%56 = call i64 @FUNC(i64 %1, i64 %55)
%indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1
%exitcond38 = icmp eq i64 %indvars.iv.next37, 8
store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem
br i1 %exitcond38, label LBL_18, label LBL_17
LBL_18:
%indvars.iv.next40 = add nuw nsw i64 %indvars.iv39.reload, 1
%exitcond41 = icmp eq i64 %indvars.iv.next40, 2
store i64 %indvars.iv.next40, i64* %indvars.iv39.reg2mem
br i1 %exitcond41, label LBL_20, label LBL_19
LBL_19:
%indvars.iv39.reload = load i64, i64* %indvars.iv39.reg2mem
%57 = mul i64 %indvars.iv39.reload, 8
store i64 0, i64* %indvars.iv36.reg2mem
br label LBL_17
LBL_20:
%58 = add i64 %0, 860
%59 = call i64 @FUNC(i64 %1, i64 %58)
%60 = add i64 %0, 864
%61 = call i64 @FUNC(i64 %1, i64 %60)
%62 = add i64 %0, 868
%63 = call i64 @FUNC(i64 %1, i64 %62)
%64 = add i64 %0, 872
%65 = call i64 @FUNC(i64 %1, i64 %64)
%66 = add i64 %0, 876
%67 = call i64 @FUNC(i64 %1, i64 %66)
%68 = add i64 %0, 880
%69 = call i64 @FUNC(i64 %1, i64 %68)
%70 = add i64 %0, 888
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = icmp eq i64 %72, 0
br i1 %73, label LBL_24, label LBL_21
LBL_21:
%74 = inttoptr i64 %58 to i32*
%75 = load i32, i32* %74, align 4
%76 = icmp eq i32 %75, 0
store i64 %72, i64* %.reg2mem
store i64 0, i64* %indvars.iv34.reg2mem
br i1 %76, label LBL_24, label LBL_22
LBL_22:
%indvars.iv34.reload = load i64, i64* %indvars.iv34.reg2mem
%.reload = load i64, i64* %.reg2mem
%77 = mul nuw nsw i64 %indvars.iv34.reload, 12
%78 = add i64 %77, %.reload
%79 = call i64 @FUNC(i64 %1, i64 %78)
%80 = load i64, i64* %71, align 8
%81 = add nuw nsw i64 %77, 4
%82 = add i64 %81, %80
%83 = call i64 @FUNC(i64 %1, i64 %82)
%84 = load i64, i64* %71, align 8
%85 = add nuw nsw i64 %77, 8
%86 = add i64 %85, %84
%87 = call i64 @FUNC(i64 %1, i64 %86)
%indvars.iv.next35 = add nuw nsw i64 %indvars.iv34.reload, 1
%88 = load i32, i32* %74, align 4
%89 = zext i32 %88 to i64
%90 = icmp ult i64 %indvars.iv.next35, %89
br i1 %90, label LBL_22.LBL_22_crit_edge, label LBL_24
LBL_23:
%.pre = load i64, i64* %71, align 8
store i64 %.pre, i64* %.reg2mem
store i64 %indvars.iv.next35, i64* %indvars.iv34.reg2mem
br label LBL_22
LBL_24:
%91 = add i64 %0, 896
store i64 0, i64* %indvars.iv31.reg2mem
br label LBL_25
LBL_25:
%indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem
%92 = mul i64 %indvars.iv31.reload, 4
%93 = add i64 %91, %92
%94 = call i64 @FUNC(i64 %1, i64 %93)
%indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1
%exitcond33 = icmp eq i64 %indvars.iv.next32, 4
store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem
br i1 %exitcond33, label LBL_26, label LBL_25
LBL_26:
%95 = add i64 %0, 912
store i64 0, i64* %indvars.iv28.reg2mem
br label LBL_27
LBL_27:
%indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem
%96 = mul i64 %indvars.iv28.reload, 4
%97 = add i64 %95, %96
%98 = call i64 @FUNC(i64 %1, i64 %97)
%indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1
%exitcond30 = icmp eq i64 %indvars.iv.next29, 1024
store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem
br i1 %exitcond30, label LBL_28, label LBL_27
LBL_28:
%99 = add i64 %0, 5008
%100 = call i64 @FUNC(i64 %1, i64 %99)
%101 = add i64 %0, 5016
%102 = call i64 @FUNC(i64 %1, i64 %101)
%103 = add i64 %0, 5024
%104 = call i64 @FUNC(i64 %1, i64 %103)
%105 = add i64 %0, 5028
%106 = call i64 @FUNC(i64 %1, i64 %105)
%107 = add i64 %0, 5032
%108 = call i64 @FUNC(i64 %1, i64 %107)
%109 = add i64 %0, 5036
%110 = call i64 @FUNC(i64 %1, i64 %109)
%111 = add i64 %0, 5040
%112 = call i64 @FUNC(i64 %1, i64 %111)
%113 = add i64 %0, 5044
%114 = call i64 @FUNC(i64 %1, i64 %113)
%115 = add i64 %0, 5048
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_29
LBL_29:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%116 = mul i64 %indvars.iv.reload, 4
%117 = add i64 %115, %116
%118 = call i64 @FUNC(i64 %1, i64 %117)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 32
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_30, label LBL_29
LBL_30:
%119 = add i64 %0, 5176
%120 = call i64 @FUNC(i64 %1, i64 %119)
%121 = add i64 %0, 5180
%122 = call i64 @FUNC(i64 %1, i64 %121)
%123 = add i64 %0, 5184
%124 = call i64 @FUNC(i64 %1, i64 %123)
%125 = add i64 %0, 5188
%126 = call i64 @FUNC(i64 %1, i64 %125)
%127 = add i64 %0, 5192
%128 = call i64 @FUNC(i64 %1, i64 %127)
%129 = add i64 %0, 5196
%130 = call i64 @FUNC(i64 %1, i64 %129)
%131 = add i64 %0, 5200
%132 = call i64 @FUNC(i64 %1, i64 %131)
%133 = add i64 %0, 5204
%134 = call i64 @FUNC(i64 %1, i64 %133)
%135 = add i64 %0, 5208
%136 = call i64 @FUNC(i64 %1, i64 %135)
%137 = add i64 %0, 5212
%138 = call i64 @FUNC(i64 %1, i64 %137)
ret i64 %138
uselistorder i64 %77, { 1, 2, 0 }
uselistorder i32* %74, { 1, 0 }
uselistorder i64 %indvars.iv39.reload, { 1, 0 }
uselistorder i64 %indvars.iv45.reload, { 1, 0 }
uselistorder i64 %1, { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0, 1, 2, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45 }
uselistorder i64 %0, { 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 10, 21, 22, 23, 24, 25, 26, 27, 28, 9, 8, 29, 30, 31, 32, 33, 34, 35, 7, 6, 5, 36, 37, 38, 4, 3, 39, 40, 41, 2, 42, 43, 1, 0, 44 }
uselistorder i64* %indvars.iv63.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv60.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv57.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv54.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv51.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv48.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv42.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv36.reg2mem, { 2, 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv34.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv31.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv28.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 (i64, i64)* @qemu_put_sbe32s, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 8, { 6, 0, 5, 1, 4, 2, 3 }
uselistorder i64 (i64, i64)* @qemu_put_be32s, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 32, { 4, 3, 2, 1, 0 }
uselistorder i64 1, { 13, 12, 11, 10, 8, 9, 6, 7, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @qemu_put_betls, { 25, 24, 23, 22, 21, 20, 19, 18, 26, 16, 17, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 2, 1, 3, 0 }
uselistorder i64 4, { 0, 1, 11, 2, 12, 3, 4, 5, 10, 6, 7, 8, 9 }
uselistorder label LBL_22, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
} | 1 |
BinRealVul | object_dynamic_cast_14496 | object_dynamic_cast | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %0, i64 %arg2)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%storemerge = select i1 %3, i64 0, i64 %arg1
ret i64 %storemerge
} | 1 |
BinRealVul | cc_calc_abs_32_1479 | cc_calc_abs_32 | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg1 to i32
%1 = icmp eq i32 %0, -2147483648
%2 = icmp eq i1 %1, false
%3 = icmp eq i32 %0, 0
%. = select i1 %3, i64 0, i64 2
%rax.0 = select i1 %2, i64 %., i64 3
ret i64 %rax.0
} | 0 |
BinRealVul | SRXAFSCB_InitCallBackState_17624 | SRXAFSCB_InitCallBackState | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)
%1 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_0 to i64))
%2 = call i64 @FUNC(i64 %arg1)
%3 = call i64 @FUNC(i64 4202517)
ret i64 %3
uselistorder [5 x i8]* @gv_0, { 1, 0 }
} | 1 |
BinRealVul | gen_ove_ov_16431 | gen_ove_ov | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = and i64 %arg2, 4294967295
%2 = call i64 @FUNC(i64 %0, i64 %1)
ret i64 %2
} | 1 |
BinRealVul | __udp4_lib_err_8297 | __udp4_lib_err | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = mul i32 %3, 4
%5 = sext i32 %4 to i64
%6 = add i64 %5, %2
%7 = inttoptr i64 %6 to i16*
%8 = call i64 @FUNC(i64 %2)
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = call i64 @FUNC(i64 %2)
%12 = add i64 %11, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %2, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = load i64, i64* %16, align 8
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = add i64 %6, 2
%23 = inttoptr i64 %22 to i16*
%24 = load i16, i16* %23, align 2
%25 = add i64 %2, 4
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = load i16, i16* %7, align 2
%29 = zext i16 %28 to i64
%30 = inttoptr i64 %15 to i32*
%31 = load i32, i32* %30, align 4
%32 = zext i32 %21 to i64
%33 = zext i16 %24 to i64
%34 = call i64 @FUNC(i64 %18, i32 %31, i64 %29, i32 %27, i64 %33, i64 %32)
%35 = icmp eq i64 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_2, label LBL_1
LBL_1:
%37 = call i64 @FUNC(i64 %18, i64 0)
store i64 %37, i64* %storemerge.reg2mem
br label LBL_18
LBL_2:
%sext = mul i64 %arg2, 4294967296
%38 = ashr exact i64 %sext, 32
%39 = call i64 @FUNC(i64 %34)
%40 = icmp eq i32 %10, 12
store i32 71, i32* %sv_1.0.reg2mem
store i32 1, i32* %sv_0.0.reg2mem
br i1 %40, label LBL_12, label LBL_3
LBL_3:
%41 = icmp sgt i32 %10, 12
store i32 113, i32* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br i1 %41, label LBL_12, label LBL_4
LBL_4:
%42 = icmp eq i32 %10, 5
br i1 %42, label LBL_11, label LBL_5
LBL_5:
%43 = icmp sgt i32 %10, 5
store i32 113, i32* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br i1 %43, label LBL_12, label LBL_6
LBL_6:
store i32 113, i32* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
switch i32 %10, label LBL_12 [
i32 3, label LBL_7
i32 4, label LBL_17
]
LBL_7:
%44 = icmp eq i32 %14, 4
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_9, label LBL_8
LBL_8:
%46 = inttoptr i64 %39 to i32*
%47 = trunc i64 %38 to i32
%48 = call i64 @FUNC(i64 %2, i64 %34, i32 %47)
%49 = load i32, i32* %46, align 4
%50 = icmp eq i32 %49, 0
store i32 90, i32* %sv_1.0.reg2mem
store i32 1, i32* %sv_0.0.reg2mem
br i1 %50, label LBL_17, label LBL_12
LBL_9:
%51 = icmp sgt i32 %14, 3
store i32 113, i32* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br i1 %51, label LBL_12, label LBL_10
LBL_10:
%52 = sext i32 %14 to i64
%53 = mul i64 %52, 8
%54 = add i64 %53, ptrtoint (i32** @gv_0 to i64)
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 8
%57 = add i64 %53, ptrtoint (i32** @gv_1 to i64)
%58 = inttoptr i64 %57 to i32*
%59 = load i32, i32* %58, align 8
store i32 %59, i32* %sv_1.0.reg2mem
store i32 %56, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_11:
%60 = call i64 @FUNC(i64 %2, i64 %34)
br label LBL_17
LBL_12:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%61 = add i64 %39, 4
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = icmp eq i32 %63, 0
%65 = icmp eq i1 %64, false
br i1 %65, label LBL_15, label LBL_13
LBL_13:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%66 = icmp eq i32 %sv_0.0.reload, 0
br i1 %66, label LBL_17, label LBL_14
LBL_14:
%67 = inttoptr i64 %34 to i32*
%68 = load i32, i32* %67, align 4
%69 = icmp eq i32 %68, 1
br i1 %69, label LBL_16, label LBL_17
LBL_15:
%70 = add i64 %6, 4
%71 = load i16, i16* %7, align 2
%72 = zext i16 %71 to i64
%73 = and i64 %38, 4294967295
%74 = call i64 @FUNC(i64 %34, i64 %2, i32 %sv_1.0.reload, i64 %72, i64 %73, i64 %70)
br label LBL_16
LBL_16:
%75 = add i64 %34, 4
%76 = inttoptr i64 %75 to i32*
store i32 %sv_1.0.reload, i32* %76, align 4
br label LBL_17
LBL_17:
%77 = call i64 @FUNC(i64 %34)
store i64 %77, i64* %storemerge.reg2mem
br label LBL_18
LBL_18:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %sv_1.0.reload, { 1, 0 }
uselistorder i64 %53, { 1, 0 }
uselistorder i64 %38, { 1, 0 }
uselistorder i64 %34, { 4, 3, 2, 6, 0, 1, 5, 7 }
uselistorder i32 %14, { 1, 0, 2 }
uselistorder i32 %10, { 0, 4, 3, 2, 1 }
uselistorder i64 %6, { 0, 2, 1 }
uselistorder i64 %2, { 3, 2, 1, 4, 5, 6, 7, 0 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 6, 7, 1, 5, 4, 3, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 6, 7, 1, 5, 4, 3, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 3, { 1, 0 }
uselistorder i32 5, { 1, 0 }
uselistorder i32 0, { 4, 5, 3, 6, 2, 1, 0 }
uselistorder i32 113, { 3, 2, 1, 0 }
uselistorder i32 12, { 1, 0 }
uselistorder i64 (i64)* @icmp_hdr, { 1, 0 }
uselistorder i32 4, { 2, 1, 0 }
uselistorder label LBL_17, { 4, 2, 1, 5, 3, 0 }
uselistorder label LBL_12, { 6, 5, 0, 4, 3, 2, 1 }
} | 0 |
BinRealVul | flush_5345 | flush | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 1, i32* %1, align 4
%2 = add i64 %0, 4
%3 = inttoptr i64 %2 to i32*
store i32 0, i32* %3, align 4
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i32*
store i32 0, i32* %5, align 4
%6 = add i64 %0, 40
%7 = add i64 %0, 32
%8 = call i64 @FUNC(i64 %7, i64 %6, i64 1024)
%9 = add i64 %0, 16
%10 = inttoptr i64 %9 to i32*
store i32 0, i32* %10, align 4
%11 = add i64 %0, 20
%12 = inttoptr i64 %11 to i32*
store i32 0, i32* %12, align 4
%13 = add i64 %0, 24
%14 = inttoptr i64 %13 to i32*
store i32 0, i32* %14, align 4
%15 = add i64 %0, 12
%16 = inttoptr i64 %15 to i32*
store i32 0, i32* %16, align 4
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }
} | 0 |
BinRealVul | put_codebook_header_2239 | put_codebook_header | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%sv_0.0.in.lcssa.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%sv_0.0.in11.reg2mem = alloca i64
%indvars.iv39.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%storemerge414.reg2mem = alloca i32
%.reg2mem50 = alloca i64
%storemerge5.lcssa.reg2mem = alloca i32
%storemerge515.reg2mem = alloca i32
%.reg2mem48 = alloca i64
%sv_1.023.reg2mem = alloca i32
%sv_2.025.reg2mem = alloca i32
%.reg2mem46 = alloca i32
%.lcssa.reg2mem = alloca i32
%storemerge3.lcssa.reg2mem = alloca i32
%storemerge318.reg2mem = alloca i32
%.reg2mem44 = alloca i32
%storemerge6.lcssa.reg2mem = alloca i32
%storemerge626.reg2mem = alloca i32
%.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 24, i64 5653314)
%5 = and i64 %1, 4294967295
%6 = call i64 @FUNC(i64 %3, i64 16, i64 %5)
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = zext i32 %9 to i64
%11 = call i64 @FUNC(i64 %3, i64 24, i64 %10)
%12 = load i32, i32* %8, align 4
%13 = icmp ugt i32 %12, 1
store i32 1, i32* %storemerge6.lcssa.reg2mem
br i1 %13, label LBL_1, label LBL_4
LBL_1:
%14 = add i64 %2, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = zext i32 %12 to i64
store i64 1, i64* %.reg2mem
store i32 1, i32* %storemerge626.reg2mem
br label LBL_2
LBL_2:
%storemerge626.reload = load i32, i32* %storemerge626.reg2mem
%.reload = load i64, i64* %.reg2mem
%18 = mul i64 %.reload, 4
%19 = add i64 %18, %16
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = add i64 %19, -4
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = icmp ult i32 %21, %24
store i32 %storemerge626.reload, i32* %storemerge6.lcssa.reg2mem
br i1 %25, label LBL_4, label LBL_3
LBL_3:
%26 = add i32 %storemerge626.reload, 1
%27 = sext i32 %26 to i64
%28 = icmp slt i64 %27, %17
store i64 %27, i64* %.reg2mem
store i32 %26, i32* %storemerge626.reg2mem
store i32 %26, i32* %storemerge6.lcssa.reg2mem
br i1 %28, label LBL_2, label LBL_4
LBL_4:
%storemerge6.lcssa.reload = load i32, i32* %storemerge6.lcssa.reg2mem
%29 = icmp eq i32 %storemerge6.lcssa.reload, %12
%30 = icmp eq i1 %29, false
%not. = icmp ne i1 %30, true
%31 = zext i1 %not. to i64
%32 = call i64 @FUNC(i64 %3, i64 1, i64 %31)
br i1 %30, label LBL_5, label LBL_7
LBL_5:
%33 = load i32, i32* %8, align 4
%34 = icmp eq i32 %33, 0
store i32 0, i32* %storemerge5.lcssa.reg2mem
br i1 %34, label LBL_15, label LBL_6
LBL_6:
%35 = add i64 %2, 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = zext i32 %33 to i64
store i64 0, i64* %.reg2mem48
store i32 0, i32* %storemerge515.reg2mem
br label LBL_13
LBL_7:
%39 = add i64 %2, 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = add i32 %43, -1
%45 = zext i32 %44 to i64
%46 = call i64 @FUNC(i64 %3, i64 5, i64 %45)
%47 = load i32, i32* %8, align 4
%48 = icmp eq i32 %47, 0
store i32 %47, i32* %.reg2mem46
store i32 %43, i32* %sv_2.025.reg2mem
store i32 0, i32* %sv_1.023.reg2mem
br i1 %48, label LBL_23, label LBL_11
LBL_8:
%storemerge318.reload = load i32, i32* %storemerge318.reg2mem
%.reload45 = load i32, i32* %.reg2mem44
%49 = sext i32 %.reload45 to i64
%50 = mul i64 %49, 4
%51 = add i64 %50, %71
%52 = inttoptr i64 %51 to i32*
%53 = load i32, i32* %52, align 4
%54 = icmp eq i32 %sv_2.025.reload, %53
%55 = icmp eq i1 %54, false
store i32 %storemerge318.reload, i32* %storemerge3.lcssa.reg2mem
store i32 %.reload45, i32* %.lcssa.reg2mem
br i1 %55, label LBL_10, label LBL_9
LBL_9:
%56 = add i32 %storemerge318.reload, 1
%57 = add i32 %56, %sv_1.023.reload
%58 = icmp ult i32 %57, %.reload47
store i32 %57, i32* %.reg2mem44
store i32 %56, i32* %storemerge318.reg2mem
store i32 %56, i32* %storemerge3.lcssa.reg2mem
store i32 %57, i32* %.lcssa.reg2mem
br i1 %58, label LBL_8, label LBL_10
LBL_10:
%.lcssa.reload = load i32, i32* %.lcssa.reg2mem
%storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem
%59 = sub i32 %.reload47, %sv_1.023.reload
%60 = zext i32 %59 to i64
%61 = call i64 @FUNC(i64 %60)
%62 = zext i32 %storemerge3.lcssa.reload to i64
%63 = and i64 %61, 4294967295
%64 = call i64 @FUNC(i64 %3, i64 %63, i64 %62)
%65 = add i32 %sv_2.025.reload, 1
%66 = load i32, i32* %8, align 4
%67 = zext i32 %66 to i64
%68 = sext i32 %.lcssa.reload to i64
%69 = icmp slt i64 %68, %67
store i32 %66, i32* %.reg2mem46
store i32 %65, i32* %sv_2.025.reg2mem
store i32 %.lcssa.reload, i32* %sv_1.023.reg2mem
br i1 %69, label LBL_11, label LBL_23
LBL_11:
%sv_1.023.reload = load i32, i32* %sv_1.023.reg2mem
%sv_2.025.reload = load i32, i32* %sv_2.025.reg2mem
%.reload47 = load i32, i32* %.reg2mem46
%70 = icmp ugt i32 %.reload47, %sv_1.023.reload
store i32 0, i32* %storemerge3.lcssa.reg2mem
store i32 %sv_1.023.reload, i32* %.lcssa.reg2mem
br i1 %70, label LBL_8.lr.ph, label LBL_10
LBL_12:
%71 = load i64, i64* %40, align 8
store i32 %sv_1.023.reload, i32* %.reg2mem44
store i32 0, i32* %storemerge318.reg2mem
br label LBL_8
LBL_13:
%storemerge515.reload = load i32, i32* %storemerge515.reg2mem
%.reload49 = load i64, i64* %.reg2mem48
%72 = mul i64 %.reload49, 4
%73 = add i64 %72, %37
%74 = inttoptr i64 %73 to i32*
%75 = load i32, i32* %74, align 4
%76 = icmp eq i32 %75, 0
store i32 %storemerge515.reload, i32* %storemerge5.lcssa.reg2mem
br i1 %76, label LBL_15, label LBL_14
LBL_14:
%77 = add i32 %storemerge515.reload, 1
%78 = sext i32 %77 to i64
%79 = icmp slt i64 %78, %38
store i64 %78, i64* %.reg2mem48
store i32 %77, i32* %storemerge515.reg2mem
store i32 %77, i32* %storemerge5.lcssa.reg2mem
br i1 %79, label LBL_13, label LBL_15
LBL_15:
%storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem
%80 = icmp eq i32 %storemerge5.lcssa.reload, %33
%not.8 = icmp ne i1 %80, true
%81 = zext i1 %not.8 to i64
%82 = call i64 @FUNC(i64 %3, i64 1, i64 %81)
%83 = load i32, i32* %8, align 4
%84 = icmp eq i32 %83, 0
br i1 %84, label LBL_23, label LBL_16
LBL_16:
%85 = add i64 %2, 8
%86 = inttoptr i64 %85 to i64*
store i64 0, i64* %.reg2mem50
store i32 0, i32* %storemerge414.reg2mem
br label LBL_17
LBL_17:
%storemerge414.reload = load i32, i32* %storemerge414.reg2mem
%.reload51 = load i64, i64* %.reg2mem50
br i1 %80, label LBL_17.LBL_20_crit_edge, label LBL_19
LBL_18:
%.pre = mul i64 %.reload51, 4
store i64 %.pre, i64* %.pre-phi.reg2mem
br label LBL_20
LBL_19:
%87 = load i64, i64* %86, align 8
%88 = mul i64 %.reload51, 4
%89 = add i64 %87, %88
%90 = inttoptr i64 %89 to i32*
%91 = load i32, i32* %90, align 4
%92 = icmp eq i32 %91, 0
%93 = icmp eq i1 %92, false
%94 = zext i1 %93 to i64
%95 = call i64 @FUNC(i64 %3, i64 1, i64 %94)
store i64 %88, i64* %.pre-phi.reg2mem
br label LBL_20
LBL_20:
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%96 = load i64, i64* %86, align 8
%97 = add i64 %96, %.pre-phi.reload
%98 = inttoptr i64 %97 to i32*
%99 = load i32, i32* %98, align 4
%100 = icmp eq i32 %99, 0
br i1 %100, label LBL_22, label LBL_21
LBL_21:
%101 = add i32 %99, -1
%102 = zext i32 %101 to i64
%103 = call i64 @FUNC(i64 %3, i64 5, i64 %102)
br label LBL_22
LBL_22:
%104 = add i32 %storemerge414.reload, 1
%105 = load i32, i32* %8, align 4
%106 = zext i32 %105 to i64
%107 = sext i32 %104 to i64
%108 = icmp slt i64 %107, %106
store i64 %107, i64* %.reg2mem50
store i32 %104, i32* %storemerge414.reg2mem
br i1 %108, label LBL_17, label LBL_23
LBL_23:
%109 = add i64 %2, 16
%110 = inttoptr i64 %109 to i32*
%111 = load i32, i32* %110, align 4
%112 = zext i32 %111 to i64
%113 = call i64 @FUNC(i64 %3, i64 4, i64 %112)
%114 = load i32, i32* %110, align 4
%115 = icmp eq i32 %114, 0
store i64 0, i64* %rax.0.in.reg2mem
br i1 %115, label LBL_33, label LBL_24
LBL_24:
%116 = load i32, i32* %8, align 4
%117 = zext i32 %114 to i64
%118 = call i64 @FUNC(i64 %117, i64 %5, i32 %116)
%119 = trunc i64 %118 to i32
%120 = add i64 %2, 32
%121 = inttoptr i64 %120 to i64*
%122 = load i64, i64* %121, align 8
%123 = inttoptr i64 %122 to i32*
%124 = load i32, i32* %123, align 4
%125 = zext i32 %124 to i64
%126 = call i64 @FUNC(i64 %125)
%127 = icmp sgt i32 %119, 1
store i64 %126, i64* %sv_0.0.in.lcssa.reg2mem
br i1 %127, label LBL_25, label LBL_30
LBL_25:
%wide.trip.count41 = and i64 %118, 4294967295
store i64 1, i64* %indvars.iv39.reg2mem
store i64 %126, i64* %sv_0.0.in11.reg2mem
br label LBL_26
LBL_26:
%sv_0.0.in11.reload = load i64, i64* %sv_0.0.in11.reg2mem
%indvars.iv39.reload = load i64, i64* %indvars.iv39.reg2mem
%128 = load i64, i64* %121, align 8
%129 = mul i64 %indvars.iv39.reload, 4
%130 = add i64 %128, %129
%131 = inttoptr i64 %130 to i32*
%132 = load i32, i32* %131, align 4
%133 = zext i32 %132 to i64
%134 = call i64 @FUNC(i64 %133)
%sext = mul i64 %sv_0.0.in11.reload, 4294967296
%135 = ashr exact i64 %sext, 32
%136 = icmp slt i64 %134, %135
br i1 %136, label LBL_28, label LBL_27
LBL_27:
%137 = load i64, i64* %121, align 8
%138 = add i64 %137, %129
%139 = inttoptr i64 %138 to i32*
%140 = load i32, i32* %139, align 4
%141 = zext i32 %140 to i64
%142 = call i64 @FUNC(i64 %141)
store i64 %142, i64* %storemerge2.reg2mem
br label LBL_29
LBL_28:
%143 = and i64 %sv_0.0.in11.reload, 4294967295
store i64 %143, i64* %storemerge2.reg2mem
br label LBL_29
LBL_29:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%indvars.iv.next40 = add nuw nsw i64 %indvars.iv39.reload, 1
%exitcond42 = icmp eq i64 %indvars.iv.next40, %wide.trip.count41
store i64 %indvars.iv.next40, i64* %indvars.iv39.reg2mem
store i64 %storemerge2.reload, i64* %sv_0.0.in11.reg2mem
store i64 %storemerge2.reload, i64* %sv_0.0.in.lcssa.reg2mem
br i1 %exitcond42, label LBL_30, label LBL_26
LBL_30:
%sv_0.0.in.lcssa.reload = load i64, i64* %sv_0.0.in.lcssa.reg2mem
%144 = add i64 %2, 20
%145 = inttoptr i64 %144 to i32*
%146 = load i32, i32* %145, align 4
%147 = call i128 @FUNC(i32 %146)
%148 = call i64 @FUNC(i64 %3)
%149 = add i64 %2, 24
%150 = inttoptr i64 %149 to i32*
%151 = load i32, i32* %150, align 4
%152 = call i128 @FUNC(i32 %151)
%153 = call i64 @FUNC(i64 %3)
%154 = add i64 %sv_0.0.in.lcssa.reload, 4294967295
%155 = and i64 %154, 4294967295
%156 = call i64 @FUNC(i64 %3, i64 4, i64 %155)
%157 = add i64 %2, 28
%158 = inttoptr i64 %157 to i32*
%159 = load i32, i32* %158, align 4
%160 = zext i32 %159 to i64
%161 = call i64 @FUNC(i64 %3, i64 1, i64 %160)
%162 = icmp sgt i32 %119, 0
store i64 0, i64* %rax.0.in.reg2mem
br i1 %162, label LBL_31, label LBL_33
LBL_31:
%163 = and i64 %sv_0.0.in.lcssa.reload, 4294967295
%wide.trip.count = and i64 %118, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_32
LBL_32:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%164 = load i64, i64* %121, align 8
%165 = mul i64 %indvars.iv.reload, 4
%166 = add i64 %164, %165
%167 = inttoptr i64 %166 to i32*
%168 = load i32, i32* %167, align 4
%169 = zext i32 %168 to i64
%170 = call i64 @FUNC(i64 %3, i64 %163, i64 %169)
%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* %rax.0.in.reg2mem
br i1 %exitcond, label LBL_33, label LBL_32
LBL_33:
%rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem
ret i64 %rax.0.in.reload
uselistorder i64 %129, { 1, 0 }
uselistorder i64 %126, { 1, 0 }
uselistorder i64 %118, { 1, 0, 2 }
uselistorder i64 %.reload51, { 1, 0 }
uselistorder i1 %80, { 1, 0 }
uselistorder i32 %storemerge515.reload, { 1, 0 }
uselistorder i32 %.reload47, { 2, 0, 1 }
uselistorder i32 %sv_2.025.reload, { 1, 0 }
uselistorder i32 %sv_1.023.reload, { 3, 4, 1, 2, 0 }
uselistorder i32 %storemerge318.reload, { 1, 0 }
uselistorder i1 %30, { 1, 0 }
uselistorder i32 %storemerge626.reload, { 1, 0 }
uselistorder i32* %8, { 5, 6, 3, 4, 1, 2, 0, 7 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %3, { 2, 3, 5, 4, 6, 7, 9, 8, 10, 0, 1, 11, 12, 13, 14 }
uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge626.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge6.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %.reg2mem44, { 2, 1, 0 }
uselistorder i32* %storemerge318.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge3.lcssa.reg2mem, { 3, 0, 2, 1 }
uselistorder i32* %.lcssa.reg2mem, { 3, 0, 2, 1 }
uselistorder i32* %.reg2mem46, { 0, 2, 1 }
uselistorder i32* %sv_2.025.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_1.023.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem48, { 1, 0, 2 }
uselistorder i32* %storemerge515.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %.reg2mem50, { 1, 0, 2 }
uselistorder i32* %storemerge414.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv39.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.0.in11.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64)* @put_float, { 1, 0 }
uselistorder i64 (i64)* @ilog, { 3, 2, 1, 0 }
uselistorder i32 0, { 8, 12, 10, 11, 0, 6, 13, 5, 4, 3, 9, 2, 1, 7 }
uselistorder i64 1, { 3, 4, 2, 0, 5, 6, 7, 1 }
uselistorder i64 8, { 0, 2, 1, 3 }
uselistorder i64 4, { 0, 7, 1, 8, 2, 3, 4, 5, 6, 9 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 4294967295, { 1, 4, 5, 6, 3, 0, 7, 2 }
uselistorder i64 (i64, i64, i64)* @put_bits, { 12, 11, 10, 7, 9, 8, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 24, { 2, 0, 1 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_23, { 1, 3, 0, 2 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_10, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | h264_new_context_16537 | h264_new_context | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 20)
%1 = icmp eq i64 %0, 0
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = inttoptr i64 %0 to i32*
store i32 305419896, i32* %2, align 4
br label LBL_2
LBL_2:
ret i64 %0
} | 1 |
BinRealVul | cirrus_bitblt_videotovideo_copy_6588 | cirrus_bitblt_videotovideo_copy | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_2
LBL_1:
%6 = trunc i64 %1 to i32
%7 = add i64 %2, 12
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = add i64 %2, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = add i64 %2, 16
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = sub i32 %15, %18
%20 = sub i32 %6, %18
%21 = zext i32 %12 to i64
%22 = zext i32 %19 to i64
%23 = call i64 @FUNC(i64 %2, i32 %20, i64 %22, i64 %21, i32 %9)
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, { 4, 2, 3, 1, 0, 5 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | hmp_info_local_apic_16449 | hmp_info_local_apic | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC()
%2 = call i64 @FUNC(i64 %1, i64 %0, i64 4198662, i64 0)
ret i64 %2
} | 1 |
BinRealVul | net_tx_pkt_do_sw_csum_16075 | net_tx_pkt_do_sw_csum | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i16, align 2
store i16 0, i16* %sv_1, align 2
%1 = add i64 %0, 48
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = trunc i64 %3 to i32
%5 = add i64 %0, 64
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %0, 72
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = add i64 %10, %7
%12 = call i64 @FUNC(i64 %0, i32 %4, i64 %11, i16* nonnull %sv_1, i64 2)
%13 = add i64 %0, 56
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = trunc i64 %15 to i16
%17 = add i64 %0, 32
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = urem i64 %15, 65536
%21 = bitcast i32* %sv_0 to i64*
%22 = call i64 @FUNC(i64 %19, i64 %20, i64* nonnull %21)
%23 = load i32, i32* %sv_0, align 4
%24 = load i64, i64* %6, align 8
%25 = zext i32 %23 to i64
%26 = call i64 @FUNC(i64 %0, i32 %4, i64 %24, i16 %16, i64 %25)
%27 = add i64 %26, %22
%28 = and i64 %27, 4294967295
%29 = call i64 @FUNC(i64 %28)
%30 = and i64 %29, 4294967295
%31 = call i64 @FUNC(i64 %30)
%32 = trunc i64 %31 to i16
store i16 %32, i16* %sv_1, align 2
%33 = call i64 @FUNC(i64 %0, i32 %4, i64 %11, i16* nonnull %sv_1, i64 2)
ret i64 %33
uselistorder i16* %sv_1, { 0, 2, 1, 3 }
uselistorder i64 %0, { 7, 6, 2, 1, 5, 0, 3, 4 }
uselistorder i64 (i64, i32, i64, i16*, i64)* @iov_from_buf, { 1, 0 }
} | 1 |
BinRealVul | qemu_start_incoming_migration_790 | qemu_start_incoming_migration | define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i8* %arg1 to i64
%sv_0 = alloca i64, align 8
%2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = load i64, i64* %sv_0, align 8
%6 = call i64 @FUNC(i64 %5, i64 %0)
store i64 %6, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%7 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_4, label LBL_3
LBL_3:
%10 = load i64, i64* %sv_0, align 8
%11 = call i64 @FUNC(i64 %10, i64 %0)
store i64 %11, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%12 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_6, label LBL_5
LBL_5:
%15 = load i64, i64* %sv_0, align 8
%16 = call i64 @FUNC(i64 %15, i64 %0)
store i64 %16, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%17 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_8, label LBL_7
LBL_7:
%20 = load i64, i64* %sv_0, align 8
%21 = call i64 @FUNC(i64 %20, i64 %0)
store i64 %21, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%22 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64 %1)
store i64 %22, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_0, { 4, 0, 5, 1, 6, 2, 7, 3 }
uselistorder i64 %0, { 4, 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }
uselistorder i64 (i64, i8*, i64*)* @strstart, { 3, 2, 1, 0 }
} | 0 |
BinRealVul | mxf_get_d10_aes3_packet_1192 | mxf_get_d10_aes3_packet | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem16 = alloca i64
%.reg2mem14 = alloca i32
%.reg2mem12 = alloca i64
%.reg2mem10 = alloca i64
%.reg2mem8 = alloca i32
%.reg2mem6 = alloca i64
%.reg2mem4 = alloca i64
%storemerge12.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* %rax.0.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 = call i64 @FUNC(i64 %2, i64 %1, i64 %arg4)
%sext = mul i64 %3, 4294967296
%4 = ashr exact i64 %sext, 32
%5 = icmp slt i64 %sext, 0
%6 = icmp eq i1 %5, false
store i64 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_2, label LBL_11
LBL_2:
%7 = trunc i64 %1 to i32
store i64 %arg4, i64* %sv_1, align 8
%8 = add i64 %4, %arg4
%9 = add i64 %arg4, 4
store i64 %9, i64* %sv_0, align 8
%10 = mul i32 %7, 4
%11 = sext i32 %10 to i64
%12 = add i64 %9, %11
%13 = icmp ugt i64 %8, %12
store i64 %1, i64* %.reg2mem12
store i32 %7, i32* %.reg2mem14
store i64 %9, i64* %.reg2mem16
br i1 %13, label LBL_9, label LBL_10
LBL_3:
%storemerge12.reload = load i32, i32* %storemerge12.reg2mem
%.reload = load i64, i64* %.reg2mem
%14 = call i64 @FUNC(i64* nonnull %sv_0)
%15 = add i64 %.reload, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 24
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = udiv i64 %14, 16
%21 = urem i64 %20, 16777216
%22 = call i64 @FUNC(i64* nonnull %sv_1, i64 %21)
store i64 %21, i64* %.reg2mem4
br label LBL_6
LBL_5:
%23 = udiv i64 %14, 4096
%24 = urem i64 %23, 65536
%25 = call i64 @FUNC(i64* nonnull %sv_1, i64 %24)
store i64 %24, i64* %.reg2mem4
br label LBL_6
LBL_6:
%.reload5 = load i64, i64* %.reg2mem4
%26 = add i32 %storemerge12.reload, 1
%27 = sext i32 %26 to i64
%28 = icmp sgt i64 %.reload5, %27
store i64 %.reload5, i64* %.reg2mem
store i32 %26, i32* %storemerge12.reg2mem
br i1 %28, label LBL_3, label LBL_7
LBL_7:
%29 = trunc i64 %.reload5 to i32
%.pre = load i64, i64* %sv_0, align 8
store i64 %.reload5, i64* %.reg2mem6
store i32 %29, i32* %.reg2mem8
store i64 %.pre, i64* %.reg2mem10
br label LBL_8
LBL_8:
%.reload11 = load i64, i64* %.reg2mem10
%.reload9 = load i32, i32* %.reg2mem8
%.reload7 = load i64, i64* %.reg2mem6
%30 = mul i32 %.reload9, 4
%31 = sub nsw i32 32, %30
%32 = sext i32 %31 to i64
%33 = add i64 %.reload11, %32
store i64 %33, i64* %sv_0, align 8
%34 = sext i32 %30 to i64
%35 = add i64 %33, %34
%36 = icmp ugt i64 %8, %35
store i64 %.reload7, i64* %.reg2mem12
store i32 %.reload9, i32* %.reg2mem14
store i64 %33, i64* %.reg2mem16
br i1 %36, label LBL_9, label LBL_10
LBL_9:
%.reload17 = load i64, i64* %.reg2mem16
%.reload15 = load i32, i32* %.reg2mem14
%.reload13 = load i64, i64* %.reg2mem12
%37 = icmp eq i32 %.reload15, 0
store i64 %.reload13, i64* %.reg2mem
store i32 0, i32* %storemerge12.reg2mem
store i64 %.reload13, i64* %.reg2mem6
store i32 0, i32* %.reg2mem8
store i64 %.reload17, i64* %.reg2mem10
br i1 %37, label LBL_8, label LBL_3
LBL_10:
%38 = call i64 @FUNC(i64 %1, i64 0)
store i64 0, 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 %.reload13, { 1, 0 }
uselistorder i32 %30, { 1, 0 }
uselistorder i64 %.reload5, { 0, 2, 3, 1 }
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 %1, { 2, 0, 1, 3 }
uselistorder i64* %sv_0, { 2, 0, 3, 1 }
uselistorder i64* %.reg2mem, { 1, 2, 0 }
uselistorder i32* %storemerge12.reg2mem, { 1, 2, 0 }
uselistorder i64* %.reg2mem4, { 0, 2, 1 }
uselistorder i64* %.reg2mem6, { 1, 0, 2 }
uselistorder i32* %.reg2mem8, { 1, 0, 2 }
uselistorder i64* %.reg2mem10, { 1, 0, 2 }
uselistorder i64* %.reg2mem12, { 0, 2, 1 }
uselistorder i32* %.reg2mem14, { 0, 2, 1 }
uselistorder i64* %.reg2mem16, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 %arg4, { 2, 0, 1, 3, 4 }
uselistorder label LBL_11, { 2, 0, 1 }
uselistorder label LBL_9, { 1, 0 }
} | 0 |
BinRealVul | bm_dithrect_12778 | bm_dithrect | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%.reg2mem33 = alloca i32
%.reg2mem31 = alloca i32
%.reg2mem29 = alloca i32
%storemerge1215.reg2mem = alloca i32
%.reg2mem27 = alloca i64
%.reg2mem25 = alloca i32
%storemerge17.reg2mem = alloca i32
%.reg2mem23 = alloca i64
%.reg2mem21 = alloca i32
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%sext5 = mul i64 %arg3, 4294967296
%1 = ashr exact i64 %sext5, 32
%sext7 = mul i64 %arg5, 4294967296
%2 = ashr exact i64 %sext7, 32
%3 = trunc i64 %2 to i32
%4 = trunc i64 %1 to i32
%5 = icmp slt i32 %3, %4
%sv_0.0 = select i1 %5, i64 %2, i64 %1
%sv_1.0 = select i1 %5, i64 %1, i64 %2
%6 = add i64 %0, 12
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = trunc i64 %sv_0.0 to i32
%10 = sub i32 %9, %8
%11 = xor i32 %8, %9
%12 = xor i32 %10, %9
%13 = and i32 %12, %11
%14 = icmp slt i32 %13, 0
%15 = icmp slt i32 %10, 0
%16 = icmp eq i1 %15, %14
%17 = select i1 %16, i32 %9, i32 %8
%18 = add i64 %0, 20
%19 = inttoptr i64 %18 to i32*
%20 = trunc i64 %sv_1.0 to i32
%21 = add i32 %20, 1
%22 = load i32, i32* %19, align 4
%23 = sub i32 %22, %21
%24 = xor i32 %22, %21
%25 = xor i32 %23, %22
%26 = and i32 %25, %24
%27 = icmp slt i32 %26, 0
%28 = icmp eq i32 %23, 0
%29 = icmp slt i32 %23, 0
%30 = icmp eq i1 %29, %27
%31 = icmp eq i1 %28, false
%32 = icmp eq i1 %30, %31
%33 = select i1 %32, i32 %21, i32 %22
%34 = zext i32 %33 to i64
%35 = sext i32 %17 to i64
%36 = icmp slt i64 %35, %34
store i64 %34, i64* %.lcssa.reg2mem
br i1 %36, label LBL_1, label LBL_11
LBL_1:
%37 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%38 = trunc i64 %arg4 to i32
%sext6 = mul i64 %arg4, 4294967296
%39 = icmp slt i32 %38, %37
%spec.select = select i1 %39, i64 %sext6, i64 %sext
%spec.select14 = select i1 %39, i64 %sext, i64 %sext6
%40 = udiv i64 %spec.select14, 4294967296
%41 = udiv i64 %spec.select, 4294967296
%42 = add i64 %0, 8
%43 = inttoptr i64 %42 to i32*
%44 = trunc i64 %41 to i32
%45 = add i64 %0, 16
%46 = inttoptr i64 %45 to i32*
%47 = trunc i64 %40 to i32
%48 = add i32 %47, 1
%49 = add i64 %0, 4
%50 = inttoptr i64 %49 to i32*
%51 = bitcast i64* %rdi to i32*
%52 = add i64 %0, 32
%53 = inttoptr i64 %52 to i64*
%54 = add i64 %0, 24
%55 = inttoptr i64 %54 to i32*
%.pre = load i32, i32* %46, align 4
store i32 %.pre, i32* %.reg2mem
store i32 %.pre, i32* %.reg2mem21
store i64 %35, i64* %.reg2mem23
store i32 %17, i32* %storemerge17.reg2mem
br label LBL_2
LBL_2:
%storemerge17.reload = load i32, i32* %storemerge17.reg2mem
%.reload24 = load i64, i64* %.reg2mem23
%.reload22 = load i32, i32* %.reg2mem21
%.reload = load i32, i32* %.reg2mem
%56 = load i32, i32* %43, align 4
%57 = sub i32 %44, %56
%58 = xor i32 %56, %44
%59 = xor i32 %57, %44
%60 = and i32 %59, %58
%61 = icmp slt i32 %60, 0
%62 = icmp slt i32 %57, 0
%63 = icmp eq i1 %62, %61
%64 = select i1 %63, i32 %44, i32 %56
%65 = icmp slt i32 %storemerge17.reload, 0
%66 = sub i32 %.reload22, %48
%67 = xor i32 %.reload22, %48
%68 = xor i32 %66, %.reload22
%69 = and i32 %68, %67
%70 = icmp slt i32 %69, 0
%71 = icmp eq i32 %66, 0
%72 = icmp slt i32 %66, 0
%73 = icmp eq i1 %72, %70
%74 = icmp eq i1 %71, false
%75 = icmp eq i1 %73, %74
%76 = select i1 %75, i32 %48, i32 %.reload22
%77 = zext i32 %76 to i64
%78 = sext i32 %64 to i64
%79 = icmp slt i64 %78, %77
store i32 %.reload, i32* %.reg2mem25
store i64 %78, i64* %.reg2mem27
store i32 %64, i32* %storemerge1215.reg2mem
store i32 %.reload, i32* %.reg2mem31
store i32 %.reload22, i32* %.reg2mem33
br i1 %79, label LBL_3, label LBL_10
LBL_3:
%storemerge1215.reload = load i32, i32* %storemerge1215.reg2mem
%.reload26 = load i32, i32* %.reg2mem25
%80 = add i32 %storemerge1215.reload, %storemerge17.reload
%81 = urem i32 %80, 2
%82 = icmp eq i32 %81, 0
%83 = icmp eq i1 %82, false
store i32 %.reload26, i32* %.reg2mem29
br i1 %83, label LBL_9, label LBL_4
LBL_4:
br i1 %65, label LBL_7, label LBL_5
LBL_5:
%84 = load i32, i32* %50, align 4
%85 = zext i32 %84 to i64
%86 = icmp sge i64 %.reload24, %85
%87 = icmp slt i32 %storemerge1215.reload, 0
%or.cond = or i1 %87, %86
br i1 %or.cond, label LBL_7, label LBL_6
LBL_6:
%.reload28 = load i64, i64* %.reg2mem27
%88 = load i32, i32* %51, align 8
%89 = zext i32 %88 to i64
%90 = icmp slt i64 %.reload28, %89
br i1 %90, label LBL_8, label LBL_7
LBL_7:
call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))
br label LBL_8
LBL_8:
%91 = load i64, i64* %53, align 8
%92 = load i32, i32* %51, align 8
%93 = mul i32 %92, %storemerge17.reload
%94 = add i32 %93, %storemerge1215.reload
%95 = sext i32 %94 to i64
%96 = mul i64 %95, 4
%97 = add i64 %96, %91
%98 = load i32, i32* %55, align 4
%99 = inttoptr i64 %97 to i32*
store i32 %98, i32* %99, align 4
%.pre20 = load i32, i32* %46, align 4
store i32 %.pre20, i32* %.reg2mem29
br label LBL_9
LBL_9:
%.reload30 = load i32, i32* %.reg2mem29
%100 = add i32 %storemerge1215.reload, 1
%101 = sub i32 %.reload30, %48
%102 = xor i32 %.reload30, %48
%103 = xor i32 %101, %.reload30
%104 = and i32 %103, %102
%105 = icmp slt i32 %104, 0
%106 = icmp eq i32 %101, 0
%107 = icmp slt i32 %101, 0
%108 = icmp eq i1 %107, %105
%109 = icmp eq i1 %106, false
%110 = icmp eq i1 %108, %109
%111 = select i1 %110, i32 %48, i32 %.reload30
%112 = zext i32 %111 to i64
%113 = sext i32 %100 to i64
%114 = icmp slt i64 %113, %112
store i32 %.reload30, i32* %.reg2mem25
store i64 %113, i64* %.reg2mem27
store i32 %100, i32* %storemerge1215.reg2mem
store i32 %.reload30, i32* %.reg2mem31
store i32 %.reload30, i32* %.reg2mem33
br i1 %114, label LBL_3, label LBL_10
LBL_10:
%.reload34 = load i32, i32* %.reg2mem33
%.reload32 = load i32, i32* %.reg2mem31
%115 = add i32 %storemerge17.reload, 1
%116 = load i32, i32* %19, align 4
%117 = sub i32 %116, %21
%118 = xor i32 %116, %21
%119 = xor i32 %117, %116
%120 = and i32 %119, %118
%121 = icmp slt i32 %120, 0
%122 = icmp eq i32 %117, 0
%123 = icmp slt i32 %117, 0
%124 = icmp eq i1 %123, %121
%125 = icmp eq i1 %122, false
%126 = icmp eq i1 %124, %125
%127 = select i1 %126, i32 %21, i32 %116
%128 = zext i32 %127 to i64
%129 = sext i32 %115 to i64
%130 = icmp slt i64 %129, %128
store i32 %.reload32, i32* %.reg2mem
store i32 %.reload34, i32* %.reg2mem21
store i64 %129, i64* %.reg2mem23
store i32 %115, i32* %storemerge17.reg2mem
store i64 %128, i64* %.lcssa.reg2mem
br i1 %130, label LBL_2, label LBL_11
LBL_11:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i32 %117, { 1, 2, 0 }
uselistorder i32 %116, { 2, 0, 1, 3 }
uselistorder i32 %101, { 1, 2, 0 }
uselistorder i32 %.reload30, { 0, 1, 6, 4, 2, 3, 5 }
uselistorder i32 %storemerge1215.reload, { 3, 0, 2, 1 }
uselistorder i32 %57, { 1, 0 }
uselistorder i32 %56, { 1, 0, 2 }
uselistorder i32 %storemerge17.reload, { 3, 0, 1, 2 }
uselistorder i32 %48, { 5, 3, 4, 0, 1, 2 }
uselistorder i32 %44, { 2, 0, 1, 3 }
uselistorder i64 %sext6, { 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i32 %21, { 5, 3, 4, 0, 1, 2 }
uselistorder i32* %19, { 1, 0 }
uselistorder i32 %10, { 1, 0 }
uselistorder i32 %9, { 2, 0, 1, 3 }
uselistorder i32 %8, { 1, 0, 2 }
uselistorder i64 %0, { 1, 0, 3, 2, 4, 5, 6 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem21, { 1, 0, 2 }
uselistorder i64* %.reg2mem23, { 1, 0, 2 }
uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem25, { 2, 0, 1 }
uselistorder i64* %.reg2mem27, { 2, 0, 1 }
uselistorder i32* %storemerge1215.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 4, 3, 2, 1, 0 }
uselistorder i32 0, { 14, 15, 16, 9, 10, 11, 6, 8, 3, 4, 5, 7, 12, 13, 0, 1, 2, 17, 18 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 4294967296, { 4, 5, 1, 3, 0, 2 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_7, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | decode_setclientid_10322 | decode_setclientid | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %7, 8
%9 = add i64 %4, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = icmp ugt i64 %8, %11
store i64 1, i64* %rax.0.reg2mem
br i1 %12, label LBL_12, label LBL_1
LBL_1:
store i64 %8, i64* %6, align 8
%13 = add i64 %8, %4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = add i64 %7, 12
store i64 %16, i64* %6, align 8
%17 = icmp eq i32 %15, 1
br i1 %17, label LBL_3, label LBL_2
LBL_2:
%18 = zext i32 %15 to i64
%19 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 %16, i64 %3, i64 %2, i64 %1)
store i64 1, i64* %rax.0.reg2mem
br label LBL_12
LBL_3:
%20 = add i64 %16, %4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %7, 16
store i64 %23, i64* %6, align 8
%24 = icmp eq i32 %22, 0
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_6, label LBL_4
LBL_4:
%26 = add i64 %7, 32
%27 = load i64, i64* %10, align 8
%28 = icmp ugt i64 %26, %27
store i64 1, i64* %rax.0.reg2mem
br i1 %28, label LBL_12, label LBL_5
LBL_5:
%29 = ptrtoint i64* %arg2 to i64
store i64 %26, i64* %6, align 8
%30 = add i64 %26, %4
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
store i64 %32, i64* %arg2, align 8
%33 = load i64, i64* %6, align 8
%34 = add i64 %33, 8
store i64 %34, i64* %6, align 8
%35 = add i64 %34, %4
%36 = add i64 %29, 8
%37 = inttoptr i64 %35 to i64*
%38 = load i64, i64* %37, align 8
%39 = inttoptr i64 %36 to i64*
store i64 %38, i64* %39, align 8
%40 = load i64, i64* %6, align 8
%41 = add i64 %40, 8
store i64 %41, i64* %6, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_6:
%42 = icmp eq i32 %22, 1
%43 = icmp eq i1 %42, false
br i1 %43, label LBL_11, label LBL_7
LBL_7:
%44 = add i64 %7, 20
%45 = load i64, i64* %10, align 8
%46 = icmp ugt i64 %44, %45
store i64 1, i64* %rax.0.reg2mem
br i1 %46, label LBL_12, label LBL_8
LBL_8:
store i64 %44, i64* %6, align 8
%47 = add i64 %44, %4
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = add i64 %7, 24
store i64 %50, i64* %6, align 8
%51 = zext i32 %49 to i64
%52 = add i64 %50, %51
%53 = load i64, i64* %10, align 8
%54 = icmp ugt i64 %52, %53
store i64 1, i64* %rax.0.reg2mem
br i1 %54, label LBL_12, label LBL_9
LBL_9:
store i64 %52, i64* %6, align 8
%55 = add i64 %52, 4
%56 = load i64, i64* %10, align 8
%57 = icmp ugt i64 %55, %56
store i64 1, i64* %rax.0.reg2mem
br i1 %57, label LBL_12, label LBL_10
LBL_10:
store i64 %55, i64* %6, align 8
%58 = add i64 %55, %4
%59 = inttoptr i64 %58 to i32*
%60 = load i32, i32* %59, align 4
%61 = add i64 %52, 8
store i64 %61, i64* %6, align 8
%62 = zext i32 %60 to i64
%63 = add i64 %61, %62
%64 = load i64, i64* %10, align 8
%65 = icmp ugt i64 %63, %64
%spec.store.select = select i1 %65, i64 %61, i64 %63
store i64 %spec.store.select, i64* %6, align 8
%spec.select = select i1 %65, i64 1, i64 4294967295
ret i64 %spec.select
LBL_11:
%66 = zext i32 %22 to i64
%67 = call i64 @FUNC(i64 %66)
store i64 %67, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %61, { 1, 0, 2 }
uselistorder i32 %22, { 1, 0, 2 }
uselistorder i64* %10, { 1, 2, 3, 4, 0, 5 }
uselistorder i64* %6, { 5, 6, 7, 8, 9, 10, 1, 0, 3, 2, 4, 11, 12, 13, 14 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 2, 3, 7, 4, 6, 5 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 1, { 6, 0, 1, 2, 3, 5, 4 }
uselistorder label LBL_12, { 5, 0, 1, 2, 6, 3, 7, 4 }
} | 0 |
reposvul_c_test | lxc_proc_get_context_info_272 | lxc_proc_get_context_info | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i1
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i8*, align 8
%5 = call i64* @calloc(i32 1, i32 16)
store i8* null, i8** %sv_3, align 8
store i64 0, i64* %sv_2, align 8
%6 = icmp eq i64* %5, null
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 16, i64 %3, i64 %4, i64 %2, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_2:
%9 = and i64 %arg1, 4294967295
%10 = bitcast i64* %sv_1 to i8*
%11 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %10, i32 4096, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %9)
%12 = call %_IO_FILE* @fopen(i8* nonnull %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))
%13 = icmp eq %_IO_FILE* %12, null
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_3, label LBL_4
LBL_3:
%15 = ptrtoint i64* %5 to i64
%16 = bitcast i64* %sv_2 to i32*
br label LBL_6
LBL_4:
%17 = ptrtoint i64* %sv_1 to i64
%18 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0), i64 %17, i64 ptrtoint ([16 x i8]* @gv_1 to i64), i64 %9, i64 %2, i64 %1)
br label LBL_11
LBL_5:
%19 = load i8*, i8** %sv_3, align 8
%20 = call i32 (i8*, i8*, ...) @sscanf(i8* %19, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64* %5)
%21 = icmp slt i32 %20, 1
store i1 true, i1* %sv_0.0.reg2mem
store i64 %15, i64* %rdx.0.reg2mem
br i1 %21, label LBL_6, label LBL_8
LBL_6:
%22 = call i32 @getline(i8** nonnull %sv_3, i32* nonnull %16, %_IO_FILE* %12)
%23 = icmp eq i32 %22, -1
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_5, label LBL_7
LBL_7:
%25 = ptrtoint %_IO_FILE* %12 to i64
store i1 false, i1* %sv_0.0.reg2mem
store i64 %25, i64* %rdx.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i1, i1* %sv_0.0.reg2mem
%26 = load i8*, i8** %sv_3, align 8
%27 = bitcast i8* %26 to i64*
call void @free(i64* %27)
%28 = call i32 @fclose(%_IO_FILE* %12)
br i1 %sv_0.0.reload, label LBL_10, label LBL_9
LBL_9:
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%29 = ptrtoint i64* %sv_2 to i64
%30 = ptrtoint i64* %sv_1 to i64
%31 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_5, i64 0, i64 0), i64 %30, i64 %rdx.0.reload, i64 %29, i64 %2, i64 %1)
%32 = call i32* @__errno_location()
store i32 2, i32* %32, align 4
br label LBL_11
LBL_10:
%33 = call i64 @FUNC(i64 %9)
%34 = add i64 %15, 8
%35 = inttoptr i64 %34 to i64*
store i64 %33, i64* %35, align 8
store i64 %15, i64* %rax.0.reg2mem
br label LBL_12
LBL_11:
call void @free(i64* %5)
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %15, { 0, 2, 1 }
uselistorder %_IO_FILE* %12, { 1, 0, 2, 3 }
uselistorder i64* %5, { 1, 0, 3, 2 }
uselistorder i8** %sv_3, { 2, 3, 1, 0 }
uselistorder i64* %sv_1, { 1, 2, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i1* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder [16 x i8]* @gv_1, { 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @SYSERROR, { 2, 1, 0 }
uselistorder i32 1, { 6, 7, 8, 10, 9, 5, 4, 3, 2, 11, 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | p9_mux_poll_start_7524 | p9_mux_poll_start | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_0.111.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%storemerge214.reg2mem = alloca i32
%0 = load i32, i32* @gv_0, align 4
%1 = zext i32 %0 to i64
%2 = load i32, i32* inttoptr (i64 4211108 to i32*), align 4
%3 = zext i32 %2 to i64
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64* %arg1, i64 %3, i64 %1)
%5 = call i64 @FUNC(i64 4211112)
%6 = call i64 @FUNC(i64 zext (i32 ptrtoint (i32* @gv_2 to i32) to i64))
%7 = load i32, i32* @gv_0, align 4
%8 = zext i32 %7 to i64
%sext = mul i64 %6, 4294967296
%9 = ashr exact i64 %sext, 32
%10 = icmp sgt i64 %9, %8
store i32 0, i32* %storemerge214.reg2mem
br i1 %10, label LBL_1, label LBL_6
LBL_1:
%storemerge214.reload = load i32, i32* %storemerge214.reg2mem
%11 = sext i32 %storemerge214.reload to i64
%12 = mul i64 %11, 32
%13 = add i64 %12, ptrtoint (i64* @gv_3 to i64)
%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
br i1 %17, label LBL_4, label LBL_2
LBL_2:
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i64* %14)
%19 = call i64 @FUNC(i64 4198834, i64 %13, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label LBL_6, label LBL_3
LBL_3:
store i64 %19, i64* %14, align 8
%21 = add i64 %12, add (i64 ptrtoint (i64* @gv_3 to i64), i64 8)
%22 = call i64 @FUNC(i64 %21)
%23 = add i64 %12, add (i64 ptrtoint (i64* @gv_3 to i64), i64 24)
%24 = inttoptr i64 %23 to i32*
store i32 0, i32* %24, align 8
store i32 ptrtoint (i32* @gv_6 to i32), i32* @gv_0, align 4
%25 = load i64, i64* %14, align 8
%26 = call i64 @FUNC(i64 %25)
br label LBL_6
LBL_4:
%27 = add nuw i32 %storemerge214.reload, 1
%28 = icmp ult i32 %27, 10
store i32 %27, i32* %storemerge214.reg2mem
br i1 %28, label LBL_1, label LBL_5
LBL_5:
%29 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0))
br label LBL_6
LBL_6:
%30 = ptrtoint i64* %arg1 to i64
%31 = load i32, i32* @gv_0, align 4
%32 = zext i32 %31 to i64
%33 = sdiv i64 or (i64 shl (i64 zext (i32 ashr (i32 ptrtoint (i32* @gv_2 to i32), i32 31) to i64), i64 32), i64 zext (i32 ptrtoint (i32* @gv_2 to i32) to i64)), %32
%34 = srem i64 or (i64 shl (i64 zext (i32 ashr (i32 ptrtoint (i32* @gv_2 to i32), i32 31) to i64), i64 32), i64 zext (i32 ptrtoint (i32* @gv_2 to i32) to i64)), %32
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 0
%37 = icmp eq i1 %36, false
%38 = zext i1 %37 to i64
%39 = add i64 %33, %38
%sext3 = mul i64 %39, 4294967296
%40 = ashr exact i64 %sext3, 32
store i64 0, i64* %indvars.iv.reg2mem
store i64 0, i64* %sv_0.111.reg2mem
br label LBL_7
LBL_7:
%sv_0.111.reload = load i64, i64* %sv_0.111.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%41 = mul i64 %indvars.iv.reload, 32
%42 = add i64 %41, ptrtoint (i64* @gv_3 to i64)
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = icmp eq i64 %44, 0
store i64 %sv_0.111.reload, i64* %sv_0.0.reg2mem
br i1 %45, label LBL_10, label LBL_8
LBL_8:
%46 = add i64 %41, add (i64 ptrtoint (i64* @gv_3 to i64), i64 24)
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 8
%49 = zext i32 %48 to i64
%50 = icmp sgt i64 %40, %49
store i64 %42, i64* %sv_0.0.reg2mem
br i1 %50, label LBL_9, label LBL_10
LBL_9:
%51 = and i64 %indvars.iv.reload, 4294967295
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), i64 %51)
%53 = add i64 %41, add (i64 ptrtoint (i64* @gv_3 to i64), i64 8)
%54 = add i64 %30, 8
%55 = call i64 @FUNC(i64 %54, i64 %53)
%56 = load i32, i32* %47, align 8
%57 = add i32 %56, 1
store i32 %57, i32* %47, align 8
%58 = add i64 %30, 24
%59 = inttoptr i64 %58 to i64*
store i64 %42, i64* %59, align 8
%60 = call i64* @memset(i64* %arg1, i32 0, i32 4)
%61 = add i64 %30, 32
%62 = call i64 @FUNC(i64 %61, i64 4198845)
br label LBL_13
LBL_10:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%63 = icmp ult i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.111.reg2mem
br i1 %63, label LBL_7, label LBL_11
LBL_11:
%64 = icmp eq i64 %sv_0.0.reload, 0
%65 = icmp eq i1 %64, false
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %65, label LBL_12, label LBL_14
LBL_12:
%66 = and i64 %indvars.iv.next, 4294967295
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), i64 %66)
%68 = add i64 %sv_0.0.reload, 8
%69 = add i64 %30, 8
%70 = call i64 @FUNC(i64 %69, i64 %68)
%71 = add i64 %sv_0.0.reload, 24
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %72, align 4
%74 = add i32 %73, 1
store i32 %74, i32* %72, align 4
%75 = add i64 %30, 24
%76 = inttoptr i64 %75 to i64*
store i64 %sv_0.0.reload, i64* %76, align 8
%77 = call i64* @memset(i64* %arg1, i32 0, i32 4)
%78 = add i64 %30, 32
%79 = call i64 @FUNC(i64 %78, i64 4198845)
br label LBL_13
LBL_13:
store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_9 to i32*), align 8
%80 = call i64 @FUNC(i64 4211112)
store i64 0, i64* %storemerge.reg2mem
br label LBL_14
LBL_14:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %indvars.iv.next, { 1, 0, 2 }
uselistorder i64 %sv_0.0.reload, { 0, 2, 1, 3, 4 }
uselistorder i64 %42, { 1, 0, 2 }
uselistorder i64 %41, { 2, 1, 0 }
uselistorder i64 %12, { 2, 1, 0 }
uselistorder i32* %storemerge214.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.111.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @init_poll_funcptr, { 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i64 (i64, i64)* @list_add, { 1, 0 }
uselistorder i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), { 1, 0 }
uselistorder i64 24, { 1, 2, 3, 0 }
uselistorder i64 add (i64 ptrtoint (i64* @gv_3 to i64), i64 24), { 1, 0 }
uselistorder i64 8, { 1, 2, 3, 0, 4, 5, 6 }
uselistorder i64 add (i64 ptrtoint (i64* @gv_3 to i64), i64 8), { 1, 0 }
uselistorder i64 ptrtoint (i64* @gv_3 to i64), { 2, 1, 0, 3 }
uselistorder i64 32, { 5, 6, 0, 2, 4, 1, 3 }
uselistorder i32* @gv_0, { 3, 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0, 3, 2 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 3, 0, 1, 2 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | __sctp_put_port_8061 | __sctp_put_port | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = call i64 @FUNC(i64 %0)
%5 = zext i32 %3 to i64
%6 = call i64 @FUNC(i64 %4, i64 %5)
%sext = mul i64 %6, 4294967296
%7 = ashr exact i64 %sext, 30
%8 = add i64 %7, ptrtoint (i64* @gv_0 to i64)
%9 = call i64 @FUNC(i64 %8)
%10 = call i64 @FUNC(i64 %0)
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %0)
%14 = call i64 @FUNC(i64 %0)
%15 = inttoptr i64 %14 to i64*
store i64 0, i64* %15, align 8
%16 = call i64 @FUNC(i64 %0)
%17 = inttoptr i64 %16 to i32*
store i32 0, i32* %17, align 4
%18 = call i64 @FUNC(i64 %12)
%19 = call i64 @FUNC(i64 %8)
ret i64 %19
uselistorder i64 %0, { 0, 1, 3, 2, 4, 5 }
uselistorder i64 (i64)* @sctp_sk, { 1, 0 }
uselistorder i64 (i64)* @inet_sk, { 1, 0 }
} | 0 |
BinRealVul | put_bitmap_594 | put_bitmap | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %arg3, 63
%3 = udiv i64 %2, 64
%4 = icmp ult i64 %2, 64
store i32 0, i32* %storemerge2.reg2mem
store i64 0, i64* %.lcssa.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%5 = add i32 %storemerge2.reload, 1
%6 = sext i32 %storemerge2.reload to i64
%7 = mul i64 %6, 8
%8 = add i64 %7, %0
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %1, i64 %10)
%12 = sext i32 %5 to i64
%13 = icmp ugt i64 %3, %12
store i32 %5, i32* %storemerge2.reg2mem
store i64 %12, i64* %.lcssa.reg2mem
br i1 %13, label LBL_1, label LBL_2
LBL_2:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i32 %storemerge2.reload, { 1, 0 }
uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | nfs4_do_unlck_3786 | nfs4_do_unlck | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg4 to i64
%1 = ptrtoint i64* %arg3 to i64
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = bitcast i64* %arg1 to i32*
store i32 0, i32* %4, align 4
%5 = call i64 @FUNC(i64 %3, i64 %2, i64 %1, i64 %0)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %0)
%9 = call i64 @FUNC(i64 4294967284)
store i64 %9, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%10 = call i64 @FUNC(i64 %1)
%11 = call i64 @FUNC(i64 %10, i64 1, i64* nonnull @gv_0, i64 %5)
store i64 %11, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 2, 0, 1 }
} | 0 |
BinRealVul | fsl_imx31_class_init_14167 | fsl_imx31_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 4198662, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %2, align 8
ret i64 %0
uselistorder i64 %0, { 1, 0 }
} | 1 |
BinRealVul | spapr_events_init_2263 | spapr_events_init | 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 = bitcast i64* %arg1 to i32*
store i32 %2, i32* %3, align 4
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
store i64 4198674, i64* %5, align 8
%6 = call i64 @FUNC(i64 %4)
%7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 4198710)
ret i64 %7
} | 0 |
BinRealVul | decode_pic_hdr_3045 | decode_pic_hdr | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%storemerge.reg2mem = alloca i32
%storemerge1.reg2mem = alloca i32
%.pr.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 32
%8 = call i64 @FUNC(i64 %7, i64 5)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 31
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_20
LBL_2:
%12 = trunc i64 %3 to i32
%13 = bitcast i64* %rdi to i32*
%14 = add i64 %6, 4
%15 = inttoptr i64 %14 to i32*
store i32 %12, i32* %15, align 4
%16 = call i64 @FUNC(i64 %7, i64 3)
%17 = trunc i64 %16 to i32
%18 = bitcast i64* %arg1 to i32*
store i32 %17, i32* %18, align 4
%19 = load i32, i32* %13, align 8
%20 = icmp slt i32 %19, 5
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = zext i32 %19 to i64
%22 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_20
LBL_4:
%23 = call i64 @FUNC(i64 %7, i64 8)
%24 = trunc i64 %23 to i32
%25 = add i64 %6, 8
%26 = inttoptr i64 %25 to i32*
store i32 %24, i32* %26, align 4
%27 = load i32, i32* %13, align 8
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
store i32 %27, i32* %.pr.reg2mem
br i1 %29, label LBL_7, label LBL_5
LBL_5:
%30 = add i64 %6, 12
%31 = inttoptr i64 %30 to i32*
store i32 1, i32* %31, align 4
%32 = call i64 @FUNC(i64 %6, i64 %5)
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %34, label LBL_6, label LBL_20
LBL_6:
store i32 0, i32* %31, align 4
%.pre = load i32, i32* %13, align 8
store i32 %.pre, i32* %.pr.reg2mem
br label LBL_7
LBL_7:
%.pr.reload = load i32, i32* %.pr.reg2mem
%35 = icmp eq i32 %.pr.reload, 1
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_10, label LBL_8
LBL_8:
%37 = add i64 %6, 16
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = icmp eq i32 %39, 0
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_10, label LBL_9
LBL_9:
%42 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
store i32 2, i32* %18, align 4
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_20
LBL_10:
%43 = icmp eq i32 %.pr.reload, 3
br i1 %43, label LBL_19, label LBL_11
LBL_11:
%44 = call i64 @FUNC(i64 %7, i64 8)
%45 = trunc i64 %44 to i32
%46 = add i64 %6, 20
%47 = inttoptr i64 %46 to i32*
store i32 %45, i32* %47, align 4
%48 = urem i32 %45, 2
%49 = icmp eq i32 %48, 0
store i32 0, i32* %storemerge1.reg2mem
br i1 %49, label LBL_13, label LBL_12
LBL_12:
%50 = call i64 @FUNC(i64 %7, i64 24)
%phitmp = trunc i64 %50 to i32
store i32 %phitmp, i32* %storemerge1.reg2mem
br label LBL_13
LBL_13:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%51 = add i64 %6, 24
%52 = inttoptr i64 %51 to i32*
store i32 %storemerge1.reload, i32* %52, align 4
%53 = load i32, i32* %47, align 4
%54 = and i32 %53, 16
%55 = icmp eq i32 %54, 0
store i32 0, i32* %storemerge.reg2mem
br i1 %55, label LBL_15, label LBL_14
LBL_14:
%56 = call i64 @FUNC(i64 %7, i64 16)
%phitmp2 = trunc i64 %56 to i32
store i32 %phitmp2, i32* %storemerge.reg2mem
br label LBL_15
LBL_15:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%57 = add i64 %6, 28
%58 = inttoptr i64 %57 to i32*
store i32 %storemerge.reload, i32* %58, align 4
%59 = load i32, i32* %47, align 4
%60 = and i32 %59, 32
%61 = icmp eq i32 %60, 0
store i32 %59, i32* %.reg2mem
br i1 %61, label LBL_17, label LBL_16
LBL_16:
%62 = call i64 @FUNC(i64 %7)
%.pre3 = load i32, i32* %47, align 4
store i32 %.pre3, i32* %.reg2mem
br label LBL_17
LBL_17:
%.reload = load i32, i32* %.reg2mem
%63 = and i32 %.reload, 64
%64 = zext i32 %63 to i64
%65 = call i64 @FUNC(i64 %7, i64 %64, i64 0, i64 %7, i64 %5)
%66 = trunc i64 %65 to i32
%67 = icmp eq i32 %66, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %67, label LBL_18, label LBL_20
LBL_18:
%68 = call i64 @FUNC(i64 %7, i64 3)
br label LBL_19
LBL_19:
%69 = call i64 @FUNC(i64 %7)
store i64 0, i64* %rax.0.reg2mem
br label LBL_20
LBL_20:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %.pr.reload, { 1, 0 }
uselistorder i64 %7, { 7, 2, 3, 4, 1, 0, 6, 5, 8, 9, 10 }
uselistorder i64 %6, { 3, 4, 5, 2, 0, 1, 6, 7, 8 }
uselistorder i64 %5, { 4, 3, 2, 1, 0 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i32* %.pr.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 2, 4, 3 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 24, { 1, 0 }
uselistorder i32 0, { 2, 3, 0, 4, 1, 5, 6, 7, 8, 9 }
uselistorder i64 8, { 0, 2, 1 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @get_bits, { 4, 3, 2, 1, 0 }
uselistorder label LBL_20, { 2, 0, 3, 1, 4, 5 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
} | 0 |
BinRealVul | chr_can_read_3326 | chr_can_read | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_2, label LBL_1
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 = sub i32 1024, %7
%9 = zext i32 %8 to i64
store i64 %9, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | cliOutputGenericHelp_8699 | cliOutputGenericHelp | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = inttoptr i64 %0 to i8*
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([385 x i8], [385 x i8]* @gv_0, i64 0, i64 0), i8* %1)
%3 = call i64 @FUNC(i64 %0)
ret i64 %3
} | 0 |
BinRealVul | sync_speed_show_8484 | sync_speed_show | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.in.reg2mem = alloca i32
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = bitcast i64* %arg2 to i8*
%3 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))
store i32 %3, i32* %storemerge.in.reg2mem
br label LBL_3
LBL_2:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 32
%6 = call i64 @FUNC(i64 %5)
%7 = bitcast i64* %arg2 to i8*
%8 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 0)
store i32 %8, i32* %storemerge.in.reg2mem
br label LBL_3
LBL_3:
%storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem
%storemerge = sext i32 %storemerge.in.reload to i64
ret i64 %storemerge
uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %arg1, { 1, 0 }
} | 0 |
BinRealVul | qeth_initialize_working_pool_list_9764 | qeth_initialize_working_pool_list | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))
ret i64 %0
} | 0 |
BinRealVul | qemu_put_be32_3109 | qemu_put_be32 | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = udiv i64 %arg2, 16777216
%2 = urem i64 %1, 256
%3 = call i64 @FUNC(i64 %0, i64 %2)
%4 = udiv i64 %arg2, 65536
%5 = urem i64 %4, 256
%6 = call i64 @FUNC(i64 %0, i64 %5)
%7 = udiv i64 %arg2, 256
%8 = urem i64 %7, 256
%9 = call i64 @FUNC(i64 %0, i64 %8)
%10 = urem i64 %arg2, 256
%11 = call i64 @FUNC(i64 %0, i64 %10)
ret i64 %11
uselistorder i64 (i64, i64)* @qemu_put_byte, { 3, 2, 1, 0 }
uselistorder i64 256, { 1, 2, 0, 3, 4 }
uselistorder i64 %arg2, { 3, 0, 1, 2 }
} | 0 |
BinRealVul | flist_for_ndx_9552 | flist_for_ndx | define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%storemerge6.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%.reg2mem27 = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i32*
%.reg2mem = alloca i32
%sv_1.013.reg2mem = alloca i32*
%sv_1.0.ph.reg2mem = alloca i32*
%0 = load i32*, i32** @gv_0, align 8
%1 = icmp eq i32* %0, null
%2 = icmp eq i1 %1, false
store i32* %0, i32** %sv_1.0.ph.reg2mem
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = load i32*, i32** @gv_1, align 8
%4 = icmp eq i32* %3, null
store i32* %3, i32** %sv_1.0.ph.reg2mem
br i1 %4, label LBL_9, label LBL_2
LBL_2:
%sext = mul i64 %arg1, 4294967296
%sv_1.0.ph.reload = load i32*, i32** %sv_1.0.ph.reg2mem
%5 = load i32, i32* %sv_1.0.ph.reload, align 4
%6 = add i32 %5, -1
%7 = zext i32 %6 to i64
%8 = ashr exact i64 %sext, 32
%9 = icmp slt i64 %8, %7
store i32 %5, i32* %.reg2mem
store i32* %sv_1.0.ph.reload, i32** %sv_1.0.lcssa.reg2mem
br i1 %9, label LBL_3, label LBL_6
LBL_3:
%10 = load i32*, i32** @gv_1, align 8
store i32* %sv_1.0.ph.reload, i32** %sv_1.013.reg2mem
br label LBL_4
LBL_4:
%sv_1.013.reload = load i32*, i32** %sv_1.013.reg2mem
%11 = icmp eq i32* %sv_1.013.reload, %10
br i1 %11, label LBL_9, label LBL_5
LBL_5:
%12 = ptrtoint i32* %sv_1.013.reload to i64
%13 = add i64 %12, 8
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i32 %17, -1
%19 = zext i32 %18 to i64
%20 = icmp slt i64 %8, %19
store i32* %16, i32** %sv_1.013.reg2mem
store i32 %17, i32* %.reg2mem
store i32* %16, i32** %sv_1.0.lcssa.reg2mem
br i1 %20, label LBL_4, label LBL_6
LBL_6:
%sv_1.0.lcssa.reload = load i32*, i32** %sv_1.0.lcssa.reg2mem
%.reload = load i32, i32* %.reg2mem
%21 = ptrtoint i32* %sv_1.0.lcssa.reload to i64
%22 = add i64 %21, 4
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i32 %24, %.reload
%26 = zext i32 %25 to i64
%27 = icmp slt i64 %8, %26
store i64 %21, i64* %.reg2mem27
store i64 %21, i64* %storemerge6.reg2mem
br i1 %27, label LBL_13, label LBL_7
LBL_7:
%.reload28 = load i64, i64* %.reg2mem27
%28 = add i64 %.reload28, 16
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label LBL_9, label LBL_7.dec_label_pc_40128f_crit_edge
LBL_8:
%32 = inttoptr i64 %30 to i32*
%.pre = load i32, i32* %32, align 4
%33 = add i64 %30, 4
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = add i32 %35, %.pre
%37 = zext i32 %36 to i64
%38 = icmp slt i64 %8, %37
store i64 %30, i64* %.reg2mem27
store i64 %30, i64* %storemerge6.reg2mem
br i1 %38, label LBL_13, label LBL_7
LBL_9:
%39 = icmp eq i8* %arg2, null
store i64 0, i64* %storemerge6.reg2mem
br i1 %39, label LBL_13, label LBL_10
LBL_10:
%40 = load i32*, i32** @gv_1, align 8
%41 = icmp eq i32* %40, null
store i64 0, i64* %sv_0.0.reg2mem
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %41, label LBL_12, label LBL_11
LBL_11:
%42 = load i32, i32* %40, align 4
%43 = add i32 %42, -1
%44 = ptrtoint i32* %40 to i64
%45 = add i64 %44, 8
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = add i64 %47, 4
%51 = inttoptr i64 %50 to i32*
%52 = load i32, i32* %51, align 4
%53 = add i32 %49, -1
%54 = add i32 %53, %52
%phitmp = zext i32 %54 to i64
%phitmp7 = zext i32 %43 to i64
store i64 %phitmp7, i64* %sv_0.0.reg2mem
store i64 %phitmp, i64* %storemerge.reg2mem
br label LBL_12
LBL_12:
%55 = and i64 %arg1, 4294967295
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%56 = call i64 @FUNC()
%57 = ptrtoint i8* %arg2 to i64
%58 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 %55, i64 %sv_0.0.reload, i64 %storemerge.reload, i64 %57)
%59 = call i64 @FUNC(i64 2)
unreachable
LBL_13:
%storemerge6.reload = load i64, i64* %storemerge6.reg2mem
ret i64 %storemerge6.reload
uselistorder i32* %40, { 1, 0, 2 }
uselistorder i32* %sv_1.013.reload, { 1, 0 }
uselistorder i64 %8, { 1, 0, 3, 2 }
uselistorder i32* %sv_1.0.ph.reload, { 1, 0, 2 }
uselistorder i32** %sv_1.0.ph.reg2mem, { 0, 2, 1 }
uselistorder i32** %sv_1.013.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem27, { 2, 0, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge6.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i64 4, { 1, 2, 0 }
uselistorder i32 -1, { 1, 2, 3, 0 }
uselistorder i64 %arg1, { 1, 0 }
uselistorder label LBL_13, { 2, 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_9, { 1, 0, 2 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | add_bytes_l2_c_3030 | add_bytes_l2_c | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%sv_0.01.reg2mem = alloca i64
%storemerge.lcssa.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = add i32 %arg4, -8
%4 = sext i32 %3 to i64
%5 = icmp slt i32 %3, 0
store i64 0, i64* %storemerge2.reg2mem
store i64 0, i64* %storemerge.lcssa.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%6 = add i64 %storemerge2.reload, %1
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = add i64 %storemerge2.reload, %0
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = urem i64 %8, 128
%13 = urem i64 %11, 128
%14 = add nuw nsw i64 %13, %12
%15 = xor i64 %11, %8
%16 = and i64 %15, 128
%17 = add i64 %storemerge2.reload, %2
%18 = xor i64 %14, %16
%19 = inttoptr i64 %17 to i64*
store i64 %18, i64* %19, align 8
%20 = add nuw nsw i64 %storemerge2.reload, 8
%21 = icmp sgt i64 %20, %4
store i64 %20, i64* %storemerge2.reg2mem
store i64 %20, i64* %storemerge.lcssa.reg2mem
br i1 %21, label LBL_2, label LBL_1
LBL_2:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
%22 = sext i32 %arg4 to i64
%23 = icmp slt i64 %storemerge.lcssa.reload, %22
store i64 %storemerge.lcssa.reload, i64* %sv_0.01.reg2mem
br i1 %23, label LBL_3, label LBL_4
LBL_3:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%24 = add i64 %sv_0.01.reload, %1
%25 = inttoptr i64 %24 to i8*
%26 = load i8, i8* %25, align 1
%27 = add i64 %sv_0.01.reload, %0
%28 = inttoptr i64 %27 to i8*
%29 = load i8, i8* %28, align 1
%30 = add i64 %sv_0.01.reload, %2
%31 = add i8 %29, %26
%32 = inttoptr i64 %30 to i8*
store i8 %31, i8* %32, align 1
%33 = add nuw nsw i64 %sv_0.01.reload, 1
%exitcond = icmp eq i64 %33, %22
store i64 %33, i64* %sv_0.01.reg2mem
br i1 %exitcond, label LBL_4, label LBL_3
LBL_4:
ret i64 %22
uselistorder i64 %sv_0.01.reload, { 0, 3, 2, 1 }
uselistorder i64 %22, { 1, 0, 2 }
uselistorder i64 %11, { 1, 0 }
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %storemerge2.reload, { 0, 3, 2, 1 }
uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }
uselistorder i64 128, { 2, 0, 1 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | dev_forward_change_8665 | dev_forward_change | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge14.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = icmp eq i64* %arg1, null
br i1 %0, label LBL_11, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = and i64 %1, 4096
%3 = icmp eq i64 %2, 0
br i1 %3, label LBL_5, label LBL_2
LBL_2:
%4 = call i64 @FUNC(i64* nonnull %sv_0)
%5 = add i64 %1, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)
br label LBL_5
LBL_4:
%10 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)
br label LBL_5
LBL_5:
%11 = add i64 %1, 16
%storemerge1.in2 = inttoptr i64 %11 to i64*
%storemerge13 = load i64, i64* %storemerge1.in2, align 8
%12 = icmp eq i64 %storemerge13, 0
%13 = icmp eq i1 %12, false
store i64 %storemerge13, i64* %rax.0.reg2mem
br i1 %13, label LBL_6, label LBL_11
LBL_6:
%14 = add i64 %1, 8
%15 = inttoptr i64 %14 to i32*
store i64 %storemerge13, i64* %storemerge14.reg2mem
br label LBL_7
LBL_7:
%storemerge14.reload = load i64, i64* %storemerge14.reg2mem
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_9, label LBL_8
LBL_8:
%18 = call i64 @FUNC(i64 %storemerge14.reload)
br label LBL_10
LBL_9:
%19 = call i64 @FUNC(i64 %storemerge14.reload)
br label LBL_10
LBL_10:
%storemerge1.in = inttoptr i64 %storemerge14.reload to i64*
%storemerge1 = load i64, i64* %storemerge1.in, align 8
%20 = icmp eq i64 %storemerge1, 0
%21 = icmp eq i1 %20, false
store i64 %storemerge1, i64* %storemerge14.reg2mem
store i64 %storemerge1, i64* %rax.0.reg2mem
br i1 %21, label LBL_7, label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge14.reload, { 2, 1, 0 }
uselistorder i64 %storemerge13, { 1, 0, 2 }
uselistorder i64 %1, { 4, 5, 2, 1, 3, 0 }
uselistorder i64* %storemerge14.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 0 |
BinRealVul | sbr_hf_g_filt_c_3529 | sbr_hf_g_filt_c | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%storemerge.lcssa.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = icmp sgt i32 %arg4, 0
store i64 0, i64* %storemerge.lcssa.reg2mem
br i1 %0, label LBL_1, label LBL_5
LBL_1:
%1 = ptrtoint i64* %arg3 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = ptrtoint i64* %arg2 to i64
%4 = mul i64 %arg5, 8
%5 = add i64 %4, %3
%wide.trip.count = zext i32 %arg4 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%6 = mul i64 %indvars.iv.reload, 8
%7 = add i64 %6, %1
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = sub i32 22, %9
%11 = icmp sgt i32 %10, 60
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = urem i32 %10, 64
%13 = icmp eq i32 %12, 0
%14 = zext i32 %12 to i64
%15 = shl i64 1, %14
%storemerge1 = select i1 %13, i64 1, i64 %15
%16 = mul nuw nsw i64 %indvars.iv.reload, 320
%17 = add i64 %5, %16
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = add i64 %7, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i32 %22, 64
%24 = ashr i32 %23, 7
%25 = sext i32 %24 to i64
%26 = sext i32 %19 to i64
%27 = mul nsw i64 %25, %26
%28 = add i64 %27, %storemerge1
%29 = sub i32 23, %9
%30 = urem i32 %29, 64
%31 = zext i32 %30 to i64
%rdx.0 = ashr i64 %28, %31
%32 = add i64 %6, %2
%33 = trunc i64 %rdx.0 to i32
%34 = inttoptr i64 %32 to i32*
store i32 %33, i32* %34, align 4
%35 = add i64 %17, 4
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = load i32, i32* %21, align 4
%39 = add i32 %38, 64
%40 = ashr i32 %39, 7
%41 = sext i32 %40 to i64
%42 = sext i32 %37 to i64
%43 = mul nsw i64 %41, %42
%44 = add i64 %43, %storemerge1
%45 = load i32, i32* %8, align 4
%46 = sub i32 23, %45
%47 = urem i32 %46, 64
%48 = zext i32 %47 to i64
%rdx.1 = ashr i64 %44, %48
%49 = trunc i64 %rdx.1 to i32
%50 = add i64 %32, 4
%51 = inttoptr i64 %50 to i32*
store i32 %49, i32* %51, align 4
br label LBL_4
LBL_4:
%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* %storemerge.lcssa.reg2mem
br i1 %exitcond, label LBL_5, label LBL_2
LBL_5:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
ret i64 %storemerge.lcssa.reload
uselistorder i64 %6, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 4, { 1, 0, 2 }
uselistorder i32 64, { 0, 3, 1, 4, 2 }
uselistorder i32 0, { 1, 0 }
} | 0 |
BinRealVul | perf_instruction_pointer_19122 | perf_instruction_pointer | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 4660)
%3 = load i64, i64* @gv_0, align 8
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = urem i32 %5, 2
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = icmp eq i64 %2, 0
%. = select i1 %8, i64 4660, i64 %2
store i64 %., i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
%9 = trunc i64 %1 to i8
%10 = icmp eq i8 %9, 0
store i64 4660, i64* %rdi.0.reg2mem
br i1 %10, label LBL_5, label LBL_3
LBL_3:
%11 = call i64 @FUNC(i64 %0)
%12 = trunc i64 %11 to i8
%13 = icmp eq i8 %12, 0
store i64 %0, i64* %rdi.0.reg2mem
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = call i64 @FUNC(i64 4660)
%15 = call i64 @FUNC(i64 %0)
%16 = add i64 %15, %14
store i64 %16, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%rdi.0. = select i1 %10, i64 %rdi.0.reload, i64 0
store i64 %rdi.0., i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 1, 0, 2, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }
uselistorder i64 (i64)* @mfspr, { 1, 0 }
uselistorder i64 4660, { 2, 0, 1, 3 }
uselistorder label LBL_6, { 0, 2, 1 }
} | 1 |
BinRealVul | qvirtio_pci_config_readl_3419 | qvirtio_pci_config_readl | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.in.reg2mem = alloca i64
%0 = add i64 %arg1, 8
%1 = inttoptr i64 %0 to i32*
%2 = load i32, i32* %1, align 4
%3 = zext i32 %2 to i64
%4 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %arg2)
%5 = call i64 @FUNC(i64 %arg1)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
store i64 %4, i64* %sv_0.0.in.reg2mem
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = and i64 %4, 4294967295
%9 = call i64 @FUNC(i64 %8)
store i64 %9, i64* %sv_0.0.in.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%10 = and i64 %sv_0.0.in.reload, 4294967295
ret i64 %10
uselistorder i64 %4, { 1, 0 }
} | 0 |
BinRealVul | iscsit_release_discovery_tpg_4494 | iscsit_release_discovery_tpg | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = icmp eq i64 %2, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = inttoptr i64 %2 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = add i64 %2, 8
%8 = call i64 @FUNC(i64 %7)
%9 = call i64 @FUNC(i64 %2)
%10 = load i64, i64* @gv_0, align 8
%11 = inttoptr i64 %10 to i64*
store i64 0, i64* %11, align 8
store i64 %10, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 2, 1, 0, 3 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | avpriv_toupper4_1701 | avpriv_toupper4 | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = urem i64 %arg1, 256
%1 = call i64 @FUNC(i64 %0)
%2 = udiv i64 %arg1, 256
%3 = urem i64 %2, 256
%4 = call i64 @FUNC(i64 %3)
%5 = mul i64 %4, 256
%6 = add i64 %5, %1
%7 = udiv i64 %arg1, 65536
%8 = urem i64 %7, 256
%9 = call i64 @FUNC(i64 %8)
%10 = mul i64 %9, 65536
%11 = add i64 %6, %10
%12 = udiv i64 %arg1, 16777216
%13 = urem i64 %12, 256
%14 = call i64 @FUNC(i64 %13)
%15 = mul i64 %14, 16777216
%16 = add i64 %11, %15
%17 = and i64 %16, 4294967295
ret i64 %17
uselistorder i64 (i64)* @av_toupper, { 3, 2, 1, 0 }
uselistorder i64 256, { 2, 3, 0, 4, 1, 5 }
} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.