Skip to content

C++: Simplify stubs in DataFlowDispatch.qll#1007

Merged
aschackmull merged 1 commit intogithub:masterfrom
jbj:dataflow-dispatch-no-ctx
Apr 4, 2019
Merged

C++: Simplify stubs in DataFlowDispatch.qll#1007
aschackmull merged 1 commit intogithub:masterfrom
jbj:dataflow-dispatch-no-ctx

Conversation

@jbj
Copy link
Contributor

@jbj jbj commented Feb 28, 2019

Some of these stubs were quite slow to evaluate. It's possible they could be optimised, but it seems pointless as long as we don't have call-context-sensitive virtual dispatch in the C++ library.

Some of these stubs were quite slow to evaluate. It's possible they
could be optimised, but it seems pointless as long as we don't have
call-context-sensitive virtual dispatch in the C++ library.
@jbj jbj added the C++ label Feb 28, 2019
@jbj jbj requested a review from aschackmull February 28, 2019 13:42
@jbj jbj requested a review from a team as a code owner February 28, 2019 13:42
@jbj
Copy link
Contributor Author

jbj commented Apr 3, 2019

@aschackmull Am I right that these simplifications should be behaviour-preserving?

@aschackmull
Copy link
Contributor

Yes. As long as you're not using the call context to improve virtual dispatch precision, then these predicates might as well be none().

@aschackmull aschackmull merged commit 15fa4f8 into github:master Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants