Comments (2)
The root cause is that we our add_to_mem
implementation was optimized for x86/x64 and assumed that a memory adding gadget has to contain a memory read and memory write in the same instruction.
By rewriting the memory access merging algorithm (how to merge a read and a write into a memory change operation), now add_to_mem
works on arm.
The test case is integrated into CI as well.
The fix is here: dfe40d4
and here fc299a4
from angrop.
also, notice that in your case, most part of the libc is in fact in thumb mode. So, you might want to enableis_thumb
.
from angrop.
Related Issues (20)
- Regression: does not find syscall gadget with blob backend HOT 2
- keep gadgets with large stack shifts HOT 2
- x86_64 `ret 0x10` instructions not handled properly HOT 2
- x86 syscall instructions mis-identified HOT 3
- func_call gadget in mips
- `test_chainbuilder.test_arm_func_call` failing intermittently in CI
- Multiple Register Pops Not Working in ARM. HOT 3
- filter out privileged instructions HOT 5
- Bad Assumption About Rebasing Data Bytes in Chains against Binaries With PIE HOT 2
- write_to_mem Broken for 32 bit Binaries HOT 6
- TODO Features
- add_to_mem fails in main due to RopValue Type Error HOT 2
- add_to_mem causes angrop.errors.RopException: Does not get to a single unconstrained successor HOT 3
- stack pivot using rsp HOT 12
- LR Register Not Handled Well in Arm HOT 4
- rop.func_call() bug in ARM HOT 2
- Long Chains Timeout when calling chain.payload_str() HOT 2
- gets stuck while generating memory write chain HOT 1
- pop ds; ret gadgets are not properly handled. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angrop.