You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# copypaste this script into your shell and replace it with the output
date
r2 -v
uname -ms
Wed Jan 8 16:32:31 CET 2025
radare2 5.9.8 0 @ linux-x86-64
birth: git.5.9.8 2024-12-25__11:50:37
options: gpl release -O1 cs:5 cl:2 meson
Linux x86_64
Description
hi,
playing with an ELF that tests the validity of a password, I notice that the space character is not correctly displayed/interpreted/returned by r2.
the password is Ar7hUr c. Cl4rk3, with the space character (2 x 0x20).
on the first line of code copied above, the space character is represented by the underscore character _, and on the eighth and eleventh lines, the space character is represented by the at sign @.
it's not strictly speaking a bug, but I haven't found anything about it.
regards, lacsaP.
The text was updated successfully, but these errors were encountered:
the reason for that is because flags cant contain spaces. and spaces are translated to lowerdashes when filtering the name. my assumption here is that the disasm is using the wrong source or filter function to perform that conversion to avoid injecting non-desired characters in the terminal (read it as newlines, tabs, other non-printable chars).. so i guess this is a bug and must be addressed, can you provide a reproducer?. aka the binary and commands to make it happen? thank you
Environment
# copypaste this script into your shell and replace it with the output date r2 -v uname -ms Wed Jan 8 16:32:31 CET 2025 radare2 5.9.8 0 @ linux-x86-64 birth: git.5.9.8 2024-12-25__11:50:37 options: gpl release -O1 cs:5 cl:2 meson Linux x86_64
Description
hi,
playing with an ELF that tests the validity of a password, I notice that the space character is not correctly displayed/interpreted/returned by
r2
.here's what I see :
the password is
Ar7hUr c. Cl4rk3
, with the space character (2 x0x20
).on the first line of code copied above, the space character is represented by the underscore character
_
, and on the eighth and eleventh lines, the space character is represented by the at sign@
.it's not strictly speaking a bug, but I haven't found anything about it.
regards, lacsaP.
The text was updated successfully, but these errors were encountered: