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
privatevoidprocessCallEdge(Edge<CSCallSite, CSMethod> edge) {
if (callGraph.addEdge(edge)) {
// process new call edgeCSMethodcsCallee = edge.getCallee();
addCSMethod(csCallee);
if (edge.getKind() != CallKind.OTHER
&& !isIgnored(csCallee.getMethod())) {
...
}
plugin.onNewCallEdge(edge);
}
}
isIgnored(csCallee.getMethod()) is true, so it cannot enter the if (edge.getKind() != CallKind.OTHER && !isIgnored(csCallee.getMethod())) { ... }, resulting in the variable $r0 not being processed, thus missing the exec call.
I found that isIgnored() is affected by only-app, so I changed only-app to false. However, the resulting call graph contains a lot of content that I am not interested in. Additionally, changing the scope in options.yml leads to the same result. Is there a way to output a complete call graph without including a lot of irrelevant method calls?
🎯 Expected Behavior
The call graph should include the exec() call edge, without including a lot of irrelevant method calls.
🐛 Current Behavior
It is missing a call to exec(), and get a lot of irrelevant method calls when I change the only-app.
📝 Overall Description
For the following code
call-graph as follows
It is missing a call to
exec()
.For the ir:
The corresponding analysis process in Tai-e is
isIgnored(csCallee.getMethod())
istrue
, so it cannot enter theif (edge.getKind() != CallKind.OTHER && !isIgnored(csCallee.getMethod())) { ... }
, resulting in the variable$r0
not being processed, thus missing theexec
call.I found that
isIgnored()
is affected byonly-app
, so I changedonly-app
tofalse
. However, the resulting call graph contains a lot of content that I am not interested in. Additionally, changing thescope
inoptions.yml
leads to the same result. Is there a way to output a complete call graph without including a lot of irrelevant method calls?🎯 Expected Behavior
The call graph should include the
exec()
call edge, without including a lot of irrelevant method calls.🐛 Current Behavior
It is missing a call to
exec()
, and get a lot of irrelevant method calls when I change theonly-app
.🔄 Reproducible Example
⚙️ Tai-e Arguments
🔍 Click here to see Tai-e Options
🔍 Click here to see Tai-e Analysis Plan
📜 Tai-e Log
🔍 Click here to see Tai-e Log
ℹ️ Additional Information
No response
The text was updated successfully, but these errors were encountered: