Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] fix methodFullName for methods named ^(import).* #4973

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

xavierpinho
Copy link
Contributor

If a method is named ^(import).*, e.g. import_table(), its methodFullName is never set, remaining <unknownFullName>. Turns out, PythonTypeHintCallLinker was filtering it out because of its name.

Credit for finding this edge case: @tajobe

@xavierpinho xavierpinho added the python Relates to pysrc2cpg label Sep 27, 2024
@xavierpinho xavierpinho merged commit 8b6992d into master Sep 27, 2024
5 checks passed
@xavierpinho xavierpinho deleted the xavierp/tr-py-bug branch September 27, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Relates to pysrc2cpg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants