text
stringlengths 2.5k
419k
|
---|
### Human: Refine the following lifted llvm ir, target datalayout = "e-m:e-p:64:64-i64:64-f80:128-n8:16:32:64-S128"
@global_var_f = constant [3 x i8] c"%(\00"
@global_var_34c = constant [21 x i8] c"Benign, fixed string\00"
@global_var_10 = external constant i128
@global_var_348 = local_unnamed_addr global i32 1
define i64 @_GLOBAL_OFFSET_TABLE_.1() local_unnamed_addr {
dec_label_pc_0:
%0 = call i64 @__readfsqword(i64 40), !insn.addr !0
ret i64 add (i64 sub (i64 ptrtoint (i128* @global_var_10 to i64), i64 1), i64 65), !insn.addr !1
}
define i64 @function_30(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
dec_label_pc_30:
%0 = alloca i64
%rax.0.reg2mem = alloca i64, !insn.addr !2
%.pre-phi2.reg2mem = alloca i64*, !insn.addr !2
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = add i64 %3, -9, !insn.addr !2
%5 = inttoptr i64 %4 to i8*, !insn.addr !2
%6 = load i8, i8* %5, align 1, !insn.addr !2
%7 = trunc i64 %arg4 to i8, !insn.addr !2
%8 = add i8 %6, %7, !insn.addr !2
store i8 %8, i8* %5, align 1, !insn.addr !2
%9 = call i64 @__asm_int1(), !insn.addr !3
%10 = mul i64 %9, ptrtoint (i128* @global_var_10 to i64), !insn.addr !4
%11 = sub i64 %2, %10, !insn.addr !5
%12 = add i64 %11, ptrtoint ([3 x i8]* @global_var_f to i64), !insn.addr !6
%13 = and i64 %12, -16, !insn.addr !7
%14 = add i64 %1, -128, !insn.addr !8
%15 = inttoptr i64 %14 to i64*, !insn.addr !8
store i64 %13, i64* %15, align 8, !insn.addr !8
%16 = add i64 %11, add (i64 ptrtoint ([3 x i8]* @global_var_f to i64), i64 sub (i64 0, i64 trunc (i128 mul (i128 sext (i64 trunc (i128 udiv (i128 zext (i64 add (i64 sub (i64 ptrtoint (i128* @global_var_10 to i64), i64 1), i64 115) to i128), i128 zext (i64 ptrtoint (i128* @global_var_10 to i64) to i128)) to i64) to i128), i128 ptrtoint (i128* @global_var_10 to i128)) to i64))), !insn.addr !9
%17 = and i64 %16, -16, !insn.addr !10
%18 = add i64 %1, -120, !insn.addr !11
%19 = inttoptr i64 %18 to i64*, !insn.addr !11
store i64 %17, i64* %19, align 8, !insn.addr !11
%20 = load i32, i32* inttoptr (i64 840 to i32*), align 8, !insn.addr !12
%21 = icmp eq i32 %20, 0, !insn.addr !13
br i1 %21, label %dec_label_pc_30.dec_label_pc_a1_crit_edge, label %dec_label_pc_8c, !insn.addr !14
dec_label_pc_30.dec_label_pc_a1_crit_edge: ; preds = %dec_label_pc_30
%.pre = add i64 %1, -136, !insn.addr !15
%.pre1 = inttoptr i64 %.pre to i64*, !insn.addr !15
store i64* %.pre1, i64** %.pre-phi2.reg2mem
br label %dec_label_pc_a1
dec_label_pc_8c: ; preds = %dec_label_pc_30
%22 = load i64, i64* %15, align 8, !insn.addr !16
%23 = add i64 %1, -136
%24 = inttoptr i64 %23 to i64*
store i64 %22, i64* %24, align 8, !insn.addr !17
%25 = inttoptr i64 %22 to i8*, !insn.addr !18
store i8 0, i8* %25, align 1, !insn.addr !18
store i64* %24, i64** %.pre-phi2.reg2mem, !insn.addr !18
br label %dec_label_pc_a1, !insn.addr !18
dec_label_pc_a1: ; preds = %dec_label_pc_30.dec_label_pc_a1_crit_edge, %dec_label_pc_8c
%.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem
%26 = add i64 %1, -112, !insn.addr !19
%27 = call i64 @memset(i64 %26, i64 67, i64 99, i64 %arg4), !insn.addr !20
%28 = add i64 %1, -13, !insn.addr !21
%29 = inttoptr i64 %28 to i8*, !insn.addr !21
store i8 0, i8* %29, align 1, !insn.addr !21
%30 = load i64, i64* %.pre-phi2.reload, align 8, !insn.addr !15
%31 = call i64 @strncpy(i64 %30, i64 %26, i64 99, i64 %26), !insn.addr !22
%32 = load i64, i64* %.pre-phi2.reload, align 8, !insn.addr !23
%33 = add i64 %32, 99, !insn.addr !24
%34 = inttoptr i64 %33 to i8*, !insn.addr !25
store i8 0, i8* %34, align 1, !insn.addr !25
%35 = load i64, i64* %.pre-phi2.reload, align 8, !insn.addr !26
%36 = call i64 @printLine(i64 %35, i64 %26, i64 99, i64 %26), !insn.addr !27
%37 = add i64 %1, -8, !insn.addr !28
%38 = inttoptr i64 %37 to i64*, !insn.addr !28
%39 = load i64, i64* %38, align 8, !insn.addr !28
%40 = call i64 @__readfsqword(i64 40), !insn.addr !29
%41 = icmp eq i64 %39, %40, !insn.addr !29
store i64 0, i64* %rax.0.reg2mem, !insn.addr !30
br i1 %41, label %dec_label_pc_108, label %dec_label_pc_103, !insn.addr !30
dec_label_pc_103: ; preds = %dec_label_pc_a1
%42 = call i64 @__stack_chk_fail(), !insn.addr !31
store i64 %42, i64* %rax.0.reg2mem, !insn.addr !31
br label %dec_label_pc_108, !insn.addr !31
dec_label_pc_108: ; preds = %dec_label_pc_103, %dec_label_pc_a1
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload, !insn.addr !32
}
define i64 @goodG2B1() local_unnamed_addr {
dec_label_pc_10a:
%0 = alloca i64
%rax.0.reg2mem = alloca i64, !insn.addr !33
%stack_var_-120 = alloca i64, align 8
%1 = load i64, i64* %0
%2 = call i64 @__readfsqword(i64 40), !insn.addr !34
%3 = call i64 @printLine(i64 ptrtoint ([21 x i8]* @global_var_34c to i64), i64 ptrtoint (i128* @global_var_10 to i64), i64 trunc (i128 urem (i128 zext (i64 add (i64 sub (i64 ptrtoint (i128* @global_var_10 to i64), i64 1), i64 115) to i128), i128 zext (i64 ptrtoint (i128* @global_var_10 to i64) to i128)) to i64), i64 ptrtoint (i128* @global_var_10 to i64)), !insn.addr !35
%4 = ptrtoint i64* %stack_var_-120 to i64, !insn.addr !36
%5 = call i64 @memset(i64 %4, i64 67, i64 99, i64 ptrtoint (i128* @global_var_10 to i64)), !insn.addr !37
%6 = call i64 @strncpy(i64 %1, i64 %4, i64 99, i64 %4), !insn.addr !38
%7 = add i64 %1, 99, !insn.addr !39
%8 = inttoptr i64 %7 to i8*, !insn.addr !40
store i8 0, i8* %8, align 1, !insn.addr !40
%9 = call i64 @printLine(i64 %1, i64 %4, i64 99, i64 %4), !insn.addr !41
%10 = call i64 @__readfsqword(i64 40), !insn.addr !42
%11 = icmp eq i64 %2, %10, !insn.addr !42
store i64 0, i64* %rax.0.reg2mem, !insn.addr !43
br i1 %11, label %dec_label_pc_220, label %dec_label_pc_21b, !insn.addr !43
dec_label_pc_21b: ; preds = %dec_label_pc_10a
%12 = call i64 @__stack_chk_fail(), !insn.addr !44
store i64 %12, i64* %rax.0.reg2mem, !insn.addr !44
br label %dec_label_pc_220, !insn.addr !44
dec_label_pc_220: ; preds = %dec_label_pc_21b, %dec_label_pc_10a
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload, !insn.addr !45
}
define i64 @goodG2B2() local_unnamed_addr {
dec_label_pc_222:
%rax.0.reg2mem = alloca i64, !insn.addr !46
%stack_var_-144.0.reg2mem = alloca i64, !insn.addr !46
%stack_var_-120 = alloca i64, align 8
%stack_var_-152 = alloca i64, align 8
%0 = call i64 @__readfsqword(i64 40), !insn.addr !47
%1 = load i32, i32* @global_var_348, align 4, !insn.addr !48
%2 = icmp eq i32 %1, 0, !insn.addr !49
br i1 %2, label %dec_label_pc_2c3, label %dec_label_pc_2ae, !insn.addr !50
dec_label_pc_2ae: ; preds = %dec_label_pc_222
%3 = ptrtoint i64* %stack_var_-152 to i64, !insn.addr !51
%4 = add i64 %3, add (i64 ptrtoint ([3 x i8]* @global_var_f to i64), i64 add (i64 sub (i64 0, i64 trunc (i128 mul (i128 sext (i64 trunc (i128 udiv (i128 zext (i64 add (i64 sub (i64 ptrtoint (i128* @global_var_10 to i64), i64 1), i64 115) to i128), i128 zext (i64 ptrtoint (i128* @global_var_10 to i64) to i128)) to i64) to i128), i128 ptrtoint (i128* @global_var_10 to i128)) to i64)), i64 sub (i64 0, i64 trunc (i128 mul (i128 sext (i64 trunc (i128 udiv (i128 zext (i64 add (i64 sub (i64 ptrtoint (i128* @global_var_10 to i64), i64 1), i64 65) to i128), i128 zext (i64 ptrtoint (i128* @global_var_10 to i64) to i128)) to i64) to i128), i128 ptrtoint (i128* @global_var_10 to i128)) to i64)))), !insn.addr !52
%5 = and i64 %4, -16, !insn.addr !53
%6 = inttoptr i64 %5 to i8*, !insn.addr !54
store i8 0, i8* %6, align 16, !insn.addr !55
store i64 %5, i64* %stack_var_-144.0.reg2mem, !insn.addr !55
br label %dec_label_pc_2c3, !insn.addr !55
dec_label_pc_2c3: ; preds = %dec_label_pc_2ae, %dec_label_pc_222
%stack_var_-144.0.reload = load i64, i64* %stack_var_-144.0.reg2mem
%7 = ptrtoint i64* %stack_var_-120 to i64, !insn.addr !56
%8 = call i64 @memset(i64 %7, i64 67, i64 99, i64 ptrtoint (i128* @global_var_10 to i64)), !insn.addr !57
%9 = call i64 @strncpy(i64 %stack_var_-144.0.reload, i64 %7, i64 99, i64 %7), !insn.addr !58
%10 = add i64 %stack_var_-144.0.reload, 99, !insn.addr !59
%11 = inttoptr i64 %10 to i8*, !insn.addr !60
store i8 0, i8* %11, align 1, !insn.addr !60
%12 = call i64 @printLine(i64 %stack_var_-144.0.reload, i64 %7, i64 99, i64 %7), !insn.addr !61
%13 = call i64 @__readfsqword(i64 40), !insn.addr !62
%14 = icmp eq i64 %0, %13, !insn.addr !62
store i64 0, i64* %rax.0.reg2mem, !insn.addr !63
br i1 %14, label %dec_label_pc_32a, label %dec_label_pc_325, !insn.addr !63
dec_label_pc_325: ; preds = %dec_label_pc_2c3
%15 = call i64 @__stack_chk_fail(), !insn.addr !64
store i64 %15, i64* %rax.0.reg2mem, !insn.addr !64
br label %dec_label_pc_32a, !insn.addr !64
dec_label_pc_32a: ; preds = %dec_label_pc_325, %dec_label_pc_2c3
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload, !insn.addr !65
}
define i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_alloca_ncpy_05_good() local_unnamed_addr {
dec_label_pc_32c:
%0 = call i64 @goodG2B1(), !insn.addr !66
%1 = call i64 @goodG2B2(), !insn.addr !67
ret i64 %1, !insn.addr !68
}
declare i64 @memset(i64, i64, i64, i64) local_unnamed_addr
declare i64 @strncpy(i64, i64, i64, i64) local_unnamed_addr
declare i64 @printLine(i64, i64, i64, i64) local_unnamed_addr
declare i64 @__stack_chk_fail() local_unnamed_addr
declare i64 @__asm_int1() local_unnamed_addr
declare i64 @__readfsqword(i64) local_unnamed_addr
!0 = !{i64 11}
!1 = !{i64 35}
!2 = !{i64 48}
!3 = !{i64 51}
!4 = !{i64 52}
!5 = !{i64 56}
!6 = !{i64 62}
!7 = !{i64 66}
!8 = !{i64 74}
!9 = !{i64 114}
!10 = !{i64 118}
!11 = !{i64 126}
!12 = !{i64 130}
!13 = !{i64 136}
!14 = !{i64 138}
!15 = !{i64 191}
!16 = !{i64 140}
!17 = !{i64 144}
!18 = !{i64 158}
!19 = !{i64 161}
!20 = !{i64 178}
!21 = !{i64 183}
!22 = !{i64 209}
!23 = !{i64 214}
!24 = !{i64 221}
!25 = !{i64 225}
!26 = !{i64 228}
!27 = !{i64 238}
!28 = !{i64 244}
!29 = !{i64 248}
!30 = !{i64 257}
!31 = !{i64 259}
!32 = !{i64 265}
!33 = !{i64 266}
!34 = !{i64 277}
!35 = !{i64 413}
!36 = !{i64 455}
!37 = !{i64 458}
!38 = !{i64 489}
!39 = !{i64 501}
!40 = !{i64 505}
!41 = !{i64 518}
!42 = !{i64 528}
!43 = !{i64 537}
!44 = !{i64 539}
!45 = !{i64 545}
!46 = !{i64 546}
!47 = !{i64 557}
!48 = !{i64 676}
!49 = !{i64 682}
!50 = !{i64 684}
!51 = !{i64 550}
!52 = !{i64 660}
!53 = !{i64 664}
!54 = !{i64 672}
!55 = !{i64 704}
!56 = !{i64 721}
!57 = !{i64 724}
!58 = !{i64 755}
!59 = !{i64 767}
!60 = !{i64 771}
!61 = !{i64 784}
!62 = !{i64 794}
!63 = !{i64 803}
!64 = !{i64 805}
!65 = !{i64 811}
!66 = !{i64 821}
!67 = !{i64 831}
!68 = !{i64 838}
### Assistant: @staticTrue = internal global i32 1, align 4
@staticFalse = internal global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Benign, fixed string\00", align 1
; Function Attrs: noinline nounwind optnone uwtable
define dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_alloca_ncpy_05_bad() #0 {
entry:
%data = alloca i8*, align 8
%dataBadBuffer = alloca i8*, align 8
%dataGoodBuffer = alloca i8*, align 8
%source = alloca [100 x i8], align 16
%0 = alloca i8, i64 50, align 16
store i8* %0, i8** %dataBadBuffer, align 8
%1 = alloca i8, i64 100, align 16
store i8* %1, i8** %dataGoodBuffer, align 8
%2 = load i32, i32* @staticTrue, align 4
%tobool = icmp ne i32 %2, 0
br i1 %tobool, label %if.then, label %if.end
if.then: ; preds = %entry
%3 = load i8*, i8** %dataBadBuffer, align 8
store i8* %3, i8** %data, align 8
%4 = load i8*, i8** %data, align 8
%arrayidx = getelementptr inbounds i8, i8* %4, i64 0
store i8 0, i8* %arrayidx, align 1
br label %if.end
if.end: ; preds = %if.then, %entry
%arraydecay = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 0
call void @llvm.memset.p0i8.i64(i8* align 16 %arraydecay, i8 67, i64 99, i1 false)
%arrayidx1 = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 99
store i8 0, i8* %arrayidx1, align 1
%5 = load i8*, i8** %data, align 8
%arraydecay2 = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 0
%call = call i8* @strncpy(i8* %5, i8* %arraydecay2, i64 99) #4
%6 = load i8*, i8** %data, align 8
%arrayidx3 = getelementptr inbounds i8, i8* %6, i64 99
store i8 0, i8* %arrayidx3, align 1
%7 = load i8*, i8** %data, align 8
call void @printLine(i8* %7)
ret void
}
; Function Attrs: argmemonly nounwind willreturn writeonly
declare void @llvm.memset.p0i8.i64(i8* nocapture writeonly, i8, i64, i1 immarg) #1
; Function Attrs: nounwind
declare dso_local i8* @strncpy(i8*, i8*, i64) #2
declare dso_local void @printLine(i8*) #3
; Function Attrs: noinline nounwind optnone uwtable
define dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_alloca_ncpy_05_good() #0 {
entry:
call void @goodG2B1()
call void @goodG2B2()
ret void
}
; Function Attrs: noinline nounwind optnone uwtable
define internal void @goodG2B1() #0 {
entry:
%data = alloca i8*, align 8
%dataBadBuffer = alloca i8*, align 8
%dataGoodBuffer = alloca i8*, align 8
%source = alloca [100 x i8], align 16
%0 = alloca i8, i64 50, align 16
store i8* %0, i8** %dataBadBuffer, align 8
%1 = alloca i8, i64 100, align 16
store i8* %1, i8** %dataGoodBuffer, align 8
%2 = load i32, i32* @staticFalse, align 4
%tobool = icmp ne i32 %2, 0
br i1 %tobool, label %if.then, label %if.else
if.then: ; preds = %entry
call void @printLine(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
br label %if.end
if.else: ; preds = %entry
%3 = load i8*, i8** %dataGoodBuffer, align 8
store i8* %3, i8** %data, align 8
%4 = load i8*, i8** %data, align 8
%arrayidx = getelementptr inbounds i8, i8* %4, i64 0
store i8 0, i8* %arrayidx, align 1
br label %if.end
if.end: ; preds = %if.else, %if.then
%arraydecay = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 0
call void @llvm.memset.p0i8.i64(i8* align 16 %arraydecay, i8 67, i64 99, i1 false)
%arrayidx1 = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 99
store i8 0, i8* %arrayidx1, align 1
%5 = load i8*, i8** %data, align 8
%arraydecay2 = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 0
%call = call i8* @strncpy(i8* %5, i8* %arraydecay2, i64 99) #4
%6 = load i8*, i8** %data, align 8
%arrayidx3 = getelementptr inbounds i8, i8* %6, i64 99
store i8 0, i8* %arrayidx3, align 1
%7 = load i8*, i8** %data, align 8
call void @printLine(i8* %7)
ret void
}
; Function Attrs: noinline nounwind optnone uwtable
define internal void @goodG2B2() #0 {
entry:
%data = alloca i8*, align 8
%dataBadBuffer = alloca i8*, align 8
%dataGoodBuffer = alloca i8*, align 8
%source = alloca [100 x i8], align 16
%0 = alloca i8, i64 50, align 16
store i8* %0, i8** %dataBadBuffer, align 8
%1 = alloca i8, i64 100, align 16
store i8* %1, i8** %dataGoodBuffer, align 8
%2 = load i32, i32* @staticTrue, align 4
%tobool = icmp ne i32 %2, 0
br i1 %tobool, label %if.then, label %if.end
if.then: ; preds = %entry
%3 = load i8*, i8** %dataGoodBuffer, align 8
store i8* %3, i8** %data, align 8
%4 = load i8*, i8** %data, align 8
%arrayidx = getelementptr inbounds i8, i8* %4, i64 0
store i8 0, i8* %arrayidx, align 1
br label %if.end
if.end: ; preds = %if.then, %entry
%arraydecay = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 0
call void @llvm.memset.p0i8.i64(i8* align 16 %arraydecay, i8 67, i64 99, i1 false)
%arrayidx1 = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 99
store i8 0, i8* %arrayidx1, align 1
%5 = load i8*, i8** %data, align 8
%arraydecay2 = getelementptr inbounds [100 x i8], [100 x i8]* %source, i64 0, i64 0
%call = call i8* @strncpy(i8* %5, i8* %arraydecay2, i64 99) #4
%6 = load i8*, i8** %data, align 8
%arrayidx3 = getelementptr inbounds i8, i8* %6, i64 99
store i8 0, i8* %arrayidx3, align 1
%7 = load i8*, i8** %data, align 8
call void @printLine(i8* %7)
ret void
}
attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { argmemonly nounwind willreturn writeonly }
attributes #2 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #3 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{!"clang version 11.1.0"}
|
### Human: Refine the following lifted llvm ir, target datalayout = "e-m:e-p:64:64-i64:64-f80:128-n8:16:32:64-S128"
define i64 @_GLOBAL_OFFSET_TABLE_.1(i64 %arg1) local_unnamed_addr {
dec_label_pc_0:
%0 = call i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_badSink(i64 %arg1), !insn.addr !0
ret i64 %0, !insn.addr !1
}
define i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54b_goodG2BSink(i64 %arg1) local_unnamed_addr {
dec_label_pc_1b:
%0 = call i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_goodG2BSink(i64 %arg1), !insn.addr !2
ret i64 %0, !insn.addr !3
}
declare i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_badSink(i64) local_unnamed_addr
declare i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_goodG2BSink(i64) local_unnamed_addr
!0 = !{i64 19}
!1 = !{i64 26}
!2 = !{i64 46}
!3 = !{i64 53}
### Assistant: ; Function Attrs: noinline nounwind optnone uwtable
define dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54b_badSink(i8* %data) #0 {
entry:
%data.addr = alloca i8*, align 8
store i8* %data, i8** %data.addr, align 8
%0 = load i8*, i8** %data.addr, align 8
call void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_badSink(i8* %0)
ret void
}
declare dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_badSink(i8*) #1
; Function Attrs: noinline nounwind optnone uwtable
define dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54b_goodG2BSink(i8* %data) #0 {
entry:
%data.addr = alloca i8*, align 8
store i8* %data, i8** %data.addr, align 8
%0 = load i8*, i8** %data.addr, align 8
call void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_goodG2BSink(i8* %0)
ret void
}
declare dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_ncat_54c_goodG2BSink(i8*) #1
attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{!"clang version 11.1.0"}
|
### Human: Refine the following lifted llvm ir, target datalayout = "e-m:e-p:64:64-i64:64-f80:128-n8:16:32:64-S128"
@global_var_f = local_unnamed_addr constant [3 x i8] c"%(\00"
@global_var_220 = local_unnamed_addr global i64 0
@global_var_228 = local_unnamed_addr global i64 0
define i64 @_GLOBAL_OFFSET_TABLE_.1() local_unnamed_addr {
dec_label_pc_0:
%0 = call i64 @__readfsqword(i64 40), !insn.addr !0
%1 = load i64, i64* @global_var_220, align 8, !insn.addr !1
ret i64 %1, !insn.addr !2
}
define i64 @function_30(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
dec_label_pc_30:
%0 = alloca i64
%.reg2mem = alloca i64, !insn.addr !3
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %2 to i8
%4 = mul i8 %3, 2, !insn.addr !3
%5 = inttoptr i64 %2 to i8*, !insn.addr !3
store i8 %4, i8* %5, align 1, !insn.addr !3
%6 = add i64 %1, -832, !insn.addr !4
%7 = inttoptr i64 %6 to i32*, !insn.addr !4
%8 = load i32, i32* %7, align 4, !insn.addr !4
%9 = zext i32 %8 to i64, !insn.addr !4
%10 = mul i64 %9, 8, !insn.addr !5
%11 = add i64 %1, -816, !insn.addr !5
%12 = add i64 %10, %11, !insn.addr !5
%13 = inttoptr i64 %12 to i32*, !insn.addr !5
store i32 0, i32* %13, align 4, !insn.addr !5
%14 = inttoptr i64 %6 to i64*, !insn.addr !6
%15 = load i64, i64* %14, align 8, !insn.addr !6
%16 = mul i64 %15, 8, !insn.addr !7
%17 = add i64 %1, -812, !insn.addr !7
%18 = add i64 %17, %16, !insn.addr !7
%19 = inttoptr i64 %18 to i32*, !insn.addr !7
store i32 0, i32* %19, align 4, !insn.addr !7
%20 = load i64, i64* %14, align 8, !insn.addr !8
%21 = add i64 %20, 1, !insn.addr !8
store i64 %21, i64* %14, align 8, !insn.addr !8
%22 = add i64 %1, -824, !insn.addr !9
%23 = inttoptr i64 %22 to i64*, !insn.addr !9
%24 = load i64, i64* %23, align 8, !insn.addr !9
%25 = call i64 @memmove(i64 %24, i64 %11, i64 800, i64 %11), !insn.addr !10
%26 = load i64, i64* %23, align 8, !insn.addr !11
%27 = call i64 @printStructLine(i64 %26), !insn.addr !12
%28 = add i64 %1, -8, !insn.addr !13
%29 = inttoptr i64 %28 to i64*, !insn.addr !13
%30 = load i64, i64* %29, align 8, !insn.addr !13
%31 = call i64 @__readfsqword(i64 40), !insn.addr !14
%32 = icmp eq i64 %31, %30, !insn.addr !14
store i64 0, i64* %.reg2mem, !insn.addr !15
br i1 %32, label %dec_label_pc_ad, label %dec_label_pc_a8, !insn.addr !15
dec_label_pc_a8: ; preds = %dec_label_pc_30
%33 = call i64 @__stack_chk_fail(), !insn.addr !16
store i64 %33, i64* %.reg2mem, !insn.addr !16
br label %dec_label_pc_ad, !insn.addr !16
dec_label_pc_ad: ; preds = %dec_label_pc_a8, %dec_label_pc_30
%.reload = load i64, i64* %.reg2mem, !insn.addr !17
ret i64 %.reload, !insn.addr !17
}
define i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_bad() local_unnamed_addr {
dec_label_pc_af:
%rax.0.reg2mem = alloca i64, !insn.addr !18
%stack_var_-824 = alloca i64, align 8
%0 = call i64 @__readfsqword(i64 40), !insn.addr !19
%1 = ptrtoint i64* %stack_var_-824 to i64, !insn.addr !20
store i64 %1, i64* @global_var_220, align 8, !insn.addr !21
%2 = call i64 @_GLOBAL_OFFSET_TABLE_.1(), !insn.addr !22
%3 = call i64 @__readfsqword(i64 40), !insn.addr !23
%4 = icmp eq i64 %0, %3, !insn.addr !23
store i64 0, i64* %rax.0.reg2mem, !insn.addr !24
br i1 %4, label %dec_label_pc_104, label %dec_label_pc_ff, !insn.addr !24
dec_label_pc_ff: ; preds = %dec_label_pc_af
%5 = call i64 @__stack_chk_fail(), !insn.addr !25
store i64 %5, i64* %rax.0.reg2mem, !insn.addr !25
br label %dec_label_pc_104, !insn.addr !25
dec_label_pc_104: ; preds = %dec_label_pc_ff, %dec_label_pc_af
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload, !insn.addr !26
}
define i64 @goodG2BSink() local_unnamed_addr {
dec_label_pc_106:
%rax.0.reg2mem = alloca i64, !insn.addr !27
%storemerge1.reg2mem = alloca i64, !insn.addr !27
%stack_var_-824 = alloca i64, align 8
%stack_var_-8 = alloca i64, align 8
%0 = ptrtoint i64* %stack_var_-8 to i64, !insn.addr !28
%1 = call i64 @__readfsqword(i64 40), !insn.addr !29
%2 = load i64, i64* @global_var_228, align 8, !insn.addr !30
store i64 0, i64* %storemerge1.reg2mem
br label %dec_label_pc_13b
dec_label_pc_13b: ; preds = %dec_label_pc_13b, %dec_label_pc_106
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%3 = mul i64 %storemerge1.reload, 8, !insn.addr !31
%4 = add i64 %3, %0
%5 = add i64 %4, -816, !insn.addr !31
%6 = inttoptr i64 %5 to i32*, !insn.addr !31
store i32 0, i32* %6, align 8, !insn.addr !31
%7 = add i64 %4, -812, !insn.addr !32
%8 = inttoptr i64 %7 to i32*, !insn.addr !32
store i32 0, i32* %8, align 4, !insn.addr !32
%9 = add nuw nsw i64 %storemerge1.reload, 1, !insn.addr !33
%exitcond = icmp eq i64 %9, 100
store i64 %9, i64* %storemerge1.reg2mem, !insn.addr !34
br i1 %exitcond, label %dec_label_pc_171, label %dec_label_pc_13b, !insn.addr !34
dec_label_pc_171: ; preds = %dec_label_pc_13b
%10 = ptrtoint i64* %stack_var_-824 to i64, !insn.addr !35
%11 = call i64 @memmove(i64 %2, i64 %10, i64 800, i64 %10), !insn.addr !36
%12 = call i64 @printStructLine(i64 %2), !insn.addr !37
%13 = call i64 @__readfsqword(i64 40), !insn.addr !38
%14 = icmp eq i64 %1, %13, !insn.addr !38
store i64 0, i64* %rax.0.reg2mem, !insn.addr !39
br i1 %14, label %dec_label_pc_1b3, label %dec_label_pc_1ae, !insn.addr !39
dec_label_pc_1ae: ; preds = %dec_label_pc_171
%15 = call i64 @__stack_chk_fail(), !insn.addr !40
store i64 %15, i64* %rax.0.reg2mem, !insn.addr !40
br label %dec_label_pc_1b3, !insn.addr !40
dec_label_pc_1b3: ; preds = %dec_label_pc_1ae, %dec_label_pc_171
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload, !insn.addr !41
}
define i64 @goodG2B() local_unnamed_addr {
dec_label_pc_1b5:
%rax.0.reg2mem = alloca i64, !insn.addr !42
%stack_var_-824 = alloca i64, align 8
%0 = call i64 @__readfsqword(i64 40), !insn.addr !43
%1 = ptrtoint i64* %stack_var_-824 to i64, !insn.addr !44
store i64 %1, i64* @global_var_228, align 8, !insn.addr !45
%2 = call i64 @goodG2BSink(), !insn.addr !46
%3 = call i64 @__readfsqword(i64 40), !insn.addr !47
%4 = icmp eq i64 %0, %3, !insn.addr !47
store i64 0, i64* %rax.0.reg2mem, !insn.addr !48
br i1 %4, label %dec_label_pc_20a, label %dec_label_pc_205, !insn.addr !48
dec_label_pc_205: ; preds = %dec_label_pc_1b5
%5 = call i64 @__stack_chk_fail(), !insn.addr !49
store i64 %5, i64* %rax.0.reg2mem, !insn.addr !49
br label %dec_label_pc_20a, !insn.addr !49
dec_label_pc_20a: ; preds = %dec_label_pc_205, %dec_label_pc_1b5
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload, !insn.addr !50
}
define i64 @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_good() local_unnamed_addr {
dec_label_pc_20c:
%0 = call i64 @goodG2B(), !insn.addr !51
ret i64 %0, !insn.addr !52
}
declare i64 @memmove(i64, i64, i64, i64) local_unnamed_addr
declare i64 @printStructLine(i64) local_unnamed_addr
declare i64 @__stack_chk_fail() local_unnamed_addr
declare i64 @__readfsqword(i64) local_unnamed_addr
!0 = !{i64 11}
!1 = !{i64 26}
!2 = !{i64 33}
!3 = !{i64 48}
!4 = !{i64 54}
!5 = !{i64 60}
!6 = !{i64 71}
!7 = !{i64 78}
!8 = !{i64 89}
!9 = !{i64 114}
!10 = !{i64 132}
!11 = !{i64 137}
!12 = !{i64 147}
!13 = !{i64 153}
!14 = !{i64 157}
!15 = !{i64 166}
!16 = !{i64 168}
!17 = !{i64 174}
!18 = !{i64 175}
!19 = !{i64 186}
!20 = !{i64 208}
!21 = !{i64 222}
!22 = !{i64 234}
!23 = !{i64 244}
!24 = !{i64 253}
!25 = !{i64 255}
!26 = !{i64 261}
!27 = !{i64 262}
!28 = !{i64 263}
!29 = !{i64 273}
!30 = !{i64 288}
!31 = !{i64 322}
!32 = !{i64 340}
!33 = !{i64 351}
!34 = !{i64 367}
!35 = !{i64 369}
!36 = !{i64 394}
!37 = !{i64 409}
!38 = !{i64 419}
!39 = !{i64 428}
!40 = !{i64 430}
!41 = !{i64 436}
!42 = !{i64 437}
!43 = !{i64 448}
!44 = !{i64 470}
!45 = !{i64 484}
!46 = !{i64 496}
!47 = !{i64 506}
!48 = !{i64 515}
!49 = !{i64 517}
!50 = !{i64 523}
!51 = !{i64 533}
!52 = !{i64 540}
### Assistant: %struct._twoIntsStruct = type { i32, i32 }
@CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_badData = internal global %struct._twoIntsStruct* null, align 8
@CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_goodG2BData = internal global %struct._twoIntsStruct* null, align 8
; Function Attrs: noinline nounwind optnone uwtable
define dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_bad() #0 {
entry:
%data = alloca %struct._twoIntsStruct*, align 8
%dataBadBuffer = alloca [50 x %struct._twoIntsStruct], align 16
%dataGoodBuffer = alloca [100 x %struct._twoIntsStruct], align 16
%arraydecay = getelementptr inbounds [50 x %struct._twoIntsStruct], [50 x %struct._twoIntsStruct]* %dataBadBuffer, i64 0, i64 0
store %struct._twoIntsStruct* %arraydecay, %struct._twoIntsStruct** %data, align 8
%0 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** %data, align 8
store %struct._twoIntsStruct* %0, %struct._twoIntsStruct** @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_badData, align 8
call void @badSink()
ret void
}
; Function Attrs: noinline nounwind optnone uwtable
define dso_local void @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_good() #0 {
entry:
call void @goodG2B()
ret void
}
; Function Attrs: noinline nounwind optnone uwtable
define internal void @badSink() #0 {
entry:
%data = alloca %struct._twoIntsStruct*, align 8
%source = alloca [100 x %struct._twoIntsStruct], align 16
%i = alloca i64, align 8
%0 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_badData, align 8
store %struct._twoIntsStruct* %0, %struct._twoIntsStruct** %data, align 8
store i64 0, i64* %i, align 8
br label %for.cond
for.cond: ; preds = %for.inc, %entry
%1 = load i64, i64* %i, align 8
%cmp = icmp ult i64 %1, 100
br i1 %cmp, label %for.body, label %for.end
for.body: ; preds = %for.cond
%2 = load i64, i64* %i, align 8
%arrayidx = getelementptr inbounds [100 x %struct._twoIntsStruct], [100 x %struct._twoIntsStruct]* %source, i64 0, i64 %2
%intOne = getelementptr inbounds %struct._twoIntsStruct, %struct._twoIntsStruct* %arrayidx, i32 0, i32 0
store i32 0, i32* %intOne, align 8
%3 = load i64, i64* %i, align 8
%arrayidx1 = getelementptr inbounds [100 x %struct._twoIntsStruct], [100 x %struct._twoIntsStruct]* %source, i64 0, i64 %3
%intTwo = getelementptr inbounds %struct._twoIntsStruct, %struct._twoIntsStruct* %arrayidx1, i32 0, i32 1
store i32 0, i32* %intTwo, align 4
br label %for.inc
for.inc: ; preds = %for.body
%4 = load i64, i64* %i, align 8
%inc = add i64 %4, 1
store i64 %inc, i64* %i, align 8
br label %for.cond
for.end: ; preds = %for.cond
%5 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** %data, align 8
%6 = bitcast %struct._twoIntsStruct* %5 to i8*
%arraydecay = getelementptr inbounds [100 x %struct._twoIntsStruct], [100 x %struct._twoIntsStruct]* %source, i64 0, i64 0
%7 = bitcast %struct._twoIntsStruct* %arraydecay to i8*
call void @llvm.memmove.p0i8.p0i8.i64(i8* align 4 %6, i8* align 16 %7, i64 800, i1 false)
%8 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** %data, align 8
%arrayidx2 = getelementptr inbounds %struct._twoIntsStruct, %struct._twoIntsStruct* %8, i64 0
call void @printStructLine(%struct._twoIntsStruct* %arrayidx2)
ret void
}
; Function Attrs: argmemonly nounwind willreturn
declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i1 immarg) #1
declare dso_local void @printStructLine(%struct._twoIntsStruct*) #2
; Function Attrs: noinline nounwind optnone uwtable
define internal void @goodG2B() #0 {
entry:
%data = alloca %struct._twoIntsStruct*, align 8
%dataBadBuffer = alloca [50 x %struct._twoIntsStruct], align 16
%dataGoodBuffer = alloca [100 x %struct._twoIntsStruct], align 16
%arraydecay = getelementptr inbounds [100 x %struct._twoIntsStruct], [100 x %struct._twoIntsStruct]* %dataGoodBuffer, i64 0, i64 0
store %struct._twoIntsStruct* %arraydecay, %struct._twoIntsStruct** %data, align 8
%0 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** %data, align 8
store %struct._twoIntsStruct* %0, %struct._twoIntsStruct** @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_goodG2BData, align 8
call void @goodG2BSink()
ret void
}
; Function Attrs: noinline nounwind optnone uwtable
define internal void @goodG2BSink() #0 {
entry:
%data = alloca %struct._twoIntsStruct*, align 8
%source = alloca [100 x %struct._twoIntsStruct], align 16
%i = alloca i64, align 8
%0 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** @CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_declare_memmove_45_goodG2BData, align 8
store %struct._twoIntsStruct* %0, %struct._twoIntsStruct** %data, align 8
store i64 0, i64* %i, align 8
br label %for.cond
for.cond: ; preds = %for.inc, %entry
%1 = load i64, i64* %i, align 8
%cmp = icmp ult i64 %1, 100
br i1 %cmp, label %for.body, label %for.end
for.body: ; preds = %for.cond
%2 = load i64, i64* %i, align 8
%arrayidx = getelementptr inbounds [100 x %struct._twoIntsStruct], [100 x %struct._twoIntsStruct]* %source, i64 0, i64 %2
%intOne = getelementptr inbounds %struct._twoIntsStruct, %struct._twoIntsStruct* %arrayidx, i32 0, i32 0
store i32 0, i32* %intOne, align 8
%3 = load i64, i64* %i, align 8
%arrayidx1 = getelementptr inbounds [100 x %struct._twoIntsStruct], [100 x %struct._twoIntsStruct]* %source, i64 0, i64 %3
%intTwo = getelementptr inbounds %struct._twoIntsStruct, %struct._twoIntsStruct* %arrayidx1, i32 0, i32 1
store i32 0, i32* %intTwo, align 4
br label %for.inc
for.inc: ; preds = %for.body
%4 = load i64, i64* %i, align 8
%inc = add i64 %4, 1
store i64 %inc, i64* %i, align 8
br label %for.cond
for.end: ; preds = %for.cond
%5 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** %data, align 8
%6 = bitcast %struct._twoIntsStruct* %5 to i8*
%arraydecay = getelementptr inbounds [100 x %struct._twoIntsStruct], [100 x %struct._twoIntsStruct]* %source, i64 0, i64 0
%7 = bitcast %struct._twoIntsStruct* %arraydecay to i8*
call void @llvm.memmove.p0i8.p0i8.i64(i8* align 4 %6, i8* align 16 %7, i64 800, i1 false)
%8 = load %struct._twoIntsStruct*, %struct._twoIntsStruct** %data, align 8
%arrayidx2 = getelementptr inbounds %struct._twoIntsStruct, %struct._twoIntsStruct* %8, i64 0
call void @printStructLine(%struct._twoIntsStruct* %arrayidx2)
ret void
}
attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { argmemonly nounwind willreturn }
attributes #2 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{!"clang version 11.1.0"}
|
"### Human: Refine the following lifted llvm ir, target datalayout = \"e-m:e-p:64:64-i64:64-f80:128-(...TRUNCATED) |
"### Human: Refine the following lifted llvm ir, target datalayout = \"e-m:e-p:64:64-i64:64-f80:128-(...TRUNCATED) |
"### Human: Refine the following lifted llvm ir, target datalayout = \"e-m:e-p:64:64-i64:64-f80:128-(...TRUNCATED) |
"### Human: Refine the following lifted llvm ir, target datalayout = \"e-m:e-p:64:64-i64:64-f80:128-(...TRUNCATED) |
"### Human: Refine the following lifted llvm ir, target datalayout = \"e-m:e-p:64:64-i64:64-f80:128-(...TRUNCATED) |
"### Human: Refine the following lifted llvm ir, target datalayout = \"e-m:e-p:64:64-i64:64-f80:128-(...TRUNCATED) |
"### Human: Refine the following lifted llvm ir, target datalayout = \"e-m:e-p:64:64-i64:64-f80:128-(...TRUNCATED) |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 30