Skip to content

check heap flags #1187

Open
Open

Description

@williballenthin

we have rules for fetching the heap flags, but not how they are interpreted.

here's a reference: https://www.reverseengineering.app/en/techniques/heap-flags

Image

5e17360d32e9b272bb7e1b97c8e4dca34622ec9ce08fd240fe2758cc3f67dc4a:0x1400016FB does this:

Image

Activity

  1. Pratham21223 commented on Oct 18, 2026

    @Pratham21223

    Hi @williballenthin! I'd like to work on this issue.
    From my understanding, the existing rules detect fetching heap flags, but we're missing a rule for detecting how those flags are interpreted.
    I'll investigate the referenced PATCHCORD instruction sequence, identify the relevant flag-checking pattern, and look into adding a rule that detects this behavior without duplicating the existing rules.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions