019a83cf11
Add passing and.py test for conditionals
2025-10-10 22:54:01 +05:30
140d9e6e35
Add passing or.py test for conditionals
2025-10-10 22:54:01 +05:30
a351b0f1b5
Add _handle_or_or in expr_pass
2025-10-10 22:54:01 +05:30
3cb73ff0c3
Add _handle_and_op in expr_pass
2025-10-10 22:54:00 +05:30
3b08c2bede
Add handle_and and handle_or handling stub in eval_expr
2025-10-10 22:54:00 +05:30
86378d6cc4
Add BoolOp handling stub in eval_expr
2025-10-10 22:53:59 +05:30
00d1c583af
Add support for is and is not keywords
2025-10-10 22:53:59 +05:30
cfc246c80d
Add explanation notes to failing conditionals tests
2025-10-10 22:53:58 +05:30
f3c80f9e5f
Add helper_cond failing test for conditionals
2025-10-10 22:53:58 +05:30
0d3a5748dd
Move map_comp test to passing
2025-10-10 22:53:57 +05:30
079431754c
Add null checks for pointer derefs to avoid map_value_or_null verifier errors
2025-10-10 22:53:57 +05:30
46f5eca33d
Add _deref_to_depth in expr_pass
2025-10-10 22:53:56 +05:30
7081e939fb
Move _get_base_type to _get_base_type_and_depth
2025-10-10 22:53:56 +05:30
1e29460d6f
Add _get_base_type to expr_pass
2025-10-10 22:53:56 +05:30
e180a89644
Add _normalize_types to handle mismatched ints, move type_mismatch test to passing
2025-10-10 22:53:55 +05:30
34a267e982
Add type_mismatch failing test for conditionals
2025-10-10 22:53:55 +05:30
c81aad7c67
Add failing struct_ptr test for conditionals
2025-10-10 22:53:54 +05:30
2e677c2c7b
Fix struct_access in eval_expr, move struct_access conditional test to passing
2025-10-10 22:53:54 +05:30
4ea7b22b44
Add 'and' and 'or' BoolOps as future deliverables
2025-10-10 22:53:53 +05:30
b8b937bfca
Add failing test map_comp for conditionals
2025-10-10 22:53:53 +05:30
6cc29c4fa1
Add var_comp test for conditionals
2025-10-10 22:53:52 +05:30
5451ba646d
Add support for unary op 'not' in eval_expr, move not test to passing
2025-10-10 22:53:52 +05:30
7720437ca5
Add failing tests struct and not for conditionals
2025-10-10 22:53:52 +05:30
eb0a7a917d
Add map test to conditionals
2025-10-10 22:53:51 +05:30
6f65903552
Add var_binop test for conditionals
2025-10-10 22:53:51 +05:30
97e74d09be
Add var test for conditionals
2025-10-10 22:53:50 +05:30
9c7560ed2e
Add const_binop test for conditionals
2025-10-10 22:53:50 +05:30
2979ceedcf
Add const_int test for conditionals
2025-10-10 22:53:49 +05:30
745f59278f
Move conditional logic to eval_expr, add _conver_to_bool, add passing bool test
2025-10-10 22:53:49 +05:30
49c59b32ca
Add Boolean return support
2025-10-10 22:53:48 +05:30
ff78140a7d
Eval LHS and RHS in _handle_compare
2025-10-10 22:53:48 +05:30
82ff71b753
Add _handle_cond to expr_pass
2025-10-10 22:53:48 +05:30
f46e7cd846
Reduce a condition from handle_cond
2025-10-10 22:53:47 +05:30
9d73eb67c4
Add TODO for fixing struct_kioctx issue
2025-10-10 22:53:47 +05:30
b95fbd0ed0
rollback example
2025-10-08 14:53:51 +05:30
d84ce0c6fa
update helpers and change examples.
2025-10-08 13:57:09 +05:30
8d07a4cd05
add xdp struct to args
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-08 11:40:12 +05:30
1207730ce3
update vmlinux.py
2025-10-08 05:27:56 +05:30
0d9dcd122c
Merge pull request #27 from pythonbpf/vmlinux
...
Add vmlinux transpiler from experiments
2025-10-08 05:19:44 +05:30
8a69e05ee2
fix duplicate variable in example
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-08 05:18:49 +05:30
976af290af
Revert "format chore"
...
This reverts commit a3443ab1d5 .
2025-10-08 05:17:59 +05:30
a3443ab1d5
format chore
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-08 05:16:36 +05:30
a27360482b
complete vmlinux transpiler.
...
TODO: struct_kioctx for x86_64 vmlinux.h has anonymous structs that refused to transpile well, so an extra rule has been written to make only the structs of that external. Fix this in the future.
2025-10-08 05:15:29 +05:30
c423cc647d
add vmlinux.py transpiler from experiment repository
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-08 00:45:30 +05:30
8554688230
Merge pull request #25 from pythonbpf/dependabot/github_actions/actions-6a14be197d
...
Bump the actions group with 2 updates
2025-10-06 19:32:01 +05:30
3e873f378e
Bump the actions group with 2 updates
...
Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [actions/setup-python](https://github.com/actions/setup-python ).
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-06 11:26:23 +00:00
28ce14ce34
Merge pull request #24 from pythonbpf/func_refactor
...
Refactor handle_return
2025-10-06 05:12:20 +05:30
5066cd4cfe
Use named args for eval_expr call in handle_return
2025-10-06 05:11:33 +05:30
0bfb3855b6
Remove dead code from _handle_ctypes_call
2025-10-06 05:10:22 +05:30
2f0dd20f1e
Add false case for _handle_xdp in return_utils
2025-10-06 05:09:03 +05:30