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

libbfd support for OS X, MinGW, CygWin and Linux/Ubuntu #65

Open
nihilus opened this issue Nov 5, 2015 · 4 comments
Open

libbfd support for OS X, MinGW, CygWin and Linux/Ubuntu #65

nihilus opened this issue Nov 5, 2015 · 4 comments

Comments

@nihilus
Copy link

nihilus commented Nov 5, 2015

I've implemented a parser using libbfd if found by my cmake-script on my fork at https://github.com/nihilus/snowman

We always use snowman's built-in parsers for Mach-O (unless it is a universal binary which the built-in parse doesn't handle.) and PE-files and will fallback on the ELF-parser if libbfd is unable to parse an ELF-file (depending on configuration and such things).

Works pretty good with my ECOFF-files as well as ELF files.
Consider it as a poor man's IDA plugin replacement (although it is better for some file formats).

@nihilus nihilus changed the title libbfd support for OS X and Linux/Ubuntu libbfd support for OS X, MinGW and Linux/Ubuntu Nov 5, 2015
@yegord
Copy link
Owner

yegord commented Nov 6, 2015

If you want it to be merged to master, please format a patch and make a pull request.

@nihilus
Copy link
Author

nihilus commented Nov 6, 2015

I will do when I figured out how to best parse Mach-O 'ar' archives... Seems like they are nested archives. Not too difficult but one should be able to pick which file in an archive to decompile in the GUI.

@nihilus
Copy link
Author

nihilus commented Nov 7, 2015

Before making the pull I will implement support for architecture depended fixup for relocs as described here: ftp://ftp.gnu.org/old-gnu/Manuals/bfd-2.9.1/html_chapter/bfd_2.html#SEC82

@nihilus nihilus changed the title libbfd support for OS X, MinGW and Linux/Ubuntu libbfd support for OS X, MinGW, CygWin and Linux/Ubuntu Nov 7, 2015
@ghost
Copy link

ghost commented Feb 7, 2017

Is this fork still in the process of being merged with the master copy of Snowman? If not, is there anything I can do to help move the process along? I really need Cygwin support from nihilus' branch and the newest patches from yegord's branch to continue my decompilation project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants