-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
Can I get a call stack for a variable? #1854
Comments
I feel like it's a bit weird to follow the params in different functions. What's are your goals? |
Thanks for the explanation :) My goal is to get a list of all the methods that were called on that particular string. That's would be easy to do if the string is only used in the function scope it was defined in: that can be done via simple My problem is I'm having trouble finding a static analysis tool that statically "follows" a variable around the codebase as it's passed as arguments into other functions or returned by a function. |
This will not be supported in Jedi, for simple performance reasons. It's just extremely slow with the current design. Most static analysis tools choose not to do this, because it gets endlessly complicated and you cannot guarantee anyway that you caught everything. Jedi tries its best with #1059 might eventually help. Closing, because there's nothing to do here. Feel free to ask further questions, though. |
Hello :) Very cool tool.
I would like to determine all the places a variable is passed to, practically I mean:
How to see all the places
__main__.b.value
was used? Making the list manually I see it's used on line 5, 6, and 2:I have tried
get_refernces
but it does not follow the variable toa
, so I think I'm misunderstanding what that function does:Is what I am asking possible?
The text was updated successfully, but these errors were encountered: