Rather than doing this via a _new_ magic number, we should be checking the section name instead:
@CvvT is already working on this.
Since May 14, 2025.
- Dominant language
- Rust
- Stars
- 2.7k
- Forks
- 144
- Avg merge
- 12h 21m
- Merged PRs (30d)
- 146
Description
Rather than doing this via a new magic number, we should be checking the section name instead:
https://github.com/MSRSSP/litebox/blob/37db22002fbb7870a744e99c3bab3e75efea7e37/litebox_syscall_rewriter/src/lib.rs#L59-L67Pulling in the
linux_syscall_rewriteras a dependency is a bit too much (and problematic, due tostdreasons) just to get this constant, but copying this single constant string into this crate is perfectly fine. I think we can clean it up so that things stay in sync, but that can be a separate PR if need be.
Originally posted by @jaybosamiya-ms in https://github.com/MSRSSP/litebox/pull/103#discussion_r2074606643
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.
Assessment
This issue has not been assessed yet.