googleprojectzero / googleprojectzero/TinyInst
Android running error: Could not apply memory protection
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
I run it with root permissions on my Xiaomi phone, but I get this error. Selinux is also closed. The program is just a simple loop hello world. Is there any solution?
./litecov -instrument_module fuzz -trace_basic_blocks -patch_return_addresses -- test
[-] PROGRAM ABORT : Could not apply memory protection
Location : ExtractCodeRanges(), /.../TinyInst/Linux/debugger.cpp:1517
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported invocation and the failure in ExtractCodeRanges() at /.../TinyInst/Linux/debugger.cpp:1517. Reproduce the memory-protection error on the Xiaomi Android setup, then inspect the surrounding debugger logic and Android or SELinux constraints. Done means identifying whether the failure is supported and documenting or implementing a verified solution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp
- Domain
- devtools, operating-systems, reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100