Skip to content

upgrade deps + generated code#1808

Merged
bbrehm merged 1 commit intomasterfrom
bbrehm/updateDeps
Jan 29, 2025
Merged

upgrade deps + generated code#1808
bbrehm merged 1 commit intomasterfrom
bbrehm/updateDeps

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
@max-leuthaeuser max-leuthaeuser deleted the bbrehm/updateDeps branch June 30, 2025 13:31
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