e4575a6b1e
Merge branch 'master' into vmlinux-working
2025-10-10 22:55:51 +05:30
3ec3ab30fe
add vmlinux processor to codegen pipeline
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-10 22:54:14 +05:30
7fb3ecff48
initialise tbaa generation and vmlinux recursive importer modules
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-10 22:54:14 +05:30
ec59dad025
Refactor hist() calls to use dot notation
2025-10-10 22:54:13 +05:30
28b7b1620c
remove todos and move to projects on github.
2025-10-10 22:54:13 +05:30
9f8e240a38
add patch for Kernel 6.14 BTF
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-10 22:54:12 +05:30
e6c05ab494
Update TODO.md
2025-10-10 22:54:12 +05:30
8aa9cf7119
Add failing oneline IfExpr conditional test
2025-10-10 22:54:11 +05:30
9683e3799f
format chore
2025-10-10 22:54:11 +05:30
200d293750
add global symbol table populate function
2025-10-10 22:54:10 +05:30
ed196caebf
add global symbol table populate function
2025-10-10 22:54:10 +05:30
a049796b81
add failing test
2025-10-10 22:54:10 +05:30
384fc9dd40
changer order of passes
2025-10-10 22:54:09 +05:30
5f2df57e64
update globals test and todos.
2025-10-10 22:54:09 +05:30
130d8a9edc
format chore
2025-10-10 22:54:08 +05:30
40ae3d825a
fix broken IR generation logic for globals
2025-10-10 22:54:08 +05:30
484624104e
fix broken IR generation logic for globals
2025-10-10 22:54:07 +05:30
e7c4bdb150
add global support with broken generation function
2025-10-10 22:54:07 +05:30
7210366e7d
add global failing test
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-10 22:54:06 +05:30
435bf27176
Add compile to tests/failing_tests/conditionals/helper_cond.py
2025-10-10 22:54:06 +05:30
1ba27ac7cf
Remove completed short term goal from TODO.md
2025-10-10 22:54:05 +05:30
e4ddec3a02
Fix expr imports
2025-10-10 22:54:05 +05:30
bc7b5c97d1
Move handle_comparator to type_normalization
2025-10-10 22:54:05 +05:30
fa720f8e6b
Move convert_to_bool to type_normalization
2025-10-10 22:54:04 +05:30
eff0f66d95
Seperate type_normalization from expr_pass
2025-10-10 22:54:04 +05:30
b43c252224
Fix type_deducer import in expr
2025-10-10 22:54:03 +05:30
aae7aa981d
Fix expr imports
2025-10-10 22:54:03 +05:30
6f9a7301af
Rework dir structure for expr
2025-10-10 22:54:02 +05:30
48923d03d4
cleanup handle_cond in functions_pass
2025-10-10 22:54:02 +05:30
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
21ce041353
Refactor hist() calls to use dot notation
2025-10-10 20:45:07 +05:30
6402cf7be5
remove todos and move to projects on github.
2025-10-08 22:27:51 +05:30
9a96e1247b
Merge pull request #29 from pythonbpf/smol_pp
...
add patch for Kernel 6.14 BTF in transpiler
2025-10-08 21:47:49 +05:30
989134f4be
add patch for Kernel 6.14 BTF
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-08 21:47:02 +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