Commit Graph

  • 055a81b395 Core: Note the per-nesting-level pool allocation as a TODO Pragyansh Chaturvedi 2026-09-19 15:29:53 +05:30
  • ce4908a1c1 Tests: A map lookup that appears only in if and elif conditions Pragyansh Chaturvedi 2026-09-19 15:28:07 +05:30
  • b3d79afd85 Core: Count scratch temps needed by if conditions Pragyansh Chaturvedi 2026-09-19 15:28:04 +05:30
  • eaaa12eecb Tests: Return of a map value, return of a struct, enum-constant rank Pragyansh Chaturvedi 2026-09-18 17:52:30 +05:30
  • ca92f2ab77 Core: Rank an enum constant as C's int, not as i64 Pragyansh Chaturvedi 2026-09-18 17:52:28 +05:30
  • 8e802e8532 Core: Return through the same value path as every other consumer Pragyansh Chaturvedi 2026-09-18 17:52:23 +05:30
  • 359ddbd031 Merge remote-tracking branch 'origin/master' into feat/integer-signedness Pragyansh Chaturvedi 2026-09-18 17:46:35 +05:30
  • a949a90d0e Merge pull request #102 from pythonbpf/fix/enum-constant-local Pragyansh Chaturvedi 2026-09-18 16:44:42 +05:30
  • 51d8628ae2 Tests: Enum-constant locals pass now fix/enum-constant-local Pragyansh Chaturvedi 2026-09-18 13:41:26 +05:30
  • be1d86da74 Core: Let a local be initialised from a vmlinux enum constant Pragyansh Chaturvedi 2026-09-18 13:41:22 +05:30
  • dd744df0b2 Update Python version requirement to 3.10 Pragyansh Chaturvedi 2026-09-17 20:52:58 +05:30
  • 60dcd4cc11 Update Python version classifiers in pyproject.toml Pragyansh Chaturvedi 2026-09-17 20:52:37 +05:30
  • 5a75c16b96 Merge remote-tracking branch 'origin/master' into feat/integer-signedness Pragyansh Chaturvedi 2026-09-17 20:51:54 +05:30
  • 71fd1d7d9d Merge pull request #99 from pythonbpf/feat/global-variables Pragyansh Chaturvedi 2026-09-17 20:50:39 +05:30
  • 0273a67a08 Merge branch 'feat/global-variables' into feat/integer-signedness Pragyansh Chaturvedi 2026-09-17 20:46:10 +05:30
  • d197a11deb Core: Shorten the unbound-local messages and drop a comment feat/global-variables Pragyansh Chaturvedi 2026-09-17 20:46:04 +05:30
  • 6f48498adc Docs: Integer semantics user-guide page Pragyansh Chaturvedi 2026-09-04 11:04:02 +05:30
  • 4c655108d5 Tests: Integer signedness cases mirroring the C reference Pragyansh Chaturvedi 2026-09-04 11:01:27 +05:30
  • 568a651096 Core: Type comparison and boolean results as unsigned i1 Pragyansh Chaturvedi 2026-09-04 11:00:12 +05:30
  • 6ab992e644 Core: Fold a negated integer literal into a constant Pragyansh Chaturvedi 2026-09-04 10:55:20 +05:30
  • db12298a11 Core: Choose signed or unsigned operators and predicates from the promoted type Pragyansh Chaturvedi 2026-09-04 10:50:10 +05:30
  • 5f36bd2d37 Core: Type each binary operation per node with C's arithmetic conversions Pragyansh Chaturvedi 2026-09-04 10:40:33 +05:30
  • f266f1fce0 Core: Carry signedness from every declaration and inference site Pragyansh Chaturvedi 2026-09-04 10:32:04 +05:30
  • 4fa6fc59d4 Core: Route every integer widening and narrowing through convert() Pragyansh Chaturvedi 2026-09-04 10:14:38 +05:30
  • daf429d463 Core: Add the signedness machinery (no behaviour change) Pragyansh Chaturvedi 2026-09-04 10:08:48 +05:30
  • f3cc6c9ce7 Tests: Add the integer-signedness C reference Pragyansh Chaturvedi 2026-09-04 09:52:09 +05:30
  • dc212c37bd Tests: Pin which storage each global-variable access resolves to Pragyansh Chaturvedi 2026-09-17 20:31:21 +05:30
  • 3c3ad8d00b Tests: Shadowing is a passing case now, unbound reads are the error Pragyansh Chaturvedi 2026-09-17 15:13:58 +05:30
  • 3a3b4b2cc1 Core: Say what is unsupported instead of dropping it silently Pragyansh Chaturvedi 2026-09-17 15:13:56 +05:30
  • f0a9a4001a Core: Allocate a local copied from a global with the global's type Pragyansh Chaturvedi 2026-09-17 15:13:25 +05:30
  • 46062f3434 Core: Reject a name used before its global declaration, as Python does Pragyansh Chaturvedi 2026-09-17 15:13:23 +05:30
  • 5948971469 Core: Shadow a @bpfglobal with a local when a write has no global statement Pragyansh Chaturvedi 2026-09-17 15:12:56 +05:30
  • 526f113a5a Core: Give every symbol kind a common Symbol base class Pragyansh Chaturvedi 2026-09-03 11:30:21 +05:30
  • 2b77c406de Core: Bind declared globals in local_sym_tab instead of a per-function set Pragyansh Chaturvedi 2026-09-03 11:14:14 +05:30
  • f4ec12df60 Core: Resolve assignment targets local-first, and reject global on a parameter Pragyansh Chaturvedi 2026-09-03 10:32:10 +05:30
  • f5c4dece3e Core: Unify the Python-operator tables in expr/operators.py Pragyansh Chaturvedi 2026-09-03 07:39:04 +05:30
  • e8ab1188d8 Tests: Record the lower-do-not-desugar house style in the skill Pragyansh Chaturvedi 2026-09-03 07:23:27 +05:30
  • 1b9adc7134 Tests: Pin augmented assignment on struct fields and the shadowing error Pragyansh Chaturvedi 2026-09-03 07:22:48 +05:30
  • dc9aecf381 Core: Coerce integer width when assigning to a struct field Pragyansh Chaturvedi 2026-09-03 07:22:03 +05:30
  • aa321dbd47 Core: Lower augmented assignment directly instead of desugaring Pragyansh Chaturvedi 2026-09-03 07:19:07 +05:30
  • 274bac9313 Tests: Pin name-resolution order under vmlinux collisions Pragyansh Chaturvedi 2026-09-03 06:41:46 +05:30
  • 7f5773e5d8 Core: Make XDP return names respect local and global shadowing Pragyansh Chaturvedi 2026-09-03 06:40:11 +05:30
  • 20b9bb9449 Fix skill to ask Python path Pragyansh Chaturvedi 2026-09-03 06:25:10 +05:30
  • c0fda58d27 Tests: Cover global variable reads, writes, and the error cases Pragyansh Chaturvedi 2026-09-01 17:10:15 +05:30
  • 26ee4d44c7 Core: Emit debug info for globals so llc produces BTF VAR and DATASEC Pragyansh Chaturvedi 2026-09-01 17:07:22 +05:30
  • 4ee96e7461 Core: Support augmented assignment by desugaring to x = x op v Pragyansh Chaturvedi 2026-09-01 16:43:00 +05:30
  • 930594d932 Core: Support writes to @bpfglobal variables via the global statement Pragyansh Chaturvedi 2026-09-01 16:40:49 +05:30
  • e95ee717fd Core: Resolve @bpfglobal reads in expressions and f-strings Pragyansh Chaturvedi 2026-09-01 15:29:24 +05:30
  • 3d8a211038 Core: Register @bpfglobal variables in a symbol table Pragyansh Chaturvedi 2026-09-01 15:24:59 +05:30
  • cd1f2beb98 Tests: Add the ir-first-feature skill and the globals C reference Pragyansh Chaturvedi 2026-09-01 15:20:53 +05:30
  • 507f07510d Tests: Record what the first selftest porting spike found tests/selftest-port-spike Pragyansh Chaturvedi 2026-08-14 22:35:01 +05:30
  • 0459b3a3c2 Tests: Add perf_skip as a nested-struct-access roadmap test Pragyansh Chaturvedi 2026-08-14 22:34:09 +05:30
  • 7911436996 Tests: Port three kernel BPF selftests Pragyansh Chaturvedi 2026-08-14 22:34:08 +05:30
  • a64f01d6b3 Tests: Register a vmlinux subdirectory under kernel_selftest_equivalent Pragyansh Chaturvedi 2026-08-14 22:34:07 +05:30
  • 0c5a9b3b41 Add kernel selftest equivalent roadmap tests Varun R Mallya 2026-06-22 03:36:52 +05:30
  • 926ce3fd8d Bump llvmlite to 0.49 Pragyansh Chaturvedi 2026-09-01 12:11:03 +05:30
  • 5d0b226e3e Vmlinux gen fix (#97) varunrmallya 2026-08-30 20:57:11 +05:30
  • 6b76b74a3b add CI workflow to run the test suite ci-test-runner Varun R Mallya 2026-08-30 20:54:10 +05:30
  • 5bfa8e38a3 Add CI workflow to run the test suite (#96) vmlinux-gen-fix varunrmallya 2026-08-30 20:54:00 +05:30
  • 5c05b11153 fix ruff-format violation in vmlinux-gen.py Varun R Mallya 2026-08-30 20:50:38 +05:30
  • c02b769b15 widen bitfields whose declared width exceeds their base type Varun R Mallya 2026-08-30 20:23:12 +05:30
  • 3c69ec3cfb Merge pull request #95 from pythonbpf/vmlinux-gen-fix varunrmallya 2026-08-30 19:54:57 +05:30
  • 559d0570ff regenerate and symlink a single master vmlinux.py for make test Varun R Mallya 2026-08-30 19:49:23 +05:30
  • 7b704cbe0b disambiguate clang2py's generic anonymous-field names in vmlinux-gen.py Varun R Mallya 2026-08-30 19:49:14 +05:30
  • 03b1232a77 Merge pull request #91 from pythonbpf/fix/register-state-dump-keyerror varunrmallya 2026-08-30 19:48:27 +05:30
  • 03c35f222d Merge master into fix/register-state-dump-keyerror (resolve conflict with #94) fix/register-state-dump-keyerror Varun R Mallya 2026-08-30 19:37:03 +05:30
  • c4c0c586b3 Merge pull request #94 from pythonbpf/fix/probe-read-ctx-not-found varunrmallya 2026-08-30 19:34:25 +05:30
  • 50d0678908 Merge pull request #90 from pythonbpf/dependabot/github_actions/actions-e91bde37dc varunrmallya 2026-08-28 19:42:43 +05:30
  • 9a8e1ba909 build(deps): bump the actions group across 1 directory with 2 updates dependabot[bot] 2026-08-24 10:54:08 +00:00
  • 91146d3f43 Update README.md Pragyansh Chaturvedi 2026-08-21 17:39:55 +05:30
  • 30c0e6b562 Merge pull request #92 from pythonbpf/fix/ringbuf-map-type Pragyansh Chaturvedi 2026-08-14 03:10:27 +05:30
  • 180c35f83e just return the keys instead of all the processors in maps_utils,py fix/ringbuf-map-type Pragyansh Chaturvedi 2026-08-14 03:06:06 +05:30
  • e1b40d2c77 Fix comment in maps_pass.py Pragyansh Chaturvedi 2026-08-14 03:04:28 +05:30
  • 94624319ec Merge pull request #93 from pythonbpf/fix/verifier-level-tests Pragyansh Chaturvedi 2026-08-10 16:20:51 +05:30
  • fd2412e733 Tests: Declare xdp_test_1 as a verifier-level expected failure Pragyansh Chaturvedi 2026-08-07 17:00:23 +05:30
  • d66b468f39 Tests: Promote if.py to passing_tests Pragyansh Chaturvedi 2026-08-07 16:57:54 +05:30
  • 79c8a1e194 Core: Reject an unknown map type instead of silently emitting a hash map Pragyansh Chaturvedi 2026-08-07 16:57:51 +05:30
  • ecb2774694 Tests: Declare the ringbuf map with its real type and a legal size Pragyansh Chaturvedi 2026-08-07 16:55:39 +05:30
  • a7e2bc39ef Tests: Add a verifier level to the expected-failure tiers fix/verifier-level-tests Pragyansh Chaturvedi 2026-08-07 05:39:49 +05:30
  • edefe626d0 Tests: Use a real program section in return, var_rval and if Pragyansh Chaturvedi 2026-08-07 05:37:05 +05:30
  • f796338245 Tests: Silence deprecation warnings in test-cov and test-verifier Pragyansh Chaturvedi 2026-08-07 05:37:05 +05:30
  • 1c349c87b4 Core: Return the function-pointer check directly in _is_flattenable_scalar Pragyansh Chaturvedi 2026-08-07 05:30:13 +05:30
  • 013907758f Core: Describe anonymous members in DWARF so their relocations can resolve Pragyansh Chaturvedi 2026-08-07 05:18:16 +05:30
  • 9959862154 Core: Widen any sub-64-bit context field instead of special-casing xdp_md Pragyansh Chaturvedi 2026-08-07 05:09:45 +05:30
  • 4ff3ce26c6 Core: Emit nested CO-RE access strings for anonymous members Pragyansh Chaturvedi 2026-08-07 04:59:08 +05:30
  • f2ec70759e Core: Flatten anonymous struct/union members during vmlinux parsing Pragyansh Chaturvedi 2026-08-07 04:54:17 +05:30
  • aa51d123de Core: Add an optional CO-RE access path to Field Pragyansh Chaturvedi 2026-08-07 04:48:06 +05:30
  • ce222afa65 Core: Make vmlinux field lookups agree on one source of truth Pragyansh Chaturvedi 2026-08-07 04:43:49 +05:30
  • d7a763639a Core: Guard vmlinux struct lookup against non-class metadata fix/probe-read-ctx-not-found Pragyansh Chaturvedi 2026-08-07 04:39:01 +05:30
  • b47063c49c Core: Resolve plain-ctypes context parameter in helper args Pragyansh Chaturvedi 2026-08-07 04:38:49 +05:30
  • 5fcec951bf Add kernel selftest equivalent roadmap tests kernel-selftest-equivalent-tests Varun R Mallya 2026-06-22 03:36:52 +05:30
  • bcca69ef37 Merge pull request #86 from pythonbpf/releasescript varunrmallya 2026-06-05 22:23:11 +05:30
  • 40eead72a1 add release script releasescript Varun R Mallya 2026-06-05 22:20:18 +05:30
  • 5311a16c21 Bump version to 0.1.9 v0.1.9 Varun R Mallya 2026-06-05 22:19:18 +05:30
  • 8c5069f424 Merge pull request #85 from pythonbpf/fix/comprehensive-store-type-mismatch Pragyansh Chaturvedi 2026-06-01 12:09:55 +05:30
  • 5a9c77f016 janitorial fix/comprehensive-store-type-mismatch Pragyansh Chaturvedi 2026-06-01 12:09:06 +05:30
  • d0f7a9dcec Add DEBUG log in case of no expected type or target is not a pointer Pragyansh Chaturvedi 2026-06-01 11:57:48 +05:30
  • 0dea1836df Pass expected_type to bpf_map_delete_elem key arg Pragyansh Chaturvedi 2026-05-31 15:32:03 +05:30
  • 7cdb9cb2f5 Add null-safety check after deref_to_depth in helper_utils Pragyansh Chaturvedi 2026-05-31 15:31:53 +05:30
  • 0482aa2be9 Fix deref_to_depth loop type check to use cur_type Pragyansh Chaturvedi 2026-05-31 15:31:43 +05:30