Skip to content

Objective-C: message sends ([obj selector], [self method:arg]) are mostly not recorded as calls (doom-ios recall 0.53) #5639

Closed

Description

@squid-protocol

Problem

Objective-C units record C-style calls but most message sends are missing (licensed ports, engine 0e2bf4ade): doom-ios recall 0.53 (122 calls in source, 65 recorded), chocolate-doom pkg/osx 0.52, prboom-plus src/MAC 0.52, gzdoom/eternity cocoa code ~0.85. Examples:

  • doom-ios code/iphone/ControlsMenuView.m:98 awakeFromNib: [self initialize] not recorded (also initWithCoder, initWithFrame).
  • chocolate-doom pkg/osx/IWADController.m:103: selectedIWAD = [self getSelectedIWAD];, :142 return NameForIWAD([self getSelectedIWAD]);.
  • eternity macosx/launcher/ELTextFieldDelegate.m:47: [mOwner updateParameters:...]; gzdoom src/common/platform/posix/cocoa/i_video.mm:149 [self updateTitle].
    Some engine-only edges look like @selector(name:) references or notification targets recorded as calls (e.g. prboom-plus ConsoleController.m:26 launch -> dataReady); decide and document whether @selector counts.

Acceptance

Found by the DOOM corpus call-graph checks (#5630, #5457); licensed ports only. Prototype: /srv/storage_16tb/projects/gitgalaxy/doom-study/study-prototype/callcheck_all.py.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    metrics
    core-engine
    scope:core
    needs:doom-corpus
    on Oct 19, 2026
  2. squid-protocol commented on Oct 20, 2026

    @squid-protocol
    OwnerAuthor

    PR #5689 landed message-send recording (doom-ios 0.992, chocolate-doom/prboom-plus 1.000, eternity 0.989). Leaving this open: gzdoom is 0.892 (< 0.95 acceptance; remaining misses are unit-extent bugs listed under the PR's sibling gaps), and receiver-as-qualifier is not done.

  3. squid-protocol commented on Oct 20, 2026

    @squid-protocol
    OwnerAuthor

    Status after #5777: first-slice acceptance (selector recording, receiver as qualifier, [super x], @selector decision, per-shape tests) is met. Still open: the rescan of the licensed ports' Objective-C against the #5630 oracle (recall >= 0.95) has no recorded result, and the call-receiver keyword-selector shape [f(x) a:1] is a known gap. Leaving this issue open for those.

  4. squid-protocol commented on Oct 21, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-10-21T04:51Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  5. squid-protocol commented on Oct 21, 2026

    @squid-protocol
    OwnerAuthor

    Closing: #5828 meets the acceptance. Message sends are recorded by selector (unary, keyword, super, nested, in a C call, keyword to a call receiver), with tests per shape. The licensed-port rescan gives recall 1.000 on chocolate-doom, prboom-plus, eternity and gzdoom under the Objective-C oracle (>= 0.95). Goldens show no drift. Sibling gaps are listed in the PR.

  6. added
    scope:frontier
    and removed
    scope:core
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclaim:nyxcore-enginemetricsneeds:doom-corpuspriority: mediumscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions