volatilityfoundation / volatility3

Volatility 3.0 development
http://volatilityfoundation.org/
Other
2.72k stars 461 forks source link

Volshell: Make the default number of bytes returned by db, dw, dd, dq, rx, and dis use a constant #1350

Closed eve-mem closed 1 week ago

eve-mem commented 1 week ago

Hello :wave:

In this recent PR https://github.com/volatilityfoundation/volatility3/pull/1347 (Volshell: add regex_scan) we saw that all of the display commands all use the number of 128 bytes as the default number to display.

This PR simply makes that a constant so that they can all be kept in sync. Perhaps overkill but I thought it might be a good idea.

No offense taken if you feel this is unnecessary.

Thanks! :fox_face: