rair-project / rair

RAIR: RAdare In Rust
GNU Lesser General Public License v3.0
71 stars 12 forks source link

The command px has no default values #85

Closed oddcoder closed 3 weeks ago

oddcoder commented 4 years ago

In radare2, px shows x opcodes after the command. In rair, px need to have a size specified to work. To look like more radare2 we may want to use the same default value.

By @gogo2464

Moved from rair repor issue https://github.com/Rair-Project/rair/issues/12

oddcoder commented 4 years ago

An idea on how to do that would be implementing an rair-env var like printHex.defaultSize where it will hold the default side of input instead of having hardcoded default.