In forward slice, how to handle STORE
Pcode whose target is the global variable area?
#6603
Unanswered
Kalvin2077
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm writing a headless script about forward slice, but it doesn't handle global variables very well.
These codes are from GUI ghidra. I noticed the symbol (
line
) of the destination (global variable) has been shown. If I double-click theline
, the listing view can jump to the address ofline
.I thought I could use related methods to find ram varnode about global variable by symbol. Then I tried to get symbols for each inputs varnode, but I got the following logs:
I guess there is some pre-processing in GUI Ghidra, maybe backforward slice, to infer the symbol
line
.I have tried to find it in source code, but I have no direction.
Or should I manually implement a backward slice to find the ram varnode of the global variable?
This is a screenshot of the GUI Ghidra:
Beta Was this translation helpful? Give feedback.
All reactions