You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then there is no point in analyzing foo(); because it may be an optional dependency
Similarly, we could try to do more advanced analysis by keeping track of infected variables and method calls.
Something is infected if it is mutated or invoked within a ClassNotFound-try block.
Furthermore, something is also infected if it's reading a variable that is infected.
We should probably analyse the benefits of this before doing too much implementation - this feels like something that can be quite complex to build, so we should try to understand if it's going to give value before building it.
If a code block has:
then there is no point in analyzing
foo();
because it may be an optional dependencySimilarly, we could try to do more advanced analysis by keeping track of infected variables and method calls.
Something is infected if it is mutated or invoked within a ClassNotFound-try block.
Furthermore, something is also infected if it's reading a variable that is infected.
Example:
We could also try to find references to
Class.forName(CONSTANT_STRING)
and mark all such classes as infected.The text was updated successfully, but these errors were encountered: