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
<pascal.taie.analysis.pta.plugin.Plugin: void onNewStmt(pascal.taie.ir.stmt.Stmt,pascal.taie.language.classes.JMethod)> is a convenient version of <pascal.taie.analysis.pta.plugin.Plugin: void onNewMethod(pascal.taie.language.classes.JMethod)>+jMethod.getIR().forEach(...).
What you may need is <pascal.taie.analysis.pta.plugin.Plugin: void onNewCSMethod(pascal.taie.analysis.pta.core.cs.element.CSMethod)>+csMethod.getContext()+csMethod.getMethod().getIR().forEach(...).
📝 Overall Description
Hello, I am using Tai-e's Plugin to process some stmts. In the
onNewStmt
method, I performed a new process onLoadField
.But the following two statements are incorrect
Because in the parameters of
onNewStmt
, the type ofcontainer
isJMethod
, notCSMethod
, I can't get thecontext
Please how can I solve this problem?
🎯 Expected Behavior
None
🐛 Current Behavior
None
🔄 Reproducible Example
No response
⚙️ Tai-e Arguments
🔍 Click here to see Tai-e Options
{{The content of 'output/options.yml' file}}
🔍 Click here to see Tai-e Analysis Plan
{{The content of 'output/tai-e-plan.yml' file}}
📜 Tai-e Log
🔍 Click here to see Tai-e Log
ℹ️ Additional Information
No response
The text was updated successfully, but these errors were encountered: