-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-a prints unprintable chars when abbreviations are applied #292
Comments
Suggestion:
|
Since this is for tracing, I think it's better to print an abbreviation marker. (I've tried hard to get rid of all the fixed-length string buffers!) |
That explains why I had a hard time finding any internal example for a short temp string... The actual text isn't especially important so an abbreviation marker is perfectly fine. |
Fixed in #293 . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In disassembly
(-a
),@print
and@print_ret
prints unprintable characters (ascii 1) when printing a string containing an abbreviation.This is because
translate_text
intext.c
modifies thetext_in
parameter when applying the abbreviation by replacing the text that is being abbreviated with values of 1 instead of the characters.The assembly are printed after the call to
translate_text
and is therefore mangled.One easy fix would be to make a local undamaged copy of the text before the call to
translate_text
inassemblez_instruction
and use it instead when printing tthe assembly.The text was updated successfully, but these errors were encountered: