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

Extract complex types from PDB for availability for 't*' and 'pf' commands #3143

Closed
XVilka opened this issue Aug 23, 2015 · 10 comments · Fixed by #17226
Closed

Extract complex types from PDB for availability for 't*' and 'pf' commands #3143

XVilka opened this issue Aug 23, 2015 · 10 comments · Fixed by #17226
Assignees
Labels
debug-info enhancement PDB PDB and CodeView debug symbols formats from Microsoft pf Print format, `pf` command test-required types Parsing, propagating and inferring simple and complex types
Milestone

Comments

@XVilka
Copy link
Contributor

XVilka commented Aug 23, 2015

When opening PDB file extract all types from it and load into the cparse.

See also https://github.com/wbenny/pdbex

@XVilka XVilka added enhancement Windows Microsoft Windows platform support issues labels Aug 23, 2015
@radare
Copy link
Collaborator

radare commented Aug 23, 2015

Wasnt this already done?

On 23 Aug 2015, at 12:34, Anton Kochkov notifications@github.com wrote:

When opening PDB file extract all types from it and load into the cparse.


Reply to this email directly or view it on GitHub.

@XVilka
Copy link
Contributor Author

XVilka commented Aug 23, 2015

Parsing - yes. Integration - nope.

@radare
Copy link
Collaborator

radare commented Aug 23, 2015

Isnt this listed with rabin2 -rP?

On 23 Aug 2015, at 14:03, Anton Kochkov notifications@github.com wrote:

Parsing - yes. Integration - nope.


Reply to this email directly or view it on GitHub.

radare added a commit that referenced this issue Aug 26, 2015
@Maijin Maijin added pf Print format, `pf` command types Parsing, propagating and inferring simple and complex types labels Mar 19, 2016
@XVilka XVilka added GSoC and removed hackaton labels May 12, 2016
@XVilka XVilka assigned XVilka and unassigned XVilka May 12, 2016
@XVilka
Copy link
Contributor Author

XVilka commented May 12, 2016

@oddcoder check this one too pls.

@XVilka
Copy link
Contributor Author

XVilka commented Feb 27, 2017

Also it should apply demangling too, if enabled.

@XVilka
Copy link
Contributor Author

XVilka commented Feb 27, 2017

Seem broken too.

@XVilka
Copy link
Contributor Author

XVilka commented Feb 28, 2017

One more though about integration - currently parsing pdb should be done with selecting baseaddress properly:

[0x1f00000]> .!rabin2 -B 0x1f00000 -rP some.pdb

Idea is to automate this, taking the baseaddress from the current session. Something like "odf some.pdb" - where new "odf" command should be able to load any kind of debug files: PDB, DWARF or whatever.

@oddcoder
Copy link
Contributor

oddcoder commented Mar 6, 2017

I am not sure if this is any related to me ... like this is new file structure ?

@oddcoder oddcoder removed their assignment Mar 6, 2017
@XVilka
Copy link
Contributor Author

XVilka commented Sep 11, 2017

@xarkes can you please check this one?

@XVilka XVilka assigned sivaramaaa and unassigned xarkes Apr 25, 2018
@XVilka
Copy link
Contributor Author

XVilka commented Apr 25, 2018

@sivaramaaa and this - parsing is done, what is missing - loading and using those types automatically.

@XVilka XVilka modified the milestone: 2.9.0 - pre-r2con Jul 5, 2018
@XVilka XVilka added this to the 2.8.0 milestone Jul 10, 2018
@XVilka XVilka modified the milestones: 2.8.0, 2.9.0 - pre-r2con Aug 3, 2018
@radare radare modified the milestones: 2.9.0, 9999 Aug 31, 2018
@XVilka XVilka added PDB PDB and CodeView debug symbols formats from Microsoft and removed GSoC Windows Microsoft Windows platform support issues labels Oct 19, 2018
@XVilka XVilka added this to To do in Type Analysis Improvements via automation Apr 3, 2019
@HoundThe HoundThe linked a pull request Jul 21, 2020 that will close this issue
4 tasks
Type Analysis Improvements automation moved this from To do to Done Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug-info enhancement PDB PDB and CodeView debug symbols formats from Microsoft pf Print format, `pf` command test-required types Parsing, propagating and inferring simple and complex types
Projects
Development

Successfully merging a pull request may close this issue.

7 participants