Commit Graph

  • 1843ca6c53 Add failing struct_ptr test for conditionals Pragyansh Chaturvedi 2025-10-07 13:42:58 +05:30
  • caa5d92c32 Fix struct_access in eval_expr, move struct_access conditional test to passing Pragyansh Chaturvedi 2025-10-07 13:35:31 +05:30
  • f41693bc6d Add 'and' and 'or' BoolOps as future deliverables Pragyansh Chaturvedi 2025-10-07 05:27:31 +05:30
  • b7092fa362 Add failing test map_comp for conditionals Pragyansh Chaturvedi 2025-10-07 05:20:43 +05:30
  • 0e7dcafbab Add var_comp test for conditionals Pragyansh Chaturvedi 2025-10-07 05:02:26 +05:30
  • a574527891 Add support for unary op 'not' in eval_expr, move not test to passing Pragyansh Chaturvedi 2025-10-07 04:49:45 +05:30
  • 176673017c Add failing tests struct and not for conditionals Pragyansh Chaturvedi 2025-10-07 04:17:26 +05:30
  • 1d6226d829 Add map test to conditionals Pragyansh Chaturvedi 2025-10-07 04:06:16 +05:30
  • 12b712c217 Add var_binop test for conditionals Pragyansh Chaturvedi 2025-10-07 03:43:36 +05:30
  • 2de280915a Add var test for conditionals Pragyansh Chaturvedi 2025-10-07 03:37:13 +05:30
  • 1cce49f5e0 Add const_binop test for conditionals Pragyansh Chaturvedi 2025-10-07 03:24:11 +05:30
  • 682a7e6566 Add const_int test for conditionals Pragyansh Chaturvedi 2025-10-07 03:15:34 +05:30
  • fb63dbd698 Move conditional logic to eval_expr, add _conver_to_bool, add passing bool test Pragyansh Chaturvedi 2025-10-07 03:11:23 +05:30
  • 4f433d00cc Add Boolean return support Pragyansh Chaturvedi 2025-10-06 23:04:45 +05:30
  • 6cf5115ea9 Eval LHS and RHS in _handle_compare Pragyansh Chaturvedi 2025-10-06 22:38:43 +05:30
  • f11a43010d Add _handle_cond to expr_pass Pragyansh Chaturvedi 2025-10-06 22:33:03 +05:30
  • d1055e4d41 Reduce a condition from handle_cond Pragyansh Chaturvedi 2025-10-06 22:20:54 +05:30
  • 8554688230 Merge pull request #25 from pythonbpf/dependabot/github_actions/actions-6a14be197d Pragyansh Chaturvedi 2025-10-06 19:32:01 +05:30
  • 3e873f378e Bump the actions group with 2 updates dependabot[bot] 2025-10-06 11:26:23 +00:00
  • 28ce14ce34 Merge pull request #24 from pythonbpf/func_refactor Pragyansh Chaturvedi 2025-10-06 05:12:20 +05:30
  • 5066cd4cfe Use named args for eval_expr call in handle_return Pragyansh Chaturvedi 2025-10-06 05:11:33 +05:30
  • 0bfb3855b6 Remove dead code from _handle_ctypes_call Pragyansh Chaturvedi 2025-10-06 05:10:22 +05:30
  • 2f0dd20f1e Add false case for _handle_xdp in return_utils Pragyansh Chaturvedi 2025-10-06 05:09:03 +05:30
  • abef68c274 Remove redundant TODO from return_utils Pragyansh Chaturvedi 2025-10-06 05:04:06 +05:30
  • 9aff614ff5 Remove unnecessary parts from return_utils Pragyansh Chaturvedi 2025-10-06 05:02:02 +05:30
  • 7b0e8a2fca Add xdp example for passing return type Pragyansh Chaturvedi 2025-10-06 04:59:20 +05:30
  • 3e68d6df4f Add passing test examples for return statements Pragyansh Chaturvedi 2025-10-06 04:57:04 +05:30
  • b75dc82f90 Remove clutter from handle_return Pragyansh Chaturvedi 2025-10-06 04:44:55 +05:30
  • f53ca3bd5b Add ctypes in eval_expr Pragyansh Chaturvedi 2025-10-06 04:43:04 +05:30
  • 02885af1ca Add binops to eval_expr Pragyansh Chaturvedi 2025-10-06 03:36:44 +05:30
  • e6e2a69506 Add _is_xdp_name Pragyansh Chaturvedi 2025-10-06 03:02:08 +05:30
  • e4e92710c0 Move XDP pass above general return handling Pragyansh Chaturvedi 2025-10-06 02:58:57 +05:30
  • f08bc9976c Add _handle_wrapped_return Pragyansh Chaturvedi 2025-10-06 02:22:43 +05:30
  • 23183da2e1 Add _handle_variable_return Pragyansh Chaturvedi 2025-10-06 00:05:23 +05:30
  • c6fef1693e Add _handle_binop_return Pragyansh Chaturvedi 2025-10-06 00:03:34 +05:30
  • 192e03aa98 Add _handle_typed_constant_return Pragyansh Chaturvedi 2025-10-05 23:59:04 +05:30
  • 6f02b61527 Add _handle_xdp_return Pragyansh Chaturvedi 2025-10-05 23:54:06 +05:30
  • a21ff5633c Add _handle_none_return Pragyansh Chaturvedi 2025-10-05 23:44:46 +05:30
  • f96a6b94dc Remove useless args from handle_return Pragyansh Chaturvedi 2025-10-05 23:40:48 +05:30
  • e9f3aa25d2 Make handle_return (crude for now) Pragyansh Chaturvedi 2025-10-05 23:19:06 +05:30
  • d0a8e96b70 Use getitem dunder for StatementHandlerRegistry Pragyansh Chaturvedi 2025-10-05 20:10:07 +05:30
  • b09dc815fc Add StatementHandlerRegistry Pragyansh Chaturvedi 2025-10-05 15:19:16 +05:30
  • ceaac78633 Janitorial: fix lint Pragyansh Chaturvedi 2025-10-05 15:12:01 +05:30
  • dc7a127fa6 Restructure dir for functions Pragyansh Chaturvedi 2025-10-05 15:09:15 +05:30
  • 3abe07c5b2 add global symbol table populate function varun-r-mallya 2025-10-05 14:02:46 +05:30
  • 01bd7604ed add global symbol table populate function varun-r-mallya 2025-10-05 14:02:46 +05:30
  • 552cd352f2 Merge pull request #20 from pythonbpf/fix-failing-tests Pragyansh Chaturvedi 2025-10-05 14:04:14 +05:30
  • c7f2955ee9 Fix typo in process_stmt Pragyansh Chaturvedi 2025-10-05 14:03:19 +05:30
  • ef36ea1e03 Add nullcheck for var_name in handle_binary_ops Pragyansh Chaturvedi 2025-10-05 14:02:08 +05:30
  • d341cb24c0 Update explanation for named_arg Pragyansh Chaturvedi 2025-10-05 04:27:37 +05:30
  • 2fabb67942 Add note for faling test named_arg Pragyansh Chaturvedi 2025-10-05 03:15:17 +05:30
  • a0b0ad370e Merge pull request #23 from pythonbpf/formatter varunrmallya 2025-10-05 01:15:01 +05:30
  • 7ae84a0d5a add failing test varun-r-mallya 2025-10-05 00:55:22 +05:30
  • 283b947fc5 Add named_arg failing test Pragyansh Chaturvedi 2025-10-04 19:50:33 +05:30
  • df3f00261a changer order of passes varun-r-mallya 2025-10-04 08:17:16 +05:30
  • bf78ac21fe Remove 'Static Typing' from short term tasks varunrmallya 2025-10-04 07:30:11 +05:30
  • ab610147a5 update globals test and todos. varun-r-mallya 2025-10-04 06:36:26 +05:30
  • 7720fe9f9f format chore varun-r-mallya 2025-10-04 06:33:09 +05:30
  • 7aeac86bd3 fix broken IR generation logic for globals varun-r-mallya 2025-10-04 06:32:25 +05:30
  • ac49cd8b1c Fix hashmap access in direct_assign.py Pragyansh Chaturvedi 2025-10-04 02:14:33 +05:30
  • af44bd063c Add explanation for direct_assign.py failing test Pragyansh Chaturvedi 2025-10-04 02:13:46 +05:30
  • 1239d1c35f Fix handle_binary_ops calls in functions_pass Pragyansh Chaturvedi 2025-10-04 02:09:11 +05:30
  • f41a9ccf26 Remove unnecessary args from binary_ops Pragyansh Chaturvedi 2025-10-04 02:07:31 +05:30
  • ab1c4223d5 fix broken IR generation logic for globals varun-r-mallya 2025-10-03 22:55:40 +05:30
  • c3a512d5cf add global support with broken generation function varun-r-mallya 2025-10-03 22:20:04 +05:30
  • 4a60c42cd0 add global failing test varun-r-mallya 2025-10-03 21:25:58 +05:30
  • be05b5d102 Allow local symbols to be used within return Pragyansh Chaturvedi 2025-10-03 19:50:56 +05:30
  • 3f061750cf fix return value error varun-r-mallya 2025-10-03 19:11:11 +05:30
  • 6d5d6345e2 Add var_rval failing test Pragyansh Chaturvedi 2025-10-03 18:01:15 +05:30
  • 6fea580693 Fix t/f/return.py, tweak handle_binary_ops Pragyansh Chaturvedi 2025-10-03 17:56:21 +05:30
  • b35134625b Merge pull request #19 from pythonbpf/fix-expr Pragyansh Chaturvedi 2025-10-03 17:36:31 +05:30
  • c3db609a90 Revert to using Warning loglevel as default Pragyansh Chaturvedi 2025-10-03 17:35:57 +05:30
  • cc626c38f7 Move binops1 to tests/passing Pragyansh Chaturvedi 2025-10-03 17:13:02 +05:30
  • a8b3f4f86c Fix recursive binops, move failing binops to passing Pragyansh Chaturvedi 2025-10-03 17:08:41 +05:30
  • d593969408 Refactor ugly if-elif chain in handle_binary_op Pragyansh Chaturvedi 2025-10-03 14:04:38 +05:30
  • 6d5895ebc2 More fixes to recursive dereferencer, add get_operand value Pragyansh Chaturvedi 2025-10-03 13:46:52 +05:30
  • c9ee6e4f17 Fix recursive_dereferencer in binops Pragyansh Chaturvedi 2025-10-03 13:35:15 +05:30
  • a622c53e0f Add deref Pragyansh Chaturvedi 2025-10-03 02:00:01 +05:30
  • a4f1363aed Add _handle_attribute_expr Pragyansh Chaturvedi 2025-10-03 01:50:59 +05:30
  • 3a819dcaee Add _handle_constant_expr Pragyansh Chaturvedi 2025-10-02 22:54:38 +05:30
  • 729270b34b Use _handle_name_expr in eval_expr Pragyansh Chaturvedi 2025-10-02 22:50:21 +05:30
  • 44cbcccb6c Create _handle_name_expr Pragyansh Chaturvedi 2025-10-02 22:43:54 +05:30
  • 86b9ec56d7 update formatter and pre-commit varun-r-mallya 2025-10-02 22:43:05 +05:30
  • 253944afd2 Merge pull request #18 from pythonbpf/fix-maps Pragyansh Chaturvedi 2025-10-02 22:12:01 +05:30
  • 54993ce5c2 Merge branch 'master' into fix-maps Pragyansh Chaturvedi 2025-10-02 22:11:38 +05:30
  • 05083bd513 janitorial nitpicks Pragyansh Chaturvedi 2025-10-02 22:10:28 +05:30
  • 6e4c340780 Allow non-call convention for maps Pragyansh Chaturvedi 2025-10-02 22:07:28 +05:30
  • 9dbca410c2 Remove calls from map in sys_sync Pragyansh Chaturvedi 2025-10-02 21:24:15 +05:30
  • 62ca3b5ffe format errors varun-r-mallya 2025-10-02 19:07:49 +05:30
  • f263c35156 move debug cu generation to debug module varun-r-mallya 2025-10-02 19:05:58 +05:30
  • 0678d70309 bump version v0.1.4 varun-r-mallya 2025-10-02 18:02:36 +05:30
  • 96fa5687f8 Merge pull request #17 from pythonbpf/logging varunrmallya 2025-10-02 17:59:18 +05:30
  • 4d0dd68d56 fix formatting varun-r-mallya 2025-10-02 17:58:24 +05:30
  • 89b0a07419 add logging level control varun-r-mallya 2025-10-02 17:57:37 +05:30
  • 469ca43eaa replace prints with logger.info varun-r-mallya 2025-10-02 17:46:27 +05:30
  • 83d9f4b34f add failing test ringbuf-helpers varun-r-mallya 2025-10-02 15:47:35 +05:30
  • e83215391a add ringbuf submit function. commit does not verify on input, but the mirror C code does not as well. varun-r-mallya 2025-10-02 06:31:35 +05:30
  • 2a93a325ce add ringbuf reserve function varun-r-mallya 2025-10-02 06:07:17 +05:30
  • dc2b611cbc format errors varun-r-mallya 2025-10-02 05:17:02 +05:30
  • 0c1acf1420 Fix local_sym_tab usage in binary_ops Pragyansh Chaturvedi 2025-10-02 04:58:39 +05:30