Skip to content

Getting a string value for Varnode which isConstant() == true (Java) #2650

Answered by astrelsky
Martyx00 asked this question in Q&A
Discussion options

You must be logged in to vote

Once you have the address of the string you may retrieve the Data using getDataAt(Address) or create it using createAsciiString(Address) if not already created. Once you have the Data the string value may be obtained via
(String) data.getValue(). The Data interface has a hasStringValue method if you wish to check before casting the value.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@Martyx00
Comment options

@astrelsky
Comment options

@dev747368
Comment options

@Martyx00
Comment options

@Heath123
Comment options

Answer selected by Martyx00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants