smali icon indicating copy to clipboard operation
smali copied to clipboard

80 chars for line limit when hex dump, useful improvement

Open Michele1835 opened this issue 4 years ago • 1 comments

It's not a true bug, but more an easy and very useful improvement: often I need to find hex patterns of bytecode, with baksmali du classes.dex> classes_output.txt this is possible and is very easy but if the width of the line> 80 chars it goes to a new line "\n", when I need to search a string this is hard because they are splitted, so I have to search and delete all "\n + 27x space" everytime, it's pretty annoying. Could you change / delete width limit of 80 chars? Thank you very much for your works

Michele1835 avatar Dec 11 '20 14:12 Michele1835

baksmali attempts to detect the width of the console and wrap the output accordingly. I don't know about windows, but on linux, you can change the column width of the console via

stty -F /dev/tty cols 9999

Which should then change the wrapping limit for baksmali dump

JesusFreke avatar Mar 03 '21 19:03 JesusFreke