1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package term;
import bil.Expression;
import bil.Variable;
import com.google.gson.annotations.SerializedName;
public class Def {
@SerializedName("lhs")
private Variable lhs;
@SerializedName("rhs")
private Expression rhs;
@SerializedName("pcode_index")
private int pcodeIndex;
public Def() {
}
public Def(Expression rhs, int pcodeIndex) {
this.setRhs(rhs);
this.setPcodeIndex(pcodeIndex);
}
public Def(Variable lhs, Expression rhs, int pcodeIndex) {
this.setLhs(lhs);
this.setRhs(rhs);
this.setPcodeIndex(pcodeIndex);
}
public Variable getLhs() {
return lhs;
}
public void setLhs(Variable lhs) {
this.lhs = lhs;
}
public Expression getRhs() {
return rhs;
}
public void setRhs(Expression rhs) {
this.rhs = rhs;
}
public int getPcodeIndex() {
return pcodeIndex;
}
public void setPcodeIndex(int pcodeIndex) {
this.pcodeIndex = pcodeIndex;
}
}