r2dec-js icon indicating copy to clipboard operation
r2dec-js copied to clipboard

pdd* should just print the commands to run

Open radare opened this issue 6 years ago • 8 comments

The usage of the '*' suffix in r2 specifies that it will print the commands, not execute them. You can use a different modifier like pdd** to do this internally with the api if you want, but ideally the usage should be .pdd*

radare avatar Mar 04 '19 23:03 radare

you told me to add pdd* as CCu base64:AAAA= :/ what should it output then?

wargio avatar Mar 05 '19 16:03 wargio

yes, but it should PRINT this stuff, not execute it

On 5 Mar 2019, at 17:40, Giovanni [email protected] wrote:

you told me to add pdd* as CCu base64:AAAA= :/ what should it output then?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wargio/r2dec-js/issues/142#issuecomment-469753494, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lr23cKZK4FsBjZRULvOeDD6WPn-Jks5vTp4bgaJpZM4bdb2M.

radare avatar Mar 05 '19 16:03 radare

ohhhhhhhhhhhhhhhhhhh so it should print a big line with 'CCu base64:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAA=' ??

wargio avatar Mar 05 '19 17:03 wargio

yes

Maijin avatar Jun 03 '19 11:06 Maijin

the user can apply them using .pdd*

Maijin avatar Jun 03 '19 11:06 Maijin

agree

On 3 Jun 2019, at 07:25, Maijin [email protected] wrote:

the user can apply them using .pdd*

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wargio/r2dec-js/issues/142?email_source=notifications&email_token=AAG75FVLWPHRSFKHJWYMEHDPYT5RBA5CNFSM4G3VXWGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWZDKKY#issuecomment-498218283, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG75FT2V5V24YKCGSHTCPLPYT5RBANCNFSM4G3VXWGA.

radare avatar Jun 03 '19 15:06 radare