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

Load data types/structs from DWARF #741

Closed
XVilka opened this issue Mar 27, 2014 · 9 comments
Closed

Load data types/structs from DWARF #741

XVilka opened this issue Mar 27, 2014 · 9 comments

Comments

@XVilka
Copy link
Member

@XVilka XVilka commented Mar 27, 2014

Load data types (both simple and complex) from DWARF and loading them into the sdb cparse storage for using with analysis engine

@XVilka XVilka added this to the 0.9.8 milestone Mar 27, 2014
@XVilka XVilka self-assigned this Mar 27, 2014
@montekki
Copy link
Contributor

@montekki montekki commented Mar 28, 2014

we can talk this over.

@XVilka XVilka assigned montekki and unassigned XVilka May 10, 2014
@radare
Copy link
Collaborator

@radare radare commented Jul 1, 2014

I think that this would be very helpful, as long as we already have the ability to load types from .h files. it would be helpful to dump an include file from dwarf, which could be later loaded by cparse to be able to display structs and so.

@radare radare modified the milestones: 0.9.9, 0.9.8 Jul 2, 2014
@radare
Copy link
Collaborator

@radare radare commented Jul 2, 2014

Moved to 0.9.9 because this requires some discussion on ctypes for function signatures, but it would be great to have this in mind to get .h files from dwarf

@XVilka
Copy link
Member Author

@XVilka XVilka commented Jul 9, 2014

@jody-frankowski and this

@XVilka XVilka modified the milestones: 1.0.0, 0.9.9 Apr 12, 2015
@radare radare added the hackaton label Nov 20, 2015
@radare radare modified the milestones: 1.1.0, 1.0.0 Nov 2, 2016
@radare radare modified the milestones: 1.2.0, 1.1.0 Dec 12, 2016
@radare
Copy link
Collaborator

@radare radare commented Jan 22, 2017

related to the r2k cc @P4N74

@radare radare modified the milestones: 1.3.0, 1.2.0 Jan 22, 2017
@radare
Copy link
Collaborator

@radare radare commented Jan 22, 2017

@oddcoder oddcoder removed their assignment Jan 22, 2017
@Maijin Maijin removed the zignatures label Mar 8, 2017
@radare radare added this to the 1.4.0 milestone Mar 9, 2017
@radare radare added this to the 2.3.0 milestone Nov 24, 2017
@radare radare modified the milestones: 2.3.0, 2.4.0 Dec 30, 2017
@radare
Copy link
Collaborator

@radare radare commented Dec 30, 2017

any chance for this?

@P4N74
Copy link
Contributor

@P4N74 P4N74 commented Jan 1, 2018

we can use dwarf plugin for this purpose (that would need some more code since currently it extracts only structures and unions. But loading types for function variables would be easy). Only problem with that is the dependency on libdwarf. I don't know how r2 currently reads dwarf information. If r2 has its own code, then we might have to rewrite plugin.

@radare
Copy link
Collaborator

@radare radare commented Jan 1, 2018

@XVilka XVilka added types and removed hackaton labels Feb 18, 2018
@radare radare modified the milestones: 2.4.0, 2.6.0 Feb 23, 2018
@XVilka XVilka modified the milestones: 2.6.0, 2.7.0 May 10, 2018
@radare radare modified the milestones: 2.7.0, 2.8.0 Jun 13, 2018
@XVilka XVilka modified the milestones: 2.8.0, 2.9.0 - pre-r2con Jul 5, 2018
@XVilka XVilka modified the milestones: 2.9.0, 3.0 Aug 31, 2018
@ret2libc ret2libc removed this from the 3.0 milestone Oct 11, 2018
@XVilka XVilka added the DWARF label Oct 19, 2018
@oxcabe oxcabe added this to To do in Type Analysis Improvements via automation May 15, 2019
@oxcabe oxcabe self-assigned this May 15, 2019
@oxcabe oxcabe moved this from To do to In progress in Type Analysis Improvements May 15, 2019
@oxcabe oxcabe added the RSoC label May 15, 2019
yossizap pushed a commit to yossizap/radare2 that referenced this issue Dec 30, 2019
@HoundThe HoundThe linked a pull request that will close this issue Jul 21, 2020
3 of 4 tasks complete
@XVilka XVilka closed this Sep 23, 2020
Type Analysis Improvements automation moved this from In progress to Done Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

10 participants
You can’t perform that action at this time.