qilingframework / qilingframework/qiling
Do not support epoll mode
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 798
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 9
Description
When I tried to emulate an epoll-mode program which is on linux-c mipsel, the qiling engine came up with this:
[!] 0x90083df4: syscall ql_syscall_epoll_create number = 0x1098(4248) not implemented
[=] fcntl64(fd = 0x3, cmd = 0x3, arg = 0x0) = 0x2
[=] fcntl64(fd = 0x3, cmd = 0x4, arg = 0x82) = 0x0
[!] 0x90083e6c: syscall ql_syscall_epoll_ctl number = 0x1099(4249) not implemented
[=] rt_sigaction(signum = 0x2, act = 0x7ff3cc40, oldact = 0x9003ebc8) = 0x0
[=] rt_sigaction(signum = 0x12, act = 0x7ff3cc40, oldact = 0x9003ebe4) = 0x0
[=] clock_gettime(clock_id = 0x1, tp = 0x7ff3cc60) = 0x0
[Hit] waitpid
[=] my_waitpid(pid = 0xffffffff, wstatus = 0x7ff3cc88, options = 0x1) = 0x0
[=] clock_gettime(clock_id = 0x1, tp = 0x7ff3cc60) = 0x0
[!] 0x90083ee8: syscall ql_syscall_epoll_wait number = 0x109a(4250) not implemented
So I properly need to implement this by myself if I want to make through this
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
Start by locating Qiling's Linux/MIPS syscall handlers for epoll_create, epoll_ctl, and epoll_wait, then trace how the reported emulation reaches them. Re-run the Linux C MIPSEL program from the issue; done means these calls are handled without the shown “not implemented” messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- operating-systems, reverse-engineering
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100