-
Notifications
You must be signed in to change notification settings - Fork 857
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
pwndbg will not display source code when source code has chinese characters #578
Labels
Comments
Yes it is a bug. Can you show an example of those chars here on GitHub?
…On Mon, Nov 26, 2018, 11:29 AM thinkycx ***@***.*** wrote:
When use directory glibc source in gdb(directory
/root/Pwn/glibc/glibc-2.23/malloc), it will display the source code in
pwndbg like this:
[image: image]
<https://user-images.githubusercontent.com/13138128/49008442-cb280f00-f1a8-11e8-9bd9-7bae523ecbfa.png>
However, *when I add Chinese characters in souce code like this*, pwndbg
will not display it . Is this a bug? Will you fix it?
[image: image]
<https://user-images.githubusercontent.com/13138128/49008565-180be580-f1a9-11e8-8d09-3992ae6c6ceb.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#578>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJi7Cv8tUuM8cIw4ZIwsvmDg4w-ffZtTks5uy8KFgaJpZM4YyvWa>
.
|
OK. You can paste the Chinese code below in any code.
|
disconnect3d
added a commit
to disconnect3d/pwndbg
that referenced
this issue
Nov 27, 2018
It turned out we failed when there were unicode characters in a file.
@thinkycx Please try with latest dev, should be fixed now :) |
It works! Thank you man! Your bug fixing speed is very fast! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When use directory glibc source in gdb(directory /root/Pwn/glibc/glibc-2.23/malloc), it will display the source code in pwndbg like this:
![image](https://user-images.githubusercontent.com/13138128/49008442-cb280f00-f1a8-11e8-9bd9-7bae523ecbfa.png)
However, when I add Chinese characters in souce code like this, pwndbg will not display it . Is this a bug? Will you fix it?
![image](https://user-images.githubusercontent.com/13138128/49008565-180be580-f1a9-11e8-8d09-3992ae6c6ceb.png)
The text was updated successfully, but these errors were encountered: