Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
pythonbpf
/
Python-BPF
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
243
Code
Issues
22
Pull requests
4
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Refactor handle_return
- #24
#24
Merged
r41k0u
merged 24 commits into
master
pythonbpf/Python-BPF:master
from
func_refactor
pythonbpf/Python-BPF:func_refactor
Copy head branch name to clipboard
Oct 5, 2025
Conversation
Commits
24
(24)
Checks
Files changed
Merged
Refactor handle_return
#24
r41k0u
merged 24 commits into
master
pythonbpf/Python-BPF:master
from
func_refactor
pythonbpf/Python-BPF:func_refactor
Copy head branch name to clipboard
Commits
Commits on Oct 5, 2025
Restructure dir for functions
r41k0u
committed
dc7a127
View commit details
Copy full SHA for dc7a127
Browse repository at this point
Janitorial: fix lint
r41k0u
committed
ceaac78
View commit details
Copy full SHA for ceaac78
Browse repository at this point
Add StatementHandlerRegistry
r41k0u
committed
b09dc81
View commit details
Copy full SHA for b09dc81
Browse repository at this point
Use getitem dunder for StatementHandlerRegistry
r41k0u
committed
d0a8e96
View commit details
Copy full SHA for d0a8e96
Browse repository at this point
Make handle_return (crude for now)
r41k0u
committed
e9f3aa2
View commit details
Copy full SHA for e9f3aa2
Browse repository at this point
Remove useless args from handle_return
r41k0u
committed
f96a6b9
View commit details
Copy full SHA for f96a6b9
Browse repository at this point
Add _handle_none_return
r41k0u
committed
a21ff56
View commit details
Copy full SHA for a21ff56
Browse repository at this point
Add _handle_xdp_return
r41k0u
committed
6f02b61
View commit details
Copy full SHA for 6f02b61
Browse repository at this point
Add _handle_typed_constant_return
r41k0u
committed
192e03a
View commit details
Copy full SHA for 192e03a
Browse repository at this point
Add _handle_binop_return
r41k0u
committed
c6fef16
View commit details
Copy full SHA for c6fef16
Browse repository at this point
Add _handle_variable_return
r41k0u
committed
23183da
View commit details
Copy full SHA for 23183da
Browse repository at this point
Add _handle_wrapped_return
r41k0u
committed
f08bc99
View commit details
Copy full SHA for f08bc99
Browse repository at this point
Move XDP pass above general return handling
r41k0u
committed
e4e9271
View commit details
Copy full SHA for e4e9271
Browse repository at this point
Add _is_xdp_name
r41k0u
committed
e6e2a69
View commit details
Copy full SHA for e6e2a69
Browse repository at this point
Add binops to eval_expr
r41k0u
committed
02885af
View commit details
Copy full SHA for 02885af
Browse repository at this point
Add ctypes in eval_expr
r41k0u
committed
f53ca3b
View commit details
Copy full SHA for f53ca3b
Browse repository at this point
Remove clutter from handle_return
r41k0u
committed
b75dc82
View commit details
Copy full SHA for b75dc82
Browse repository at this point
Add passing test examples for return statements
r41k0u
committed
3e68d6d
View commit details
Copy full SHA for 3e68d6d
Browse repository at this point
Add xdp example for passing return type
r41k0u
committed
7b0e8a2
View commit details
Copy full SHA for 7b0e8a2
Browse repository at this point
Remove unnecessary parts from return_utils
r41k0u
committed
9aff614
View commit details
Copy full SHA for 9aff614
Browse repository at this point
Remove redundant TODO from return_utils
r41k0u
committed
abef68c
View commit details
Copy full SHA for abef68c
Browse repository at this point
Add false case for _handle_xdp in return_utils
r41k0u
committed
2f0dd20
View commit details
Copy full SHA for 2f0dd20
Browse repository at this point
Remove dead code from _handle_ctypes_call
r41k0u
committed
0bfb385
View commit details
Copy full SHA for 0bfb385
Browse repository at this point
Use named args for eval_expr call in handle_return
r41k0u
committed
5066cd4
View commit details
Copy full SHA for 5066cd4
Browse repository at this point
You can’t perform that action at this time.