radareorg / ideas

4 stars 1 forks source link

Add command to write bits #24

Open radare opened 9 years ago

radare commented 9 years ago

this requires refactoring of current wb and wB commands

radare commented 9 years ago

The refactoring implies the following changes:

Remove the cache subcommand. merge it with top
wc -> w
wc- -> w-
wc+ -> w+
wcr -> w-*
wci -> wi

this way wb can be renamed to wc (cyclic write)

The wb command can be translated to many wB subcommands. but we want something like this:

> wb 110101 3  # write '110101' (6bits) starting at the 3rd bit.
radare commented 9 years ago

Not sure if killing wc subcommand is a good idea. please discuss :)

ret2libc commented 4 years ago

This issue has been moved from radareorg/radare2 to radareorg/ideas as we are trying to clean our backlog and this issue has probably been created a long while ago. This is an effort to help contributors understand what are the actionable items they can work on, prioritize issues better and help users find active/duplicated issues more easily. If this is not an enhancement/improvement/general idea but a bug, feel free to ask for re-transfer to main repo. Thanks for your understanding and contribution with this issue.

trufae commented 4 years ago

There's | wB[-]0xVALUE set or unset bits with given value

trufae commented 4 years ago

But we need to add tests, cleanup the commands and refactor the implementation and simplify the usage.