qilingframework / qilingframework/qiling
Default syscalls not implemented in Posix OS
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 798
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 9
Description
Using the Android binaries provided in the rootfs, Qiling stops because of tgkill and sigaltstack syscalls are not implemented.
The code snippet below must be added in the signal.py file which is defined for the Posix OS:
def ql_syscall_sigaltstack(ql: Qiling, ss: int, oss: int):
return 0
def ql_syscall_tgkill(ql: Qiling, tgid: int, tid: int, sig: int):
return 0
Contributor guide
No contributing guide indexed for this repository
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
Open qiling/os/posix/syscall/signal.py and locate the existing POSIX signal syscall handlers. Add the requested tgkill and sigaltstack handlers, then verify that the Android binaries from the rootfs no longer stop on these syscalls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems, reverse-engineering
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100