Skip to content

fix(detector): add NOT_EQ_REPLAY for != data_ptr comparison - #36

Closed
SarahLacard wants to merge 7 commits into
gpu-mode:mainfrom
SarahLacard:fix/red-not-eq-dptr-1
Closed

SarahLacard wants to merge 7 commits into
gpu-mode:mainfrom
SarahLacard:fix/red-not-eq-dptr-1

Conversation

@SarahLacard

Copy link
Copy Markdown

KernelGuard-Red-Submission: neq-dptr-1

Detects != data_ptr comparison pattern that evades POINTER_REPLAY and sentinel detectors (only check ast.Eq, not ast.NotEq).

KernelGuard-Red-Submission: thread-module-1
…ls.partial

KernelGuard-Red-Submission: operator-exec-1
KernelGuard-Red-Submission: hash-cache-1
Detects == None sentinel guard + data_ptr comparison pattern that evades
IS_NONE_SENTINEL_REPLAY (only checks Is/IsNot None).

KernelGuard-Red-Submission: eq-none-1
KernelGuard-Red-Submission: getattr-dptr-1
KernelGuard-Red-Submission: neq-dptr-1
@SinatrasC

Copy link
Copy Markdown
Collaborator

Thanks for the KernelGuard Flywheel Campaign contribution. We are not merging this narrow variant separately because the consolidated rule-family implementation in #273 is the merge path for this detector area.

@SinatrasC SinatrasC closed this Jun 20, 2026
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.

2 participants