Skip to content

[AUTOMATED] Separate Joern operator port and reference tooling - #6

Merged
mahaloz merged 15 commits into
Noelo-Lab:mainfrom
sjkim1127:codex/joern-operator-port
Nov 9, 2026
Merged

mahaloz merged 15 commits into
Noelo-Lab:mainfrom
sjkim1127:codex/joern-operator-port

Conversation

@sjkim1127

@sjkim1127 sjkim1127 commented Oct 27, 2026 •

Copy link
Copy Markdown

[AUTOMATED]

Separate the mechanically translated Joern binary/unary operator mapping and its source/fixture verification tooling from the later call, receiver and callable-recovery changes. The builder consumes a generated Rust mapping; pinned Joern v4.0.150 Scala source, license and fixture snapshots are reference/test inputs only and are not runtime dependencies.

This branch is independently based on main. The source snapshot, license, reference graphs and provenance account for much of the 29-file diff; the downstream call port is intentionally excluded. It may need a small reconciliation with #4 if either merges first, because both touch unary operator mapping.

Validation on this exact main-based implementation:

  • Rust 204 tests passed; fmt and clippy passed. Python: 161 run, 16 skipped locally; the operator generation consistency check passed.
  • Six frozen original Joern fixture inputs: 10/10 exported functions match directed CFG topology, entry/exit roles and degeneracy. This is not full CPG, type or effect equivalence.
  • Eight real Snappy/Ninja TUs have identical strict diagnostic multisets versus main; all remain rejected. Another 18 C/C++ inputs have identical CLI outputs and exit statuses (12 outputs, six rejections). This is bounded evidence, not a global no-regression claim.

docs/eval/joern_operator_independent.md has current hashes and scope. The separate 2026-10-25 pilot report documents an older branch/binary, not this independently based result. No DecBench backend, metric or score changed. Maintainer feedback on the port/reference packaging is requested before dependent call work.

[AUTOMATED] Share parser-local scope maps until mutation, preserving nested shadowing and existing graph output.
[AUTOMATED] Preserve explicit constructor and destructor bodies when owner names match, while retaining unsupported initializer diagnostics.
sjkim1127 and others added 11 commits October 29, 2026 01:16
Keep the GNU case-range operator in the generated table, and the C++ pack-size spelling in the lexical bridge, so the operator port does not change either.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0179iMKNTKZkNX6ZRBmB96eA
Copilot AI balanced review requested due to automatic review settings November 9, 2026 16:55
@mahaloz
mahaloz merged commit 1f823fc into Noelo-Lab:main Nov 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants