You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting at commit 31fcb13, BPatch_binaryEdit::writeFile() returns false and fails to instrument with StackMods when using stack diversification. Probing further reveals that writeFile() is returning false because AddressSpace::patch() is returning false.
Note that the problematic commit originally fixed #111, so we wouldn't want to just revert it. It is also possible that the problem originated with earlier changes to codegen-x86.C but was hidden by issue #111 until this commit.
Steps to reproduce
Needed files:
Everything in /p/paradyn/development/mm/projects/performStackMods
Everything in /p/paradyn/development/mm/projects/utils
/p/paradyn/development/mm/projects/bashrc
How to compile:
Copy necessary folders/files to your own machine. Keep the relative locations of the performStackMods folder and the utils folder the same.
Modify bashrc to point DYNINST_ROOT to your Dyninst install directory and TOOLS_ROOT to the directory containing the performStackMods and utils folders.
Execute . bashrc
Run make clean && make inside utils/getExecutableProcedures, utils/getFunction, and performStackMods/
How to run: ./performStackMods -b tonto-orig -o tonto-rewrite -v -d
The text was updated successfully, but these errors were encountered:
I can confirm this issue still exists at 7803215, I think it's likely the issue actually was introduced at the merge fae68e6. Also I'm not sure why but the reproducer is running really really slow on these older commits (runs taking about 20 minutes). @morehouse are there any smaller binaries that you can find that reproduce this issue?
Starting at commit 31fcb13, BPatch_binaryEdit::writeFile() returns false and fails to instrument with StackMods when using stack diversification. Probing further reveals that writeFile() is returning false because AddressSpace::patch() is returning false.
Note that the problematic commit originally fixed #111, so we wouldn't want to just revert it. It is also possible that the problem originated with earlier changes to codegen-x86.C but was hidden by issue #111 until this commit.
Steps to reproduce
Needed files:
How to compile:
. bashrc
make clean && make
inside utils/getExecutableProcedures, utils/getFunction, and performStackMods/How to run:
./performStackMods -b tonto-orig -o tonto-rewrite -v -d
The text was updated successfully, but these errors were encountered: