rr-debugger / rr-debugger/rr

Add support for the `init_module` x64 syscall?

Open
#2,607 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

Hi, the rr team

I've tried to record systemtap's staprun utility with rr on x86_64, but immediately ran into the lack of support for the init_module syscall:

https://gist.github.com/agentzh/d49d4ab3e77fc324685dc16179c98ea3

Any chance to get it supported? Many thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the x86_64 failure while recording systemtap's staprun utility, using the linked gist for the reported behavior. Then locate rr's syscall handling and compare how other supported syscalls are covered. Done means staprun can be recorded without the reported lack of init_module support.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
devtools, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.