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

upgrade deps + generated code #1808

Merged
merged 1 commit into from
Jan 29, 2025
Merged

upgrade deps + generated code #1808

merged 1 commit into from
Jan 29, 2025

Conversation

bbrehm
Copy link
Contributor

@bbrehm bbrehm commented Jan 29, 2025

This needs some minor adjustments in joern unit tests.

Main point is that cpg.call.codeExact("foo", "bar") used to be cpg.call.filter(c => c.code =="foo" || c.code == "bar"), while it's now cpg.call.codeExact("foo") ++ cpg.call.codeExact("bar"), in order to use the index instead of a slow O(N) iteration.

This changes the output order.

@bbrehm bbrehm requested a review from mpollmeier January 29, 2025 12:29
@bbrehm bbrehm merged commit b416f7b into master Jan 29, 2025
1 check passed
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