Skip to content

Reduce far pointers to near in segmented code #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
133c1cf
Reduce far pointers to near in segmented code
GregoryMorse Jul 27, 2019
019daaa
Update coreaction.cc
GregoryMorse Jul 27, 2019
1d975bb
Update coreaction.cc
GregoryMorse Jul 27, 2019
40ae483
Update coreaction.cc
GregoryMorse Aug 3, 2019
b56d0bb
Update coreaction.cc
GregoryMorse Aug 4, 2019
4aea5d6
Update funcdata.hh
GregoryMorse Aug 4, 2019
ed765ca
Update funcdata_varnode.cc
GregoryMorse Aug 4, 2019
3298e4b
Update funcdata_varnode.cc
GregoryMorse Aug 4, 2019
c92b7ad
Update funcdata.hh
GregoryMorse Aug 4, 2019
df639b5
Update coreaction.cc
GregoryMorse Aug 4, 2019
a018e19
Update funcdata_varnode.cc
GregoryMorse Aug 4, 2019
7318b17
Update coreaction.cc
GregoryMorse Aug 4, 2019
97a372d
Update funcdata.hh
GregoryMorse Aug 5, 2019
d72a2ee
Update funcdata_varnode.cc
GregoryMorse Aug 5, 2019
0288c7b
Update coreaction.cc
GregoryMorse Aug 5, 2019
e1245cb
Update coreaction.cc
GregoryMorse Aug 5, 2019
deb5261
Update coreaction.cc
GregoryMorse Aug 5, 2019
3f039d9
Update coreaction.cc
GregoryMorse Aug 5, 2019
2775aa1
Update funcdata.hh
GregoryMorse Aug 6, 2019
2e4cc70
Update funcdata.cc
GregoryMorse Aug 6, 2019
cc7e98b
Update coreaction.cc
GregoryMorse Aug 6, 2019
6a1b8ce
Update funcdata.hh
GregoryMorse Aug 6, 2019
d7ab5f6
Update funcdata.cc
GregoryMorse Aug 6, 2019
72923b9
Update coreaction.cc
GregoryMorse Aug 6, 2019
1dde9ec
Update funcdata.hh
GregoryMorse Aug 6, 2019
f0eb342
Update funcdata.cc
GregoryMorse Aug 6, 2019
fb2c20f
Update coreaction.cc
GregoryMorse Aug 6, 2019
3934d71
Update coreaction.cc
GregoryMorse Aug 6, 2019
26d65c8
Update coreaction.cc
GregoryMorse Aug 6, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update coreaction.cc
  • Loading branch information
GregoryMorse authored Aug 5, 2019
commit 3f039d9ffec23d66a17fff0dfe7f6e544a247903
4 changes: 2 additions & 2 deletions Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ void ActionFuncLink::funcLinkInput(FuncCallSpecs *fc,Funcdata &data)
uintb off = param->getAddress().getOffset();
int4 sz = param->getSize();
if (spc->getType() == IPTR_SPACEBASE) { // Param is stack relative
Varnode *loadval = data.opStackLoad(spc, off, sz, op, (Varnode*)0, false);
Varnode *loadval = data.opStackLoad(spc,off,sz,op,(Varnode *)0,false);
data.opInsertInput(op,loadval,op->numInput());
if (!setplaceholder) {
setplaceholder = true;
Expand All @@ -1222,7 +1222,7 @@ void ActionFuncLink::funcLinkInput(FuncCallSpecs *fc,Funcdata &data)
}
}
else
data.opInsertInput(op,data.newVarnode(param->getSize(),param->getAddress()),op->numInput());
data.opInsertInput(op,data.newVarnode(param->getSize(),param->getAddress()),op->numInput());
}
}
if (spacebase != (AddrSpace *)0) { // If we need it, create the stackplaceholder
Expand Down