FEXOfflineCompile: Need to handle malformed noexec jumps
Open
- Dominant language
- C++
- Stars
- 8k
- Forks
- 351
- Avg merge
- 12h 31m
- Merged PRs (30d)
- 102
Description
While this might now show up in practice, a jump to a nx section in an elf should cause a NoExec instruction to be emitted. Permissions from the ELF will need to be passed through
Contributor guide
Research direction
Start by locating FEXOfflineCompile and tracing how ELF section permissions reach jump handling. Verify the behavior for jumps into NX sections and determine where a NoExec instruction should be emitted. Done means malformed noexec jumps are handled and ELF permissions are preserved in the resulting instructions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100