Let segmentop scripts follow natural parameter order

This commit is contained in:
caheckman 2021-07-27 14:31:12 -04:00
parent 8253b21bab
commit 05f292a5e7
10 changed files with 15 additions and 15 deletions

View file

@ -127,8 +127,8 @@ void EmulatePcodeOp::executeSegmentOp(void)
uintb in1 = getVarnodeValue(currentOp->getIn(1));
uintb in2 = getVarnodeValue(currentOp->getIn(2));
vector<uintb> bindlist;
bindlist.push_back(in2);
bindlist.push_back(in1);
bindlist.push_back(in2);
uintb res = segdef->execute(bindlist);
setVarnodeValue(currentOp->getOut(), res);
}