Skip to content
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

Document tpv and @v #237

Open
XVilka opened this issue Mar 12, 2020 · 4 comments
Open

Document tpv and @v #237

XVilka opened this issue Mar 12, 2020 · 4 comments

Comments

@XVilka
Copy link
Contributor

XVilka commented Mar 12, 2020

See radareorg/radare2#16194

@officialcjunior
Copy link
Contributor

Hey @XVilka,
What does @v do exactly? I couldn't find in the internal help, so I thought I'll add it too.

@XVilka
Copy link
Contributor Author

XVilka commented Dec 4, 2020

@officialcjunior it's value modifier: https://github.com/radareorg/radare2/pull/16194/files#diff-4177509c34816099f6d9c68b13bf05ed793f9d41e6ae730dd411a80c34090e4bR3456

For example, if you write something like the following it will change the value in place and run the command as it was the data:

[0x00006b60]> px 10
- offset -   0 1  2 3  4 5  6 7  8 9  A B  C D  E F  0123456789ABCDEF
0x00006b60  f30f 1efa 31ed 4989 d15e                 ....1.I..^
[0x00006b60]> px 10 @v:0x6b64
- offset -   0 1  2 3  4 5  6 7  8 9  A B  C D  E F  0123456789ABCDEF
0x00006b60  646b 0000 0000 0000 d15e                 dk.......^
[0x00006b60]> 

@officialcjunior
Copy link
Contributor

Awesome!
So, can we have the help like: @v:value modify the current offset to a custom value ?

@trufae
Copy link
Contributor

trufae commented Dec 4, 2020

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants