Skip to content
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

Add missing rust type #559

Merged
merged 1 commit into from
Oct 27, 2018
Merged

Add missing rust type #559

merged 1 commit into from
Oct 27, 2018

Conversation

equation314
Copy link
Contributor

#431 added basic rust support, but some types are missing. Debugging the rust program may cause pwndbg to throw the following exception:

Exception occured: Error: No type named int. (<class 'gdb.error'>)
For more info invoke `set exception-verbose on` and rerun the command
or debug it by yourself with `set exception-debugger on`
Python Exception <class 'gdb.error'> No type named int.: 

@disconnect3d
Copy link
Member

disconnect3d commented Oct 27, 2018

Thanks for the PR! It looks good and I assume it works fine :P.

JFYI: The solution we use is not that good in the long term.We should probably handle show language and set types based on that.
Pwndbg fails also with Go binaries in as imilar manner; I played with it once and I had some problems to make it work...

@disconnect3d disconnect3d merged commit cbec07c into pwndbg:dev Oct 27, 2018
@equation314 equation314 deleted the rust_type branch October 27, 2018 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants