patcherex
patcherex copied to clipboard
Shellphish's automated patching engine, originally created for the Cyber Grand Challenge.
We would like to remove compilerex from the integrated angr CI. Doing so would mean dropping the dependency in this repository. We should merge in whatever functionality is needed here...
This PR fixes the movable instructions computation in the x86-64 detour backend (and thus potentially fix #47). Currently, only the last instruction in the block is check if movable or...
### Description Hello, a simple binary I'm trying to patch segfaults. I believe this is due to some RIP relative addressing issue. The code I'm trying to patch in is...
### Description This test fails frequently in CI. The immediate cause is a timeout from Z3. This should be investigated and fixed if possible, or the test should be rewritten...
### Question ```python from patcherex.backends.detourbackend import DetourBackend from patcherex.patches import * backend = DetourBackend("bin") patches = [] injected_code = ''' mov rdi, 0x200 call malloc ''' patches.append(InsertCodePatch(0x0001eeb + 0x400000,injected_code,name="fix_bo")) backend.apply_patches(patches)...
The current install instructions simply don't work, two issues have been opened about them but the README.md still hasn't been adjusted accordingly. https://github.com/angr/patcherex/issues/4 https://github.com/angr/patcherex/issues/10