diff options
author | Yuichi Ito <ito.yuichi0@gmail.com> | 2014-06-09 13:36:23 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-06-10 21:12:58 +0900 |
commit | ae69bf231ec31706dd83f39fdb511515b7417e04 (patch) | |
tree | 9c515058bf73489ede70b13474077b51a8d47272 /etc | |
parent | 3bfddf9e077ac9b1a8bb9c67904e0b501814859e (diff) |
sw test tool: Improve readability of padding data
str(\"\\x00\" * (60 - 42))
-> str('\\x00' * (60 - 42))
str(\"\\x11\" * (1500 - 54))
-> str('\\x11' * (1500 - 54))
'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00'
-> str('\\x00' * 30)
Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions