Skip to content

Capstone eBPF disassembly#6611

Merged
wargio merged 16 commits into
rizinorg:devfrom
Jagath-P:capstone-ebpf-disassembly
Jul 19, 2026
Merged

Capstone eBPF disassembly#6611
wargio merged 16 commits into
rizinorg:devfrom
Jagath-P:capstone-ebpf-disassembly

Conversation

@Jagath-P

@Jagath-P Jagath-P commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository.
  • I made sure to follow the project's coding style.
  • I've documented every RZ_API function and struct this PR changes.
  • I've added tests that prove my changes are effective (required for changes to RZ_API).
  • I've updated the Rizin book with the relevant information (if needed).
  • I've used AI tools to generate fully or partially these code changes and I'm sure the changes are not copyrighted by somebody else.

Detailed description

I have used AI for doing some repeated stuff like writing all instructions op types, I have manually checked each instruction after the use.

Closing issues
Closes ebpf part of #4757

...

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 58.70307% with 121 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.01%. Comparing base (faf4afc) to head (63fa3a0).

Files with missing lines Patch % Lines
librz/arch/p/analysis/analysis_bpf_cs.c 59.46% 85 Missing and 22 partials ⚠️
librz/arch/p/asm/asm_bpf_cs.c 51.72% 8 Missing and 6 partials ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
librz/arch/p/asm/asm_cbpf_cs.c 62.06% <ø> (ø)
librz/arch/p/asm/asm_bpf_cs.c 51.72% <51.72%> (ø)
librz/arch/p/analysis/analysis_bpf_cs.c 59.46% <59.46%> (ø)

... and 16 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update faf4afc...63fa3a0. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@notxvilka notxvilka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with few minor nitpicks

Comment thread subprojects/packagefiles/capstone-next/meson.build Outdated
Comment thread test/db/cmd/cmd_aL Outdated
Comment thread test/db/cmd/cmd_list Outdated
@Jagath-P Jagath-P changed the title Capstone ebpf disassembly Capstone eBPF disassembly Jul 13, 2026
@Jagath-P
Jagath-P force-pushed the capstone-ebpf-disassembly branch from 833ece6 to 9c473fa Compare July 13, 2026 13:30
@Jagath-P
Jagath-P requested a review from notxvilka July 13, 2026 15:33
@Jagath-P
Jagath-P force-pushed the capstone-ebpf-disassembly branch 2 times, most recently from b58d09a to b18314a Compare July 17, 2026 05:20
@Jagath-P
Jagath-P force-pushed the capstone-ebpf-disassembly branch from b18314a to 708cb31 Compare July 18, 2026 07:08
Comment thread librz/arch/p/analysis/analysis_bpf_cs.c
Comment thread librz/arch/p/analysis/analysis_bpf_cs.c Outdated
Comment thread librz/arch/p/asm/asm_bpf_cs.c

@wargio wargio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides those 3 comments, LGTM

@Jagath-P
Jagath-P force-pushed the capstone-ebpf-disassembly branch from 708cb31 to 63fa3a0 Compare July 18, 2026 11:20
@Jagath-P
Jagath-P requested a review from wargio July 18, 2026 12:08

@Rot127 Rot127 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@Jagath-P
Jagath-P force-pushed the capstone-ebpf-disassembly branch from 63fa3a0 to 47fdf3e Compare July 19, 2026 06:11
@wargio
wargio merged commit 1d03203 into rizinorg:dev Jul 19, 2026
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants