Skip to content

Flow with non-trivial access path through receiver of method assigned to a variable is missed #9296

@owen-mc

Description

@owen-mc

Most likely some logic is missing to trace a call to a variable back to the possible callees before looking for the receiver.

This is demonstrated in some tests that have been marked MISSING in ql/test/library-tests/semmle/go/dataflow/GenericFunctionsAndTypes/generictypesandmethods.go, which will be introduced in github/codeql-go#686 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions