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

Streamify RTA #1166

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

Liyw979
Copy link
Contributor

@Liyw979 Liyw979 commented Jan 23, 2025

No description provided.

Copy link
Collaborator

@swissiety swissiety left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -88,24 +89,16 @@ public CallGraph initialize(@Nonnull List<MethodSignature> entryPoints) {
*
* @param method this object contains the method body which is inspected.
*/
protected List<ClassType> collectInstantiatedClassesInMethod(SootMethod method) {
if (method == null || method.isAbstract() || method.isNative()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should keep isAbstract() and isNative() as they have no 'Body'

addCallToCG(
call.getSourceMethodSignature(),
concreteTarget,
call.getInvokableStmt(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
call.getInvokableStmt(),
call.getInvokableStmt().asInvokableStmt(),

and then we could make the respective Parameter of addCallToCG more precise as well

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