Skip to content

fix(detector): detect types.CodeType/FunctionType direct construction - #42

Closed
SarahLacard wants to merge 11 commits into
gpu-mode:mainfrom
SarahLacard:fix/red-types-code-1
Closed

SarahLacard wants to merge 11 commits into
gpu-mode:mainfrom
SarahLacard:fix/red-types-code-1

Conversation

@SarahLacard

Copy link
Copy Markdown

KernelGuard-Red-Submission: types-code-1

Detects types.CodeType/FunctionType/MethodType direct constructor calls for code object construction. These evade the existing CODE_REPLACEMENT detector (which only checks func.code = new_code assignment).

@SinatrasC

Copy link
Copy Markdown
Collaborator

Thanks for the KernelGuard Flywheel Campaign contribution. We are not selecting this PR for merge because it is too narrow or not aligned with the current consolidated rule-family surface.

@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